my mongo DB crashed suddenly and I have no idea how, when I tried to restart it, the error appears:
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] db version v3.6.0
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] git version: a57d8e71e6998a2d0afde7edc11bd23e5661c915
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] allocator: tcmalloc
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] modules: none
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] build environment:
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] distmod: rhel70
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] distarch: x86_64
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] target_arch: x86_64
2018-08-06T22:28:32.699-0700 I CONTROL [initandlisten] options: { net:
, storage: { dbPath: "./db" } }
2018-08-06T22:28:32.721-0700 W - [initandlisten] Detected unclean shutdown - ./db/mongod.lock is not empty.
2018-08-06T22:28:32.722-0700 I - [initandlisten] Detected data files in ./db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-08-06T22:28:32.722-0700 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2018-08-06T22:28:32.722-0700 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=128318M,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),statistics_log=(wait=0),verbose=(recovery_progress),
2018-08-06T22:28:32.736-0700 E STORAGE [initandlisten] WiredTiger error (0) [1533619712:736794][22136:0x7f6707bd5b00], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value: (__wt_turtle_read, 291)
2018-08-06T22:28:32.736-0700 E STORAGE [initandlisten] WiredTiger error (-31804) [1533619712:736824][22136:0x7f6707bd5b00], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-08-06T22:28:32.736-0700 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
2018-08-06T22:28:32.736-0700 F - [initandlisten]
***aborting after fassert() failure
the attached is the WiredTiger related files, I tried to repair them with:
mongod --storageEngine wiredTiger --dbpath ./db --repair --port 27018
but it did not work, could you please help to take a look?
Thanks!