-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: WiredTiger
-
Labels:None
-
ALL
Hello.
I met a problem in mongoDB on docker container.
MongoDB can't start with the following error message.
Can I solve this? Thank you.
mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=1e8d99fdc025 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] db version v3.4.8 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] git version: 8ef456f89f63ab12941fe6b5352b20cff2522da3 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] allocator: tcmalloc mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] modules: none mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] build environment: mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] distmod: debian81 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] distarch: x86_64 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] target_arch: x86_64 mongo_1 | 2018-11-28T02:22:31.216+0000 I CONTROL [initandlisten] options: { storage: { mmapv1: { smallFiles: true } } } mongo_1 | 2018-11-28T02:22:31.220+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. mongo_1 | 2018-11-28T02:22:31.220+0000 I STORAGE [initandlisten] mongo_1 | 2018-11-28T02:22:31.220+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine mongo_1 | 2018-11-28T02:22:31.220+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem mongo_1 | 2018-11-28T02:22:31.220+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3479M,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), mongo_1 | 2018-11-28T02:22:31.233+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1543371751:233633][1:0x7f3000274d40], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error mongo_1 | 2018-11-28T02:22:31.233+0000 E STORAGE [initandlisten] WiredTiger error (0) [1543371751:233718][1:0x7f3000274d40], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata mongo_1 | 2018-11-28T02:22:31.233+0000 E STORAGE [initandlisten] WiredTiger error (0) [1543371751:233764][1:0x7f3000274d40], file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk mongo_1 | 2018-11-28T02:22:31.233+0000 E STORAGE [initandlisten] WiredTiger error (0) [1543371751:233793][1:0x7f3000274d40], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options mongo_1 | 2018-11-28T02:22:31.234+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 269 mongo_1 | 2018-11-28T02:22:31.234+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating mongo_1 | 2018-11-28T02:22:31.234+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets... mongo_1 | 2018-11-28T02:22:31.234+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock mongo_1 | 2018-11-28T02:22:31.234+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog... mongo_1 | 2018-11-28T02:22:31.234+0000 I CONTROL [initandlisten] now exiting mongo_1 | 2018-11-28T02:22:31.234+0000 I CONTROL [initandlisten] shutting down with code:100