--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mongod.log gave the following error when I executed "systemctl start mongod.service" command:############################################################################################################################## --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2020-10-15T09:50:10.369+0800 I CONTROL [main] ***** SERVER RESTARTED ***** 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] MongoDB starting : pid=2825 port=27018 dbpath=/data/mongo_27018 64-bit host=localhost.localdomain 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] db version v3.4.24 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] git version: 865b4f6a96d0f5425e39a18337105f33e8db504d 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] allocator: tcmalloc 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] modules: none 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] build environment: 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] distmod: rhel70 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] distarch: x86_64 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] target_arch: x86_64 2020-10-15T09:50:10.373+0800 I CONTROL [initandlisten] options: { config: "/etc/mongod_27018.conf", net: { port: 27018 }, processManagement: { fork: true, pidFilePath: "/var/run/mongodb/mongod_27018.pid" }, security: { authorization: "enabled" }, storage: { dbPath: "/data/mongo_27018", journal: { enabled: true }, wiredTiger: { engineConfig: { cacheSizeGB: 12.0 } } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod_27018.log" } } 2020-10-15T09:50:10.390+0800 I - [initandlisten] Detected data files in /data/mongo_27018 created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2020-10-15T09:50:10.390+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=12288M,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), 2020-10-15T09:50:11.979+0800 E STORAGE [initandlisten] WiredTiger error (0) [1602726611:979779][2825:0x7f4e4c45be80], file:collection-28--4225635139039664472.wt, WT_CURSOR.prev: read checksum error for 8192B block at offset 75042816: block header checksum of 808859441 doesn't match expected checksum of 3565526259 2020-10-15T09:50:11.979+0800 E STORAGE [initandlisten] WiredTiger error (0) [1602726611:979811][2825:0x7f4e4c45be80], file:collection-28--4225635139039664472.wt, WT_CURSOR.prev: collection-28--4225635139039664472.wt: encountered an illegal file format or internal value 2020-10-15T09:50:11.979+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1602726611:979818][2825:0x7f4e4c45be80], file:collection-28--4225635139039664472.wt, WT_CURSOR.prev: the process must exit and restart: WT_PANIC: WiredTiger library panic 2020-10-15T09:50:11.979+0800 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365 2020-10-15T09:50:11.979+0800 I - [initandlisten] ***aborting after fassert() failure 2020-10-15T09:50:11.986+0800 I - [WTJournalFlusher] Fatal Assertion 28559 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 64 2020-10-15T09:50:11.986+0800 I - [WTJournalFlusher] ***aborting after fassert() failure 2020-10-15T09:50:11.996+0800 F - [initandlisten] Got signal: 6 (Aborted). 0x559cbe7dba61 0x559cbe7dac99 0x559cbe7db17d 0x7f4e4b0485d0 0x7f4e4aca2207 0x7f4e4aca38f8 0x559cbda6bdd1 0x559cbe4e35a6 0x559cbda764fe 0x559cbda7671a 0x559cbda7697c 0x559cbf0ef3d5 0x559cbf108e4e 0x559cbf10ff14 0x559cbf128c41 0x559cbf0f80ba 0x559cbf14de53 0x559cbe4d6bee 0x559cbe4d519b 0x559cbe4c265b 0x559cbe4036f3 0x559cbe4084c4 0x559cbe4c01aa 0x559cbe3b24e7 0x559cbda56e6e 0x559cbda77d7b 0x7f4e4ac8e3d5 0x559cbdad874f ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"559CBD219000","o":"15C2A61","s":"_ZN5mongo15printStackTraceERSo"},{"b":"559CBD219000","o":"15C1C99"},{"b":"559CBD219000","o":"15C217D"},{"b":"7F4E4B039000","o":"F5D0"},{"b":"7F4E4AC6C000","o":"36207","s":"gsignal"},{"b":"7F4E4AC6C000","o":"378F8","s":"abort"},{"b":"559CBD219000","o":"852DD1","s":"_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj"},{"b":"559CBD219000","o":"12CA5A6"},{"b":"559CBD219000","o":"85D4FE","s":"__wt_eventv"},{"b":"559CBD219000","o":"85D71A","s":"__wt_err"},{"b":"559CBD219000","o":"85D97C","s":"__wt_panic"},{"b":"559CBD219000","o":"1ED63D5","s":"__wt_bm_read"},{"b":"559CBD219000","o":"1EEFE4E","s":"__wt_bt_read"},{"b":"559CBD219000","o":"1EF6F14","s":"__wt_page_in_func"},{"b":"559CBD219000","o":"1F0FC41"},{"b":"559CBD219000","o":"1EDF0BA","s":"__wt_btcur_prev"},{"b":"559CBD219000","o":"1F34E53"},{"b":"559CBD219000","o":"12BDBEE","s":"_ZN5mongo21WiredTigerRecordStore6Cursor4nextEv"},{"b":"559CBD219000","o":"12BC19B","s":"_ZN5mongo21WiredTigerRecordStoreC1EPNS_16OperationContextENS_10StringDataES3_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbllPNS_14CappedCallbackEPNS_20WiredTigerSizeStorerE"},{"b":"559CBD219000","o":"12A965B","s":"_ZN5mongo18WiredTigerKVEngine14getRecordStoreEPNS_16OperationContextENS_10StringDataES3_RKNS_17CollectionOptionsE"},{"b":"559CBD219000","o":"11EA6F3","s":"_ZN5mongo22KVDatabaseCatalogEntry14initCollectionEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb"},{"b":"559CBD219000","o":"11EF4C4","s":"_ZN5mongo15KVStorageEngineC1EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE"},{"b":"559CBD219000","o":"12A71AA"},{"b":"559CBD219000","o":"11994E7","s":"_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv"},{"b":"559CBD219000","o":"83DE6E"},{"b":"559CBD219000","o":"85ED7B","s":"main"},{"b":"7F4E4AC6C000","o":"223D5","s":"__libc_start_main"},{"b":"559CBD219000","o":"8BF74F"}],"processInfo":{ "mongodbVersion" : "3.4.24", "gitVersion" : "865b4f6a96d0f5425e39a18337105f33e8db504d", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.10.0-957.el7.x86_64", "version" : "#1 SMP Thu Nov 8 23:39:32 UTC 2018", "machine" : "x86_64" }, "somap" : [ { "b" : "559CBD219000", "elfType" : 3, "buildId" : "65C0AAD3BBB742F05AE87A9FDCADE7BF5F94FBE3" }, { "b" : "7FFC026E5000", "elfType" : 3, "buildId" : "163C2DC43405427478788BAD0AFD537A7ACF7A13" }, { "b" : "7F4E4BFDA000", "path" : "/lib64/libssl.so.10", "elfType" : 3, "buildId" : "AEF5E6F2240B55F90E9DF76CFBB8B9D9F5286583" }, { "b" : "7F4E4BB79000", "path" : "/lib64/libcrypto.so.10", "elfType" : 3, "buildId" : "8BD89856B64DD5189BF075EF574EDF203F93D44A" }, { "b" : "7F4E4B971000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "EFDE2029C9A4A20BE5B8D8AE7E6551FF9B5755D2" }, { "b" : "7F4E4B76D000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "67AD3498AC7DE3EAB952A243094DF5C12A21CD7D" }, { "b" : "7F4E4B46B000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "918D3696BF321AA8D32950AB2AB8D0F1B21AC907" }, { "b" : "7F4E4B255000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "6B4F3D896CD0F06FCB3DEF0245F204ECE3220D7E" }, { "b" : "7F4E4B039000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "3D9441083D079DC2977F1BD50C8068D11767232D" }, { "b" : "7F4E4AC6C000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "3C61131D1DAC9DA79B73188E7702BEF786C2AD54" }, { "b" : "7F4E4C24C000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "5DA2D47925497B2F5875A7D8D1799A1227E2FDE4" }, { "b" : "7F4E4AA1F000", "path" : "/lib64/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "B5C83BDE7ED7026835B779FA0F957FCCCD599F40" }, { "b" : "7F4E4A736000", "path" : "/lib64/libkrb5.so.3", "elfType" : 3, "buildId" : "8B63976509135BA73A12153D6FDF7B3B9E5D2A54" }, { "b" : "7F4E4A532000", "path" : "/lib64/libcom_err.so.2", "elfType" : 3, "buildId" : "B4BE1023D9606A88169DF411BF94AF417D7BA1A0" }, { "b" : "7F4E4A317000", "path" : "/lib64/libk5crypto.so.3", "elfType" : 3, "buildId" : "6183129B5F29CA14580E517DF94EF317761FA6C9" }, { "b" : "7F4E4A101000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "B9D5F73428BD6AD68C96986B57BEA3B7CEDB9745" }, { "b" : "7F4E49EF2000", "path" : "/lib64/libkrb5support.so.0", "elfType" : 3, "buildId" : "98F619035053EF68358099CE7CF1AA528B3B229D" }, { "b" : "7F4E49CEE000", "path" : "/lib64/libkeyutils.so.1", "elfType" : 3, "buildId" : "2E01D5AC08C1280D013AAB96B292AC58BC30A263" }, { "b" : "7F4E49AD5000", "path" : "/lib64/libresolv.so.2", "elfType" : 3, "buildId" : "4C488F6E7044BB966162C1F7081ABBA6EBB2B485" }, { "b" : "7F4E498AE000", "path" : "/lib64/libselinux.so.1", "elfType" : 3, "buildId" : "D2DD4DA3FDE1477D25BFFF80F3A25FDB541A8179" }, { "b" : "7F4E4964C000", "path" : "/lib64/libpcre.so.1", "elfType" : 3, "buildId" : "9CA3D11F018BEEB719CDB34BE800BF1641350D0A" } ] }} mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x559cbe7dba61] mongod(+0x15C1C99) [0x559cbe7dac99] mongod(+0x15C217D) [0x559cbe7db17d] libpthread.so.0(+0xF5D0) [0x7f4e4b0485d0] libc.so.6(gsignal+0x37) [0x7f4e4aca2207] libc.so.6(abort+0x148) [0x7f4e4aca38f8] mongod(_ZN5mongo32fassertFailedNoTraceWithLocationEiPKcj+0x0) [0x559cbda6bdd1] mongod(+0x12CA5A6) [0x559cbe4e35a6] mongod(__wt_eventv+0x3D7) [0x559cbda764fe] mongod(__wt_err+0x9D) [0x559cbda7671a] mongod(__wt_panic+0x2E) [0x559cbda7697c] mongod(__wt_bm_read+0x135) [0x559cbf0ef3d5] mongod(__wt_bt_read+0xAE) [0x559cbf108e4e] mongod(__wt_page_in_func+0x1264) [0x559cbf10ff14] mongod(+0x1F0FC41) [0x559cbf128c41] mongod(__wt_btcur_prev+0x42A) [0x559cbf0f80ba] mongod(+0x1F34E53) [0x559cbf14de53] mongod(_ZN5mongo21WiredTigerRecordStore6Cursor4nextEv+0x5E) [0x559cbe4d6bee] mongod(_ZN5mongo21WiredTigerRecordStoreC1EPNS_16OperationContextENS_10StringDataES3_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbllPNS_14CappedCallbackEPNS_20WiredTigerSizeStorerE+0x48B) [0x559cbe4d519b] mongod(_ZN5mongo18WiredTigerKVEngine14getRecordStoreEPNS_16OperationContextENS_10StringDataES3_RKNS_17CollectionOptionsE+0x23B) [0x559cbe4c265b] mongod(_ZN5mongo22KVDatabaseCatalogEntry14initCollectionEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x2C3) [0x559cbe4036f3] mongod(_ZN5mongo15KVStorageEngineC1EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE+0xAB4) [0x559cbe4084c4] mongod(+0x12A71AA) [0x559cbe4c01aa] mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x697) [0x559cbe3b24e7] mongod(+0x83DE6E) [0x559cbda56e6e] mongod(main+0x96B) [0x559cbda77d7b] libc.so.6(__libc_start_main+0xF5) [0x7f4e4ac8e3d5] mongod(+0x8BF74F) [0x559cbdad874f] ----- END BACKTRACE -----