mongodb exited with code 100
flightonary opened this issue · 1 comments
flightonary commented
Hi,
Mongodb doesn't run correctly. What can I do to fix it?
The logs are here;
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] MongoDB starting : pid=11 port=27017 dbpath=/data/db/easyTravel 64-bit host=easytravel-mongodb
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] db version v3.4.10
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] OpenSSL version: LibreSSL 2.6.5
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] allocator: system
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] modules: none
mongodb | 2020-03-25T01:55:16.682+0000 I CONTROL [initandlisten] build environment:
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] distarch: x86_64
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] target_arch: x86_64
mongodb | 2020-03-25T01:55:16.683+0000 I CONTROL [initandlisten] options: { net: { http: { RESTInterfaceEnabled: true, enabled: true } }, storage: { dbPath: "/data/db/easyTravel", mmapv1: { smallFiles: true } } }
mongodb | 2020-03-25T01:55:16.692+0000 I - [initandlisten] Detected data files in /data/db/easyTravel created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongodb | 2020-03-25T01:55:16.692+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=2471M,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),
mongodb | 2020-03-25T01:55:16.701+0000 E STORAGE [initandlisten] WiredTiger error (-31803) [1585101316:701856][11:0x7f21c4d44b50], txn-recover: Recovery failed: WT_NOTFOUND: item not found
mongodb | 2020-03-25T01:55:16.766+0000 I - [initandlisten] Assertion: 28595:-31803: WT_NOTFOUND: item not found src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 276
mongodb | 2020-03-25T01:55:16.823+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31803: WT_NOTFOUND: item not found, terminating
mongodb | 2020-03-25T01:55:16.823+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
mongodb | 2020-03-25T01:55:16.823+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
mongodb | 2020-03-25T01:55:16.824+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
mongodb | 2020-03-25T01:55:16.824+0000 I CONTROL [initandlisten] now exiting
mongodb | 2020-03-25T01:55:16.824+0000 I CONTROL [initandlisten] shutting down with code:100
mongodb exited with code 100
flightonary commented
I solved the issue by removing all images and docker-compose up again.