Hello,
Due to /var space filling up, my mongodb failed to restart. Errors are seen as below:
2018-02-05T16:26:38.000-0600 I - [initandlisten] Detected data files in /var/lib/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2018-02-05T16:26:38.000-0600 I STORAGE [initandlisten] Detected WT journal files. Running recovery from last checkpoint. 2018-02-05T16:26:38.000-0600 I STORAGE [initandlisten] journal to nojournal transition config: create,cache_size=7561M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archiv e=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), 2018-02-05T16:26:38.015-0600 E STORAGE [initandlisten] WiredTiger error (0) [1517869598:15394][27893:0x7f7077c1dd00], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value 2018-02-05T16:26:38.015-0600 E STORAGE [initandlisten] WiredTiger error (-31804) [1517869598:15426][27893:0x7f7077c1dd00], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic 2018-02-05T16:26:38.015-0600 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
How do I fix this issue?