# mongod --repair --dbpath /data/db 2018-04-09T17:14:13.547+0000 I CONTROL [initandlisten] MongoDB starting : pid=8 port=27017 dbpath=/data/db 64-bit host=d399cbd922d4 2018-04-09T17:14:13.547+0000 I CONTROL [initandlisten] db version v3.2.19 2018-04-09T17:14:13.547+0000 I CONTROL [initandlisten] git version: a9f574de6a566a58b24d126b44a56718d181e989 2018-04-09T17:14:13.547+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] allocator: tcmalloc 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] modules: none 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] build environment: 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] distmod: debian81 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] distarch: x86_64 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] target_arch: x86_64 2018-04-09T17:14:13.548+0000 I CONTROL [initandlisten] options: { repair: true, storage: { dbPath: "/data/db" } } 2018-04-09T17:14:13.557+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2018-04-09T17:14:13.557+0000 I STORAGE [initandlisten] Detected WT journal files. Running recovery from last checkpoint. 2018-04-09T17:14:13.557+0000 I STORAGE [initandlisten] journal to nojournal transition config: create,cache_size=8G,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress), 2018-04-09T17:14:13.569+0000 E STORAGE [initandlisten] WiredTiger (0) [1523294053:569181][8:0x7fcbec7fdcc0], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 12288: block header checksum of 1843462872 doesn't match expected checksum of 1205067277 2018-04-09T17:14:13.569+0000 E STORAGE [initandlisten] WiredTiger (0) [1523294053:569294][8:0x7fcbec7fdcc0], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value 2018-04-09T17:14:13.569+0000 E STORAGE [initandlisten] WiredTiger (-31804) [1523294053:569349][8:0x7fcbec7fdcc0], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic 2018-04-09T17:14:13.569+0000 I - [initandlisten] Fatal Assertion 28558 2018-04-09T17:14:13.569+0000 I - [initandlisten] ***aborting after fassert() failure 2018-04-09T17:14:13.610+0000 F - [initandlisten] Got signal: 6 (Aborted). 0x1357642 0x1356779 0x1356f82 0x7fcbeb459890 0x7fcbeb0d4067 0x7fcbeb0d5448 0x12d74b2 0x10ca4e3 0x9789eb 0x978be8 0x978dac 0x19ecc5c 0x19ed1c3 0x19e9a59 0x19ee459 0x1a0767c 0x1a40953 0x1ac6a8d 0x1ac6fa9 0x1ac71cb 0x1a4e196 0x1ac398d 0x1a87e4f 0x1a87f4e 0x1a3d0ea 0x10b181c 0x10adb53 0xfd600e 0x9c3b40 0x9796bd 0x7fcbeb0c0b45 0x9bf517 ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"400000","o":"F57642","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"F56779"},{"b":"400000","o":"F56F82"},{"b":"7FCBEB44A000","o":"F890"},{"b":"7FCBEB09F000","o":"35067","s":"gsignal"},{"b":"7FCBEB09F000","o":"36448","s":"abort"},{"b":"400000","o":"ED74B2","s":"_ZN5mongo13fassertFailedEi"},{"b":"400000","o":"CCA4E3"},{"b":"400000","o":"5789EB","s":"__wt_eventv"},{"b":"400000","o":"578BE8","s":"__wt_err"},{"b":"400000","o":"578DAC","s":"__wt_panic"},{"b":"400000","o":"15ECC5C","s":"__wt_block_extlist_read"},{"b":"400000","o":"15ED1C3","s":"__wt_block_extlist_read_avail"},{"b":"400000","o":"15E9A59","s":"__wt_block_checkpoint_load"},{"b":"400000","o":"15EE459"},{"b":"400000","o":"160767C","s":"__wt_btree_open"},{"b":"400000","o":"1640953","s":"__wt_conn_btree_open"},{"b":"400000","o":"16C6A8D","s":"__wt_session_get_btree"},{"b":"400000","o":"16C6FA9","s":"__wt_session_get_btree"},{"b":"400000","o":"16C71CB","s":"__wt_session_get_btree_ckpt"},{"b":"400000","o":"164E196","s":"__wt_curfile_open"},{"b":"400000","o":"16C398D"},{"b":"400000","o":"1687E4F","s":"__wt_metadata_cursor_open"},{"b":"400000","o":"1687F4E","s":"__wt_metadata_cursor"},{"b":"400000","o":"163D0EA","s":"wiredtiger_open"},{"b":"400000","o":"CB181C","s":"_ZN5mongo18WiredTigerKVEngineC2ERKSsS2_S2_mbbb"},{"b":"400000","o":"CADB53"},{"b":"400000","o":"BD600E","s":"_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv"},{"b":"400000","o":"5C3B40"},{"b":"400000","o":"5796BD","s":"main"},{"b":"7FCBEB09F000","o":"21B45","s":"__libc_start_main"},{"b":"400000","o":"5BF517"}],"processInfo":{ "mongodbVersion" : "3.2.19", "gitVersion" : "a9f574de6a566a58b24d126b44a56718d181e989", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "4.4.0-97-generic", "version" : "#120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "EB76513EC468515CD544A7D421C9AB0C2C3EC848" }, { "b" : "7FFFF35DF000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "015BE691E41FD883340407166A01E630241297AD" }, { "b" : "7FCBEC386000", "path" : "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "21115992A1F885E1ACE88AADA60F126AD9759D03" }, { "b" : "7FCBEBF8A000", "path" : "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "FD6376149047833953B0269E84DE181CA45DBE90" }, { "b" : "7FCBEBD82000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "A63C95FB33CCA970E141D2E13774B997C1CF0565" }, { "b" : "7FCBEBB7E000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "D70B531D672A34D71DB42EB32B68E63F2DCC5B6A" }, { "b" : "7FCBEB87D000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "152C93BA3E8590F7ED0BCDDF868600D55EC4DD6F" }, { "b" : "7FCBEB667000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "BAC839560495859598E8515CBAED73C7799AE1FF" }, { "b" : "7FCBEB44A000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "9DA9387A60FFC196AEDB9526275552AFEF499C44" }, { "b" : "7FCBEB09F000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "48C48BC6ABB794461B8A558DD76B29876A0551F0" }, { "b" : "7FCBEC5E7000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "1D98D41FBB1EABA7EC05D0FD7624B85D6F51C03C" } ] }} mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x1357642] mongod(+0xF56779) [0x1356779] mongod(+0xF56F82) [0x1356f82] libpthread.so.0(+0xF890) [0x7fcbeb459890] libc.so.6(gsignal+0x37) [0x7fcbeb0d4067] libc.so.6(abort+0x148) [0x7fcbeb0d5448] mongod(_ZN5mongo13fassertFailedEi+0x82) [0x12d74b2] mongod(+0xCCA4E3) [0x10ca4e3] mongod(__wt_eventv+0x440) [0x9789eb] mongod(__wt_err+0x8D) [0x978be8] mongod(__wt_panic+0x24) [0x978dac] mongod(__wt_block_extlist_read+0x6C) [0x19ecc5c] mongod(__wt_block_extlist_read_avail+0x33) [0x19ed1c3] mongod(__wt_block_checkpoint_load+0x359) [0x19e9a59] mongod(+0x15EE459) [0x19ee459] mongod(__wt_btree_open+0xBDC) [0x1a0767c] mongod(__wt_conn_btree_open+0x153) [0x1a40953] mongod(__wt_session_get_btree+0xDD) [0x1ac6a8d] mongod(__wt_session_get_btree+0x5F9) [0x1ac6fa9] mongod(__wt_session_get_btree_ckpt+0xAB) [0x1ac71cb] mongod(__wt_curfile_open+0x86) [0x1a4e196] mongod(+0x16C398D) [0x1ac398d] mongod(__wt_metadata_cursor_open+0x5F) [0x1a87e4f] mongod(__wt_metadata_cursor+0x7E) [0x1a87f4e] mongod(wiredtiger_open+0x191A) [0x1a3d0ea] mongod(_ZN5mongo18WiredTigerKVEngineC2ERKSsS2_S2_mbbb+0x4BC) [0x10b181c] mongod(+0xCADB53) [0x10adb53] mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x59E) [0xfd600e] mongod(+0x5C3B40) [0x9c3b40] mongod(main+0x15D) [0x9796bd] libc.so.6(__libc_start_main+0xF5) [0x7fcbeb0c0b45] mongod(+0x5BF517) [0x9bf517] ----- END BACKTRACE ----- Aborted (core dumped)