Hello,
A power failure caused the computer I’m running cryosparc on to crash so crysparc stopped running, I restarted it but noticed that the 3 attempts to find the database all failed and that the program wouldn’t run. I then tried repairing it using:
./cryosparc_master/deps_bundle/external/mongodb/bin/mongod --dbpath /home/cryosparc/cryosparc_database --repair
but it doesn’t come back up. This is the backtrace:
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"55A4043DF000","o":"22A5F21","s":"_ZN5mongo15printStackTraceERSo"},{"b":"55A4043DF000","o":"22A5139"},{"b":"55A4043DF000","o":"22A561D"},{"b":"7FE4E38D2000","o":"42520"},{"b":"7FE4E38D2000","o":"96A7C","s":"pthread_kill"},{"b":"7FE4E38D2000","o":"42476","s":"raise"},{"b":"7FE4E38D2000","o":"287F3","s":"abort"},{"b":"55A4043DF000","o":"989DEC","s":"_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj"},{"b":"55A4043DF000","o":"A64D76"},{"b":"55A4043DF000","o":"AD6AD1"},{"b":"55A4043DF000","o":"926A94","s":"__wt_err_func"},{"b":"55A4043DF000","o":"926EB4","s":"__wt_panic"},{"b":"55A4043DF000","o":"B8D3B5","s":"__wt_block_read_off"},{"b":"55A4043DF000","o":"BABD6F","s":"__wt_block_extlist_read"},{"b":"55A4043DF000","o":"BAC2CB","s":"__wt_block_extlist_read_avail"},{"b":"55A4043DF000","o":"BA86B5","s":"__wt_block_checkpoint_load"},{"b":"55A4043DF000","o":"B8CA57"},{"b":"55A4043DF000","o":"AFED5E","s":"__wt_btree_open"},{"b":"55A4043DF000","o":"A783F2","s":"__wt_conn_dhandle_open"},{"b":"55A4043DF000","o":"AD53BD","s":"__wt_session_get_dhandle"},{"b":"55A4043DF000","o":"AD599D","s":"__wt_session_get_dhandle"},{"b":"55A4043DF000","o":"AD5C2C","s":"__wt_session_get_btree_ckpt"},{"b":"55A4043DF000","o":"B47E52","s":"__wt_curfile_open"},{"b":"55A4043DF000","o":"AD0EC8"},{"b":"55A4043DF000","o":"A9797E","s":"__wt_metadata_cursor_open"},{"b":"55A4043DF000","o":"A97A5B","s":"__wt_metadata_cursor"},{"b":"55A4043DF000","o":"A76C8A","s":"wiredtiger_open"},{"b":"55A4043DF000","o":"A43CF6","s":"_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mmbbbb"},{"b":"55A4043DF000","o":"A25AEC"},{"b":"55A4043DF000","o":"C35FB6","s":"_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv"},{"b":"55A4043DF000","o":"A025B8"},{"b":"55A4043DF000","o":"A0563C","s":"_ZN5mongo11mongoDbMainEiPPcS1_"},{"b":"55A4043DF000","o":"98BBC9","s":"main"},{"b":"7FE4E38D2000","o":"29D90"},{"b":"7FE4E38D2000","o":"29E40","s":"__libc_start_main"},{"b":"55A4043DF000","o":"9ED741"}],"processInfo":{ "mongodbVersion" : "3.6.23", "gitVersion" : "d352e6a4764659e0d0350ce77279de3c1f243e5c", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "5.15.0-76-generic", "version" : "#83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023", "machine" : "x86_64" }, "somap" : [ { "b" : "55A4043DF000", "elfType" : 3, "buildId" : "B0818C001F2B63D4533D208F68F08AE2A599CA9E" }, { "b" : "7FFF69300000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "BCBFC809B031BF916E78FB3EB18509D1EAF3BB3D" }, { "b" : "7FE4E3C12000", "path" : "/lib/x86_64-linux-gnu/libresolv.so.2", "elfType" : 3, "buildId" : "7FD7253C61AA6FCE2B7E13851C15AFA14A5AB160" }, { "b" : "7FE4E3C0D000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "1030BE4690F8AA93B63ACD9180B3037D99A974BF" }, { "b" : "7FE4E3C08000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "952123C3BDCE7C3370553717942B4878D1FAD797" }, { "b" : "7FE4E3B21000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "27E82301DBA6C3F644404D504E1BB1C97894B433" }, { "b" : "7FE4E3B01000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "09C4935B79388431A1248F6A98E00D7DC81B8513" }, { "b" : "7FE4E3AFA000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "E62798B68557ABB4BC5548ABA2640CD5AB948F36" }, { "b" : "7FE4E38D2000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "69389D485A9793DBE873F0EA2C93E02EFAA9AA3D" }, { "b" : "7FE4E3C41000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "61EF896A699BB1C2E4E231642B2E1688B2F1A61E" } ] }}
mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x55a406684f21]
mongod(+0x22A5139) [0x55a406684139]
mongod(+0x22A561D) [0x55a40668461d]
libc.so.6(+0x42520) [0x7fe4e3914520]
libc.so.6(pthread_kill+0x12C) [0x7fe4e3968a7c]
libc.so.6(raise+0x16) [0x7fe4e3914476]
libc.so.6(abort+0xD3) [0x7fe4e38fa7f3]
mongod(_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj+0x0) [0x55a404d68dec]
mongod(+0xA64D76) [0x55a404e43d76]
mongod(+0xAD6AD1) [0x55a404eb5ad1]
mongod(__wt_err_func+0x90) [0x55a404d05a94]
mongod(__wt_panic+0x3F) [0x55a404d05eb4]
mongod(__wt_block_read_off+0x585) [0x55a404f6c3b5]
mongod(__wt_block_extlist_read+0x8F) [0x55a404f8ad6f]
mongod(__wt_block_extlist_read_avail+0x2B) [0x55a404f8b2cb]
mongod(__wt_block_checkpoint_load+0x275) [0x55a404f876b5]
mongod(+0xB8CA57) [0x55a404f6ba57]
mongod(__wt_btree_open+0xD7E) [0x55a404eddd5e]
mongod(__wt_conn_dhandle_open+0x352) [0x55a404e573f2]
mongod(__wt_session_get_dhandle+0xED) [0x55a404eb43bd]
mongod(__wt_session_get_dhandle+0x6CD) [0x55a404eb499d]
mongod(__wt_session_get_btree_ckpt+0x14C) [0x55a404eb4c2c]
mongod(__wt_curfile_open+0x52) [0x55a404f26e52]
mongod(+0xAD0EC8) [0x55a404eafec8]
mongod(__wt_metadata_cursor_open+0x6E) [0x55a404e7697e]
mongod(__wt_metadata_cursor+0x4B) [0x55a404e76a5b]
mongod(wiredtiger_open+0x1BBA) [0x55a404e55c8a]
mongod(_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mmbbbb+0x8D6) [0x55a404e22cf6]
mongod(+0xA25AEC) [0x55a404e04aec]
mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x266) [0x55a405014fb6]
mongod(+0xA025B8) [0x55a404de15b8]
mongod(_ZN5mongo11mongoDbMainEiPPcS1_+0x26C) [0x55a404de463c]
mongod(main+0x9) [0x55a404d6abc9]
libc.so.6(+0x29D90) [0x7fe4e38fbd90]
libc.so.6(__libc_start_main+0x80) [0x7fe4e38fbe40]
mongod(+0x9ED741) [0x55a404dcc741]
----- END BACKTRACE -----
Aborted (core dumped)
Is there another way of repairing mongodb with my specific directory?
I’ve tried running mongod using just the database directory but it fails.
I’ve checked that there aren’t any other instances of cryosparc running and I stopped cryosparc before the repair.
Thank you