MongDB Community @ 6.0 is not working with macOS 13.3.1 (Ventura)

Hello,

PLEASE PLEASE PLEASE HELP!!!

It’s been 4 days since I’m trying to install and run the mongodb-community@6.0 on my new machine and trying to run my old projects I was working on.

But after trying several methods (even from the official documentation), nothing is working. I’m able to install the communit@6.0 but as soon as I start my app, it disconnects automatically.

I’m using Nodejs@18 and macOS 13.3.1 (Ventura). Please help if anyone could! I have tried to install the older versions as well but they’re also seem to be not working. The same issue with mongodb-community@4.4, mongodb-community@5.0 as well.

I’ll really appreciate it.

Hey @Meghraj_Suthar, what does the mongod.log contain. It should contain all the information you need to troubleshoot why the mongod process isn’t starting on this machine. Once you get that sorted out your node application should work again as expected :slight_smile:

Thanks for reply…I checked but there isn’t much to know what’s going wrong. Here it is:

{“t”:{“$date”:“2023-05-02T13:19:48.411+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:51803, “ctx”:“conn2”,“msg”:“Slow query”,“attr”:{“type”:“command”,“ns”:“grocify.products”,“command”:{“createIndexes”:“products”,“indexes”:[{“name”:“inStock_1”,“key”:{“inStock”:1},“background”:true}],“writeConcern”:{“w”:1},“lsid”:{“id”:{“$uuid”:“0201d79c-7b15-4cb2-8b7f-ead337d3a050”}},“$db”:“grocify”},“numYields”:0,“reslen”:114,“locks”:{“ParallelBatchWriterMode”:{“acquireCount”:{“r”:5}},“FeatureCompatibilityVersion”:{“acquireCount”:{“r”:4,“w”:2}},“ReplicationStateTransition”:{“acquireCount”:{“w”:6}},“Global”:{“acquireCount”:{“r”:4,“w”:2}},“Database”:{“acquireCount”:{“r”:4,“w”:1}},“Collection”:{“acquireCount”:{“r”:4,“W”:1}},“Mutex”:{“acquireCount”:{“r”:5}}},“flowControl”:{“acquireCount”:2,“timeAcquiringMicros”:6},“writeConcern”:{“w”:1,“wtimeout”:0,“provenance”:“clientSupplied”},“storage”:{},“remote”:“[::1]:49232”,“protocol”:“op_msg”,“durationMillis”:248}}
{“t”:{“$date”:“2023-05-02T13:19:48.411+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:22237, “ctx”:“TimestampMonitor”,“msg”:“Completing drop for ident”,“attr”:{“ident”:“index-63-638419270593250689”,“dropTimestamp”:{“$timestamp”:{“t”:0,“i”:0}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.415+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20438, “ctx”:“conn2”,“msg”:“Index build: registering”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“28768239-7ca0-45da-b3e7-1ed82dd1979c”}},“namespace”:“grocify.purchase-invoices”,“collectionUUID”:{“uuid”:{“$uuid”:“3c993a50-fe5d-4298-9914-d3cc62fc8666”}},“indexes”:1,“firstIndex”:{“name”:“supplier.country_1”},“command”:{“createIndexes”:“purchase-invoices”,“v”:2,“indexes”:[{“name”:“supplier.country_1”,“key”:{“supplier.country”:1},“background”:true}],“ignoreUnknownIndexOptions”:false}}}
{“t”:{“$date”:“2023-05-02T13:19:48.432+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:4715500, “ctx”:“conn2”,“msg”:“Too many index builds running simultaneously, waiting until the number of active index builds is below the threshold”,“attr”:{“numActiveIndexBuilds”:3,“maxNumActiveUserIndexBuilds”:3,“indexSpecs”:[{“name”:“supplier.country_1”,“key”:{“supplier.country”:1},“background”:true,“v”:2}],“buildUUID”:{“uuid”:{“$uuid”:“28768239-7ca0-45da-b3e7-1ed82dd1979c”}},“collectionUUID”:{“uuid”:{“$uuid”:“3c993a50-fe5d-4298-9914-d3cc62fc8666”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.455+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“conn3”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“collectionUUID”:{“uuid”:{“$uuid”:“b653e4f1-66da-483e-ad3c-d8e9f4d53a85”}},“namespace”:“grocify.purchase-returns”,“index”:“supplier.city_1”,“ident”:“index-171–7699691461290141377”,“collectionIdent”:“collection-84-260806588614309943”,“commitTimestamp”:null}}
{“t”:{“$date”:“2023-05-02T13:19:48.456+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20440, “ctx”:“conn3”,“msg”:“Index build: waiting for index build to complete”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“1007a6ed-3965-47e7-9f82-3b8fc308f668”}},“deadline”:{“$date”:{“$numberLong”:“9223372036854775807”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.474+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20447, “ctx”:“conn3”,“msg”:“Index build: completed”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“1007a6ed-3965-47e7-9f82-3b8fc308f668”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.474+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:51803, “ctx”:“conn3”,“msg”:“Slow query”,“attr”:{“type”:“command”,“ns”:“grocify.purchase-returns”,“command”:{“createIndexes”:“purchase-returns”,“indexes”:[{“name”:“supplier.city_1”,“key”:{“supplier.city”:1},“background”:true}],“writeConcern”:{“w”:1},“lsid”:{“id”:{“$uuid”:“5a8bad22-0dcf-4f41-a142-cad57a30a5ca”}},“$db”:“grocify”},“numYields”:0,“reslen”:114,“locks”:{“ParallelBatchWriterMode”:{“acquireCount”:{“r”:5}},“FeatureCompatibilityVersion”:{“acquireCount”:{“r”:4,“w”:2}},“ReplicationStateTransition”:{“acquireCount”:{“w”:6}},“Global”:{“acquireCount”:{“r”:4,“w”:2}},“Database”:{“acquireCount”:{“r”:4,“w”:1}},“Collection”:{“acquireCount”:{“r”:4,“W”:1}},“Mutex”:{“acquireCount”:{“r”:5}}},“flowControl”:{“acquireCount”:2,“timeAcquiringMicros”:8},“writeConcern”:{“w”:1,“wtimeout”:0,“provenance”:“clientSupplied”},“storage”:{},“remote”:“[::1]:49233”,“protocol”:“op_msg”,“durationMillis”:269}}
{“t”:{“$date”:“2023-05-02T13:19:48.478+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20438, “ctx”:“conn3”,“msg”:“Index build: registering”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“f0ee55ea-a036-45df-8573-5ddc9f4241d2”}},“namespace”:“grocify.products”,“collectionUUID”:{“uuid”:{“$uuid”:“3d29a7fb-3076-4ddf-ae98-1dc67243a85f”}},“indexes”:1,“firstIndex”:{“name”:“isComingSoon_1”},“command”:{“createIndexes”:“products”,“v”:2,“indexes”:[{“name”:“isComingSoon_1”,“key”:{“isComingSoon”:1},“background”:true}],“ignoreUnknownIndexOptions”:false}}}
{“t”:{“$date”:“2023-05-02T13:19:48.496+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:4715500, “ctx”:“conn3”,“msg”:“Too many index builds running simultaneously, waiting until the number of active index builds is below the threshold”,“attr”:{“numActiveIndexBuilds”:3,“maxNumActiveUserIndexBuilds”:3,“indexSpecs”:[{“name”:“isComingSoon_1”,“key”:{“isComingSoon”:1},“background”:true,“v”:2}],“buildUUID”:{“uuid”:{“$uuid”:“f0ee55ea-a036-45df-8573-5ddc9f4241d2”}},“collectionUUID”:{“uuid”:{“$uuid”:“3d29a7fb-3076-4ddf-ae98-1dc67243a85f”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.497+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“conn1”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“collectionUUID”:{“uuid”:{“$uuid”:“5f1a7cff-b5d7-4847-bf92-f3ef8f1ef771”}},“namespace”:“grocify.subscriptions”,“index”:“outlet_1”,“ident”:“index-172–7699691461290141377”,“collectionIdent”:“collection-54-260806588614309943”,“commitTimestamp”:null}}
{“t”:{“$date”:“2023-05-02T13:19:48.498+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20440, “ctx”:“conn1”,“msg”:“Index build: waiting for index build to complete”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“0b07f312-46cf-4e87-90a9-3c34b4678a5c”}},“deadline”:{“$date”:{“$numberLong”:“9223372036854775807”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.517+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20447, “ctx”:“conn1”,“msg”:“Index build: completed”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“0b07f312-46cf-4e87-90a9-3c34b4678a5c”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.517+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:51803, “ctx”:“conn1”,“msg”:“Slow query”,“attr”:{“type”:“command”,“ns”:“grocify.subscriptions”,“command”:{“createIndexes”:“subscriptions”,“indexes”:[{“name”:“outlet_1”,“key”:{“outlet”:1},“background”:true}],“writeConcern”:{“w”:1},“lsid”:{“id”:{“$uuid”:“e4782b10-699f-4adf-82e6-a624db46e36f”}},“$db”:“grocify”},“numYields”:0,“reslen”:114,“locks”:{“ParallelBatchWriterMode”:{“acquireCount”:{“r”:5}},“FeatureCompatibilityVersion”:{“acquireCount”:{“r”:4,“w”:2}},“ReplicationStateTransition”:{“acquireCount”:{“w”:6}},“Global”:{“acquireCount”:{“r”:4,“w”:2}},“Database”:{“acquireCount”:{“r”:4,“w”:1}},“Collection”:{“acquireCount”:{“r”:4,“W”:1}},“Mutex”:{“acquireCount”:{“r”:5}}},“flowControl”:{“acquireCount”:2,“timeAcquiringMicros”:6},“writeConcern”:{“w”:1,“wtimeout”:0,“provenance”:“clientSupplied”},“storage”:{},“remote”:“[::1]:49231”,“protocol”:“op_msg”,“durationMillis”:251}}
{“t”:{“$date”:“2023-05-02T13:19:48.522+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20438, “ctx”:“conn1”,“msg”:“Index build: registering”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“bca587d7-b942-4344-a8c1-b0b3ed4a422f”}},“namespace”:“grocify.subscriptions”,“collectionUUID”:{“uuid”:{“$uuid”:“5f1a7cff-b5d7-4847-bf92-f3ef8f1ef771”}},“indexes”:1,“firstIndex”:{“name”:“slot_1”},“command”:{“createIndexes”:“subscriptions”,“v”:2,“indexes”:[{“name”:“slot_1”,“key”:{“slot”:1},“background”:true}],“ignoreUnknownIndexOptions”:false}}}
{“t”:{“$date”:“2023-05-02T13:19:48.538+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:4715500, “ctx”:“conn1”,“msg”:“Too many index builds running simultaneously, waiting until the number of active index builds is below the threshold”,“attr”:{“numActiveIndexBuilds”:3,“maxNumActiveUserIndexBuilds”:3,“indexSpecs”:[{“name”:“slot_1”,“key”:{“slot”:1},“background”:true,“v”:2}],“buildUUID”:{“uuid”:{“$uuid”:“bca587d7-b942-4344-a8c1-b0b3ed4a422f”}},“collectionUUID”:{“uuid”:{“$uuid”:“5f1a7cff-b5d7-4847-bf92-f3ef8f1ef771”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.540+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“conn4”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“collectionUUID”:{“uuid”:{“$uuid”:“8726a9ab-4c25-4927-a7d7-9f0a0342fa7a”}},“namespace”:“grocify.users”,“index”:“createdAt_-1”,“ident”:“index-173–7699691461290141377”,“collectionIdent”:“collection-7-260806588614309943”,“commitTimestamp”:null}}
{“t”:{“$date”:“2023-05-02T13:19:48.540+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20440, “ctx”:“conn4”,“msg”:“Index build: waiting for index build to complete”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“af46421f-b327-4b0f-b659-c2e1d1842e68”}},“deadline”:{“$date”:{“$numberLong”:“9223372036854775807”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.559+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20447, “ctx”:“conn4”,“msg”:“Index build: completed”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“af46421f-b327-4b0f-b659-c2e1d1842e68”}}}}
{“t”:{“$date”:“2023-05-02T13:19:48.559+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:51803, “ctx”:“conn4”,“msg”:“Slow query”,“attr”:{“type”:“command”,“ns”:“grocify.users”,“command”:{“createIndexes”:“users”,“indexes”:[{“name”:“createdAt_-1”,“key”:{“createdAt”:-1},“background”:true}],“writeConcern”:{“w”:1},“lsid”:{“id”:{“$uuid”:“f2d416c4-264d-4048-815a-a003a982c8c5”}},“$db”:“grocify”},“numYields”:0,“reslen”:114,“locks”:{“ParallelBatchWriterMode”:{“acquireCount”:{“r”:5}},“FeatureCompatibilityVersion”:{“acquireCount”:{“r”:4,“w”:2}},“ReplicationStateTransition”:{“acquireCount”:{“w”:6}},“Global”:{“acquireCount”:{“r”:4,“w”:2}},“Database”:{“acquireCount”:{“r”:4,“w”:1}},“Collection”:{“acquireCount”:{“r”:4,“W”:1}},“Mutex”:{“acquireCount”:{“r”:5}}},“flowControl”:{“acquireCount”:2,“timeAcquiringMicros”:7},“writeConcern”:{“w”:1,“wtimeout”:0,“provenance”:“clientSupplied”},“storage”:{},“remote”:“[::1]:49234”,“protocol”:“op_msg”,“durationMillis”:228}}
{“t”:{“$date”:“2023-05-02T13:19:48.560+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:22237, “ctx”:“TimestampMonitor”,“msg”:“Completing drop for ident”,“attr”:{“ident”:“index-49-638419270593250689”,“dropTimestamp”:{“$timestamp”:{“t”:0,“i”:0}}}}
{“t”:{“$date”:“2023-05-02T13:19:49.077+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“terminate() called. An exception is active; attempting to gather more information\n”}}
{“t”:{“$date”:“2023-05-02T13:19:49.078+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“DBException::toString(): FileNotOpen: Failed to open interim file /usr/local/var/mongodb/diagnostic.data/metrics.interim.temp\nActual exception type: mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)38, mongo::AssertionException>\n\n”}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31380, “ctx”:“ftdc”,“msg”:“BACKTRACE”,“attr”:{“bt”:{“backtrace”:[{“a”:“10E5AFC25”,“b”:“10B4FA000”,“o”:“30B5C25”,“s”:“_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE”,“C”:“mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)”,“s+”:“D5”},{“a”:“10E5B0DE8”,“b”:“10B4FA000”,“o”:“30B6DE8”,“s”:“_ZN5mongo15printStackTraceEv”,“C”:“mongo::printStackTrace()”,“s+”:“28”},{“a”:“10E5AC6C0”,“b”:“10B4FA000”,“o”:“30B26C0”,“s”:“_ZN5mongo12_GLOBAL__N_111myTerminateEv”,“C”:“mongo::(anonymous namespace)::myTerminate()”,“s+”:“F0”},{“a”:“7FF818C2D6DB”,“b”:“7FF818C1F000”,“o”:“E6DB”,“s”:“_ZSt11__terminatePFvvE”,“C”:“std::__terminate(void ()())“,“s+”:“6”},{“a”:“7FF818C2D696”,“b”:“7FF818C1F000”,“o”:“E696”,“s”:”_ZSt9terminatev",“C”:“std::terminate()”,“s+”:“36”},{“a”:“10B7FE3AA”,“b”:“10B4FA000”,“o”:“3043AA”,“s”:“_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ”,“C”:"void std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::‘lambda’()>>(void*)”,“s+”:“3A”},{“a”:“7FF818C741D3”,“b”:“7FF818C6E000”,“o”:“61D3”,“s”:“_pthread_start”,“s+”:“7D”},{“a”:“7FF818C6FBD3”,“b”:“7FF818C6E000”,“o”:“1BD3”,“s”:“thread_start”,“s+”:“F”}],“processInfo”:{“mongodbVersion”:“6.0.5”,“gitVersion”:“c9a99c120371d4d4c52cbb15dac34a36ce8d3b1d”,“compiledModules”:,“uname”:{“sysname”:“Darwin”,“release”:“22.4.0”,“version”:“Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64”,“machine”:“x86_64”},“somap”:[{“path”:“/usr/local/Cellar/mongodb-community/6.0.5/bin/mongod”,“machType”:2,“b”:“10B4FA000”,“vmaddr”:“100000000”,“buildId”:“94A4BEFC5CC931EB890C4148A64D85E8”},{“path”:“/usr/lib/libc++abi.dylib”,“machType”:6,“b”:“7FF818C1F000”,“vmaddr”:“7FF8003A3000”,“buildId”:“4053AFDD601E3205A89A82B38A77514A”},{“path”:“/usr/lib/system/libsystem_pthread.dylib”,“machType”:6,“b”:“7FF818C6E000”,“vmaddr”:“7FF8003F2000”,“buildId”:“86DFA54395FA36B483C6BF03D01B2AAD”}]}}},“tags”:}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10E5AFC25”,“b”:“10B4FA000”,“o”:“30B5C25”,“s”:“_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE”,“C”:“mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)”,“s+”:“D5”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10E5B0DE8”,“b”:“10B4FA000”,“o”:“30B6DE8”,“s”:“_ZN5mongo15printStackTraceEv”,“C”:“mongo::printStackTrace()”,“s+”:“28”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10E5AC6C0”,“b”:“10B4FA000”,“o”:“30B26C0”,“s”:“_ZN5mongo12_GLOBAL__N_111myTerminateEv”,“C”:“mongo::(anonymous namespace)::myTerminate()”,“s+”:“F0”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF818C2D6DB”,“b”:“7FF818C1F000”,“o”:“E6DB”,“s”:“_ZSt11__terminatePFvvE”,“C”:“std::__terminate(void ()())“,“s+”:“6”}}}
{“t”:{”$date":“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF818C2D696”,“b”:“7FF818C1F000”,“o”:“E696”,“s”:“_ZSt9terminatev”,“C”:“std::terminate()”,“s+”:“36”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10B7FE3AA”,“b”:“10B4FA000”,“o”:“3043AA”,“s”:“_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ”,“C”:"void
std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::‘lambda’()>>(void*)”,“s+”:“3A”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF818C741D3”,“b”:“7FF818C6E000”,“o”:“61D3”,“s”:“_pthread_start”,“s+”:“7D”}}}
{“t”:{“$date”:“2023-05-02T13:19:49.098+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF818C6FBD3”,“b”:“7FF818C6E000”,“o”:“1BD3”,“s”:“thread_start”,“s+”:“F”}}}

@Meghraj_Suthar the issue appears to be due to a temporary file not being open during startup.

{“t”:{“$date”:“2023-05-02T13:19:49.077+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“terminate() called. An exception is active; attempting to gather more information\n”}}
{“t”:{“$date”:“2023-05-02T13:19:49.078+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“DBException::toString(): FileNotOpen: Failed to open interim file /usr/local/var/mongodb/diagnostic.data/metrics.interim.temp\nActual exception type: mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)38, mongo::AssertionException>\n\n”}}

This is odd, but you can flush that path out completely as it only contains diagnostic data for MongoDB Support to use when troubleshooting a node (see this blog post for more info).

Try the following to see if it addresses the issue:

# double check this command before running it so you
# don't accidentally delete all your data ;)
rm -rf /usr/local/var/mongodb/diagnostic.data
brew services restart mongodb-commity@6.0

This will remove the diagnostic.data entirely and allow the mongod process to recreate it. This should hopefully address the issue if the only issue that was affecting you was this file not being accessible.

Thanks @alexbevi! But still the issue is same…not resolved.

{"t":{"$date":"2023-05-03T13:08:39.048+05:30"},"s":"I",  "c":"INDEX",    "id":20438,   "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"5b6da264-368f-4ab5-90c4-beda2202aa23"}},"namespace":"grocify.orders","collectionUUID":{"uuid":{"$uuid":"2de2bfd8-5f95-47b4-b40a-ee39c2c57078"}},"indexes":1,"firstIndex":{"name":"community_1"},"command":{"createIndexes":"orders","v":2,"indexes":[{"name":"community_1","key":{"community":1},"background":true}],"ignoreUnknownIndexOptions":false}}}
{"t":{"$date":"2023-05-03T13:08:39.065+05:30"},"s":"I",  "c":"STORAGE",  "id":4715500, "ctx":"conn3","msg":"Too many index builds running simultaneously, waiting until the number of active index builds is below the threshold","attr":{"numActiveIndexBuilds":3,"maxNumActiveUserIndexBuilds":3,"indexSpecs":[{"name":"community_1","key":{"community":1},"background":true,"v":2}],"buildUUID":{"uuid":{"$uuid":"5b6da264-368f-4ab5-90c4-beda2202aa23"}},"collectionUUID":{"uuid":{"$uuid":"2de2bfd8-5f95-47b4-b40a-ee39c2c57078"}}}}
{"t":{"$date":"2023-05-03T13:08:39.074+05:30"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information\n"}}
{"t":{"$date":"2023-05-03T13:08:39.086+05:30"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileNotOpen: Failed to open interim file /usr/local/var/mongodb/diagnostic.data/metrics.interim.temp\nActual exception type: mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)38, mongo::AssertionException>\n\n"}}
{"t":{"$date":"2023-05-03T13:08:39.087+05:30"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"b653e4f1-66da-483e-ad3c-d8e9f4d53a85"}},"namespace":"grocify.purchase-returns","index":"supplier._id_1","ident":"index-170--5176069391161173466","collectionIdent":"collection-84-260806588614309943","commitTimestamp":null}}
{"t":{"$date":"2023-05-03T13:08:39.088+05:30"},"s":"I",  "c":"INDEX",    "id":20440,   "ctx":"conn4","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"67cdf602-3b18-430b-9589-2f16ff06fce3"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}}
{"t":{"$date":"2023-05-03T13:08:39.096+05:30"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"10AA2FC25","b":"10797A000","o":"30B5C25","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","C":"mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)","s+":"D5"},{"a":"10AA30DE8","b":"10797A000","o":"30B6DE8","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"28"},{"a":"10AA2C6C0","b":"10797A000","o":"30B26C0","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"F0"},{"a":"7FF817BCD6DB","b":"7FF817BBF000","o":"E6DB","s":"_ZSt11__terminatePFvvE","C":"std::__terminate(void (*)())","s+":"6"},{"a":"7FF817BCD696","b":"7FF817BBF000","o":"E696","s":"_ZSt9terminatev","C":"std::terminate()","s+":"36"},{"a":"107C7E3AA","b":"10797A000","o":"3043AA","s":"_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$_0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ_","C":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::'lambda'()>>(void*)","s+":"3A"},{"a":"7FF817C141D3","b":"7FF817C0E000","o":"61D3","s":"_pthread_start","s+":"7D"},{"a":"7FF817C0FBD3","b":"7FF817C0E000","o":"1BD3","s":"thread_start","s+":"F"}],"processInfo":{"mongodbVersion":"6.0.5","gitVersion":"c9a99c120371d4d4c52cbb15dac34a36ce8d3b1d","compiledModules":[],"uname":{"sysname":"Darwin","release":"22.4.0","version":"Darwin Kernel Version 22.4.0: Mon Mar  6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64","machine":"x86_64"},"somap":[{"path":"/usr/local/Cellar/mongodb-community/6.0.5/bin/mongod","machType":2,"b":"10797A000","vmaddr":"100000000","buildId":"94A4BEFC5CC931EB890C4148A64D85E8"},{"path":"/usr/lib/libc++abi.dylib","machType":6,"b":"7FF817BBF000","vmaddr":"7FF8003A3000","buildId":"4053AFDD601E3205A89A82B38A77514A"},{"path":"/usr/lib/system/libsystem_pthread.dylib","machType":6,"b":"7FF817C0E000","vmaddr":"7FF8003F2000","buildId":"86DFA54395FA36B483C6BF03D01B2AAD"}]}}},"tags":[]}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"INDEX",    "id":20447,   "ctx":"conn4","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"67cdf602-3b18-430b-9589-2f16ff06fce3"}}}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"10AA2FC25","b":"10797A000","o":"30B5C25","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","C":"mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)","s+":"D5"}}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"10AA30DE8","b":"10797A000","o":"30B6DE8","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"28"}}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"10AA2C6C0","b":"10797A000","o":"30B26C0","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"F0"}}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn4","msg":"Slow query","attr":{"type":"command","ns":"grocify.purchase-returns","command":{"createIndexes":"purchase-returns","indexes":[{"name":"supplier._id_1","key":{"supplier._id":1},"background":true}],"writeConcern":{"w":1},"lsid":{"id":{"$uuid":"bfa4c556-4614-4283-a309-8e95fd10720f"}},"$db":"grocify"},"numYields":0,"reslen":114,"locks":{"ParallelBatchWriterMode":{"acquireCount":{"r":5}},"FeatureCompatibilityVersion":{"acquireCount":{"r":4,"w":2}},"ReplicationStateTransition":{"acquireCount":{"w":6}},"Global":{"acquireCount":{"r":4,"w":2}},"Database":{"acquireCount":{"r":4,"w":1}},"Collection":{"acquireCount":{"r":4,"W":1}},"Mutex":{"acquireCount":{"r":5}}},"flowControl":{"acquireCount":2,"timeAcquiringMicros":6},"writeConcern":{"w":1,"wtimeout":0,"provenance":"clientSupplied"},"storage":{},"remote":"[::1]:52581","protocol":"op_msg","durationMillis":255}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF817BCD6DB","b":"7FF817BBF000","o":"E6DB","s":"_ZSt11__terminatePFvvE","C":"std::__terminate(void (*)())","s+":"6"}}}
{"t":{"$date":"2023-05-03T13:08:39.107+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF817BCD696","b":"7FF817BBF000","o":"E696","s":"_ZSt9terminatev","C":"std::terminate()","s+":"36"}}}
{"t":{"$date":"2023-05-03T13:08:39.108+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"107C7E3AA","b":"10797A000","o":"3043AA","s":"_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$_0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ_","C":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::'lambda'()>>(void*)","s+":"3A"}}}
{"t":{"$date":"2023-05-03T13:08:39.108+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF817C141D3","b":"7FF817C0E000","o":"61D3","s":"_pthread_start","s+":"7D"}}}
{"t":{"$date":"2023-05-03T13:08:39.108+05:30"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF817C0FBD3","b":"7FF817C0E000","o":"1BD3","s":"thread_start","s+":"F"}}}

{“t”:{“$date”:“2023-05-03T13:08:39.048+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20438, “ctx”:“conn3”,“msg”:“Index build: registering”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“5b6da264-368f-4ab5-90c4-beda2202aa23”}},“namespace”:“grocify.orders”,“collectionUUID”:{“uuid”:{“$uuid”:“2de2bfd8-5f95-47b4-b40a-ee39c2c57078”}},“indexes”:1,“firstIndex”:{“name”:“community_1”},“command”:{“createIndexes”:“orders”,“v”:2,“indexes”:[{“name”:“community_1”,“key”:{“community”:1},“background”:true}],“ignoreUnknownIndexOptions”:false}}}
{“t”:{“$date”:“2023-05-03T13:08:39.065+05:30”},“s”:“I”, “c”:“STORAGE”, “id”:4715500, “ctx”:“conn3”,“msg”:“Too many index builds running simultaneously, waiting until the number of active index builds is below the threshold”,“attr”:{“numActiveIndexBuilds”:3,“maxNumActiveUserIndexBuilds”:3,“indexSpecs”:[{“name”:“community_1”,“key”:{“community”:1},“background”:true,“v”:2}],“buildUUID”:{“uuid”:{“$uuid”:“5b6da264-368f-4ab5-90c4-beda2202aa23”}},“collectionUUID”:{“uuid”:{“$uuid”:“2de2bfd8-5f95-47b4-b40a-ee39c2c57078”}}}}
{“t”:{“$date”:“2023-05-03T13:08:39.074+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“terminate() called. An exception is active; attempting to gather more information\n”}}
{“t”:{“$date”:“2023-05-03T13:08:39.086+05:30”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“DBException::toString(): FileNotOpen: Failed to open interim file /usr/local/var/mongodb/diagnostic.data/metrics.interim.temp\nActual exception type: mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)38, mongo::AssertionException>\n\n”}}
{“t”:{“$date”:“2023-05-03T13:08:39.087+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“conn4”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“collectionUUID”:{“uuid”:{“$uuid”:“b653e4f1-66da-483e-ad3c-d8e9f4d53a85”}},“namespace”:“grocify.purchase-returns”,“index”:“supplier._id_1”,“ident”:“index-170–5176069391161173466”,“collectionIdent”:“collection-84-260806588614309943”,“commitTimestamp”:null}}
{“t”:{“$date”:“2023-05-03T13:08:39.088+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20440, “ctx”:“conn4”,“msg”:“Index build: waiting for index build to complete”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“67cdf602-3b18-430b-9589-2f16ff06fce3”}},“deadline”:{“$date”:{“$numberLong”:“9223372036854775807”}}}}
{“t”:{“$date”:“2023-05-03T13:08:39.096+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31380, “ctx”:“ftdc”,“msg”:“BACKTRACE”,“attr”:{“bt”:{“backtrace”:[{“a”:“10AA2FC25”,“b”:“10797A000”,“o”:“30B5C25”,“s”:“_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE”,“C”:“mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)”,“s+”:“D5”},{“a”:“10AA30DE8”,“b”:“10797A000”,“o”:“30B6DE8”,“s”:“_ZN5mongo15printStackTraceEv”,“C”:“mongo::printStackTrace()”,“s+”:“28”},{“a”:“10AA2C6C0”,“b”:“10797A000”,“o”:“30B26C0”,“s”:“_ZN5mongo12_GLOBAL__N_111myTerminateEv”,“C”:“mongo::(anonymous namespace)::myTerminate()”,“s+”:“F0”},{“a”:“7FF817BCD6DB”,“b”:“7FF817BBF000”,“o”:“E6DB”,“s”:“_ZSt11__terminatePFvvE”,“C”:“std::__terminate(void ()())“,“s+”:“6”},{“a”:“7FF817BCD696”,“b”:“7FF817BBF000”,“o”:“E696”,“s”:”_ZSt9terminatev",“C”:“std::terminate()”,“s+”:“36”},{“a”:“107C7E3AA”,“b”:“10797A000”,“o”:“3043AA”,“s”:“_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ”,“C”:"void std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::‘lambda’()>>(void*)”,“s+”:“3A”},{“a”:“7FF817C141D3”,“b”:“7FF817C0E000”,“o”:“61D3”,“s”:“_pthread_start”,“s+”:“7D”},{“a”:“7FF817C0FBD3”,“b”:“7FF817C0E000”,“o”:“1BD3”,“s”:“thread_start”,“s+”:“F”}],“processInfo”:{“mongodbVersion”:“6.0.5”,“gitVersion”:“c9a99c120371d4d4c52cbb15dac34a36ce8d3b1d”,“compiledModules”:,“uname”:{“sysname”:“Darwin”,“release”:“22.4.0”,“version”:“Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64”,“machine”:“x86_64”},“somap”:[{“path”:“/usr/local/Cellar/mongodb-community/6.0.5/bin/mongod”,“machType”:2,“b”:“10797A000”,“vmaddr”:“100000000”,“buildId”:“94A4BEFC5CC931EB890C4148A64D85E8”},{“path”:“/usr/lib/libc++abi.dylib”,“machType”:6,“b”:“7FF817BBF000”,“vmaddr”:“7FF8003A3000”,“buildId”:“4053AFDD601E3205A89A82B38A77514A”},{“path”:“/usr/lib/system/libsystem_pthread.dylib”,“machType”:6,“b”:“7FF817C0E000”,“vmaddr”:“7FF8003F2000”,“buildId”:“86DFA54395FA36B483C6BF03D01B2AAD”}]}}},“tags”:}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“INDEX”, “id”:20447, “ctx”:“conn4”,“msg”:“Index build: completed”,“attr”:{“buildUUID”:{“uuid”:{“$uuid”:“67cdf602-3b18-430b-9589-2f16ff06fce3”}}}}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10AA2FC25”,“b”:“10797A000”,“o”:“30B5C25”,“s”:“_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE”,“C”:“mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)”,“s+”:“D5”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10AA30DE8”,“b”:“10797A000”,“o”:“30B6DE8”,“s”:“_ZN5mongo15printStackTraceEv”,“C”:“mongo::printStackTrace()”,“s+”:“28”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“10AA2C6C0”,“b”:“10797A000”,“o”:“30B26C0”,“s”:“_ZN5mongo12_GLOBAL__N_111myTerminateEv”,“C”:“mongo::(anonymous namespace)::myTerminate()”,“s+”:“F0”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:51803, “ctx”:“conn4”,“msg”:“Slow query”,“attr”:{“type”:“command”,“ns”:“grocify.purchase-returns”,“command”:{“createIndexes”:“purchase-returns”,“indexes”:[{“name”:“supplier._id_1”,“key”:{“supplier._id”:1},“background”:true}],“writeConcern”:{“w”:1},“lsid”:{“id”:{“$uuid”:“bfa4c556-4614-4283-a309-8e95fd10720f”}},“$db”:“grocify”},“numYields”:0,“reslen”:114,“locks”:{“ParallelBatchWriterMode”:{“acquireCount”:{“r”:5}},“FeatureCompatibilityVersion”:{“acquireCount”:{“r”:4,“w”:2}},“ReplicationStateTransition”:{“acquireCount”:{“w”:6}},“Global”:{“acquireCount”:{“r”:4,“w”:2}},“Database”:{“acquireCount”:{“r”:4,“w”:1}},“Collection”:{“acquireCount”:{“r”:4,“W”:1}},“Mutex”:{“acquireCount”:{“r”:5}}},“flowControl”:{“acquireCount”:2,“timeAcquiringMicros”:6},“writeConcern”:{“w”:1,“wtimeout”:0,“provenance”:“clientSupplied”},“storage”:{},“remote”:“[::1]:52581”,“protocol”:“op_msg”,“durationMillis”:255}}
{“t”:{“$date”:“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF817BCD6DB”,“b”:“7FF817BBF000”,“o”:“E6DB”,“s”:“_ZSt11__terminatePFvvE”,“C”:“std::__terminate(void ()())“,“s+”:“6”}}}
{“t”:{”$date":“2023-05-03T13:08:39.107+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF817BCD696”,“b”:“7FF817BBF000”,“o”:“E696”,“s”:“_ZSt9terminatev”,“C”:“std::terminate()”,“s+”:“36”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.108+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“107C7E3AA”,“b”:“10797A000”,“o”:“3043AA”,“s”:“_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5mongo4stdx6threadC1IZNS7_14FTDCController5startEvE3$0JELi0EEET_DpOT0_EUlvE_EEEEEPvSJ”,“C”:"void
std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, mongo::stdx::thread::thread<mongo::FTDCController::start()::$_0, 0>(mongo::FTDCController::start()::$_0)::‘lambda’()>>(void*)”,“s+”:“3A”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.108+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF817C141D3”,“b”:“7FF817C0E000”,“o”:“61D3”,“s”:“_pthread_start”,“s+”:“7D”}}}
{“t”:{“$date”:“2023-05-03T13:08:39.108+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:31445, “ctx”:“ftdc”,“msg”:“Frame”,“attr”:{“frame”:{“a”:“7FF817C0FBD3”,“b”:“7FF817C0E000”,“o”:“1BD3”,“s”:“thread_start”,“s+”:“F”}}}

@Meghraj_Suthar this smells like it might just be a permissions error. Can you ensure the /user/local/var/mongodb path has read/write/execute recursively and is owned by the same user that owns the process.

For example, if the user is maggie try something like:

chmod 777 -R /usr/local/var/mongodb
chown -R maggie /usr/local/var/mongodb

Still the same problem (attached screenshot of steps I’ve tried you mentioned above)

Here’s the screenshot of the directory permission:

Please help so we can start our development work.

@Meghraj_Suthar if this issue is holding up development you can setup a free cluster in MongoDB Atlas as well.

Unfortunately I’m not familiar with managing a node in OSX that was installed via homebrew, however you could try just running the mongod process manually to see if it starts successfully.

mkdir data
mongod --dbpath data

This will just start a mongod on port 27017 without authentication and write to the data directory you just created.

I tried with this too…but still doesn’t work.

The reason I’m setting up is because of development. I cannot check on mongodb cloud for local development changes. It becomes very time consuming. That’s why setting up on local machine makes sense.

Could you please check with your team who’s experienced in this macOS?