- i try to start mongod as usual by: mongod --bind_ip 165.232.39.31 --auth
i already have stored data on my server, but i can’t start mongod, how can i fix it?
-
and today i got error:
-
2022-02-05T16:45:14.432+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
-
2022-02-05T16:45:14.432+0800 I CONTROL [initandlisten] allocator: tcmalloc
-
2022-02-05T16:45:14.432+0800 I CONTROL [initandlisten] modules: none
-
2022-02-05T16:45:14.432+0800 I CONTROL [initandlisten] build environment:
-
2022-02-05T16:45:14.433+0800 I CONTROL [initandlisten] distarch: x86_64
-
2022-02-05T16:45:14.433+0800 I CONTROL [initandlisten] target_arch: x86_64
-
2022-02-05T16:45:14.433+0800 I CONTROL [initandlisten] options: { net: { bindIp: “165.232.39.31” }, security: { authorization: “enabled” } }
-
2022-02-05T16:45:14.433+0800 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
-
2022-02-05T16:45:14.434+0800 I - [initandlisten] Detected data files in /data/db created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.
-
2022-02-05T16:45:14.434+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
-
2022-02-05T16:45:14.435+0800 I STORAGE [initandlisten]
-
2022-02-05T16:45:14.435+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
-
2022-02-05T16:45:14.435+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
-
2022-02-05T16:45:14.435+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=484M,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),
-
2022-02-05T16:45:15.250+0800 E STORAGE [initandlisten] WiredTiger error (-31802) [1644050715:250212][17900:0x7fa2e214e0c0], txn-recover: unsupported WiredTiger file version: this build only supports versions up to 2, and the file is version 3: WT_ERROR: non-specific WiredTiger error
-
2022-02-05T16:45:15.250+0800 E STORAGE [initandlisten] WiredTiger error (0) [1644050715:250920][17900:0x7fa2e214e0c0], txn-recover: WiredTiger is unable to read the recovery log.
-
2022-02-05T16:45:15.251+0800 E STORAGE [initandlisten] WiredTiger error (0) [1644050715:251356][17900:0x7fa2e214e0c0], txn-recover: This may be due to the log files being encrypted, being from an older version or due to corruption on disk
-
2022-02-05T16:45:15.251+0800 E STORAGE [initandlisten] WiredTiger error (0) [1644050715:251620][17900:0x7fa2e214e0c0], txn-recover: You should confirm that you have opened the database with the correct options including all encryption and compression options
-
2022-02-05T16:45:15.251+0800 E STORAGE [initandlisten] WiredTiger error (-31802) [1644050715:251980][17900:0x7fa2e214e0c0], txn-recover: Recovery failed: WT_ERROR: non-specific WiredTiger error
-
2022-02-05T16:45:15.256+0800 E - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 413
-
2022-02-05T16:45:15.257+0800 I STORAGE [initandlisten] exception in initAndListen: Location28595: -31802: WT_ERROR: non-specific WiredTiger error, terminating
-
2022-02-05T16:45:15.257+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets…
-
2022-02-05T16:45:15.258+0800 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
-
2022-02-05T16:45:15.258+0800 I CONTROL [initandlisten] now exiting
-
2022-02-05T16:45:15.258+0800 I CONTROL [initandlisten] shutting down with code:100