Mongod service failed to start

Mongod service is failing to start. in mongod log i am gettiing messages as below.

type{"t":{"$date":"2024-08-05T08:26:19.077+00:00"},"s":"I",  "c":"-",        "id":20520,   "ctx":"SignalHandler","msg":"Stopping further Flow Control ticket acquisitions."}
{"t":{"$date":"2024-08-05T08:26:19.077+00:00"},"s":"I",  "c":"STORAGE",  "id":4784908, "ctx":"SignalHandler","msg":"Shutting down the PeriodicThreadToAbortExpiredTransactions"}
{"t":{"$date":"2024-08-05T08:26:19.077+00:00"},"s":"I",  "c":"STORAGE",  "id":4784934, "ctx":"SignalHandler","msg":"Shutting down the PeriodicThreadToDecreaseSnapshotHistoryCachePressure"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"REPL",     "id":4784909, "ctx":"SignalHandler","msg":"Shutting down the ReplicationCoordinator"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"SHARDING", "id":4784910, "ctx":"SignalHandler","msg":"Shutting down the ShardingInitializationMongoD"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"REPL",     "id":4784911, "ctx":"SignalHandler","msg":"Enqueuing the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"-",        "id":4784912, "ctx":"SignalHandler","msg":"Killing all operations for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"-",        "id":4695300, "ctx":"SignalHandler","msg":"Interrupted all currently running operations","attr":{"opsKilled":5}}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"COMMAND",  "id":4784913, "ctx":"SignalHandler","msg":"Shutting down all open transactions"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"REPL",     "id":4784914, "ctx":"SignalHandler","msg":"Acquiring the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.078+00:00"},"s":"I",  "c":"INDEX",    "id":4784915, "ctx":"SignalHandler","msg":"Shutting down the IndexBuildsCoordinator"}
{"t":{"$date":"2024-08-05T08:26:19.079+00:00"},"s":"I",  "c":"REPL",     "id":4784916, "ctx":"SignalHandler","msg":"Reacquiring the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.079+00:00"},"s":"I",  "c":"REPL",     "id":4784917, "ctx":"SignalHandler","msg":"Attempting to mark clean shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.085+00:00"},"s":"I",  "c":"NETWORK",  "id":4784918, "ctx":"SignalHandler","msg":"Shutting down the ReplicaSetMonitor"}
{"t":{"$date":"2024-08-05T08:26:19.085+00:00"},"s":"I",  "c":"SHARDING", "id":4784921, "ctx":"SignalHandler","msg":"Shutting down the MigrationUtilExecutor"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"CONTROL",  "id":4784925, "ctx":"SignalHandler","msg":"Shutting down free monitoring"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"CONTROL",  "id":20609,   "ctx":"SignalHandler","msg":"Shutting down free monitoring"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":4784927, "ctx":"SignalHandler","msg":"Shutting down the HealthLog"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":4784929, "ctx":"SignalHandler","msg":"Acquiring the global lock for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":4784930, "ctx":"SignalHandler","msg":"Shutting down the storage engine"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":22320,   "ctx":"SignalHandler","msg":"Shutting down journal flusher thread"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":22321,   "ctx":"SignalHandler","msg":"Finished shutting down journal flusher thread"}
{"t":{"$date":"2024-08-05T08:26:19.086+00:00"},"s":"I",  "c":"STORAGE",  "id":20282,   "ctx":"SignalHandler","msg":"Deregistering all the collections"}
{"t":{"$date":"2024-08-05T08:26:19.119+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn19","msg":"Connection ended","attr":{"remote":"127.0.0.1:39950","connectionId":19,"connectionCount":9}}
{"t":{"$date":"2024-08-05T08:26:19.120+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn29","msg":"Connection ended","attr":{"remote":"127.0.0.1:50232","connectionId":29,"connectionCount":8}}
{"t":{"$date":"2024-08-05T08:26:19.127+00:00"},"s":"I",  "c":"STORAGE",  "id":22261,   "ctx":"SignalHandler","msg":"Timestamp monitor shutting down"}
{"t":{"$date":"2024-08-05T08:26:19.147+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn32","msg":"Connection ended","attr":{"remote":"127.0.0.1:50262","connectionId":32,"connectionCount":6}}
{"t":{"$date":"2024-08-05T08:26:19.147+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn215","msg":"Connection ended","attr":{"remote":"127.0.0.1:45382","connectionId":215,"connectionCount":5}}
{"t":{"$date":"2024-08-05T08:26:19.147+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn31","msg":"Connection ended","attr":{"remote":"127.0.0.1:50258","connectionId":31,"connectionCount":4}}
{"t":{"$date":"2024-08-05T08:26:19.147+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn207","msg":"Connection ended","attr":{"remote":"127.0.0.1:58426","connectionId":207,"connectionCount":7}}
{"t":{"$date":"2024-08-05T08:26:19.148+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn22","msg":"Connection ended","attr":{"remote":"127.0.0.1:39976","connectionId":22,"connectionCount":2}}
{"t":{"$date":"2024-08-05T08:26:19.148+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn21","msg":"Connection ended","attr":{"remote":"127.0.0.1:39972","connectionId":21,"connectionCount":3}}
{"t":{"$date":"2024-08-05T08:26:19.153+00:00"},"s":"I",  "c":"STORAGE",  "id":22317,   "ctx":"SignalHandler","msg":"WiredTigerKVEngine shutting down"}
{"t":{"$date":"2024-08-05T08:26:19.153+00:00"},"s":"I",  "c":"STORAGE",  "id":22318,   "ctx":"SignalHandler","msg":"Shutting down session sweeper thread"}
{"t":{"$date":"2024-08-05T08:26:19.154+00:00"},"s":"I",  "c":"STORAGE",  "id":22319,   "ctx":"SignalHandler","msg":"Finished shutting down session sweeper thread"}
{"t":{"$date":"2024-08-05T08:26:19.154+00:00"},"s":"I",  "c":"STORAGE",  "id":22322,   "ctx":"SignalHandler","msg":"Shutting down checkpoint thread"}
{"t":{"$date":"2024-08-05T08:26:19.154+00:00"},"s":"I",  "c":"STORAGE",  "id":22323,   "ctx":"SignalHandler","msg":"Finished shutting down checkpoint thread"}
{"t":{"$date":"2024-08-05T08:26:19.156+00:00"},"s":"I",  "c":"STORAGE",  "id":4795902, "ctx":"SignalHandler","msg":"Closing WiredTiger","attr":{"closeConfig":"leak_memory=true,"}}
{"t":{"$date":"2024-08-05T08:26:19.164+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"SignalHandler","msg":"WiredTiger message","attr":{"message":"[1722846379:164639][1756:0x7fe401bad700], close_ckpt: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 63404, snapshot max: 63404 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 165131921"}}
{"t":{"$date":"2024-08-05T08:26:19.391+00:00"},"s":"I",  "c":"STORAGE",  "id":4795901, "ctx":"SignalHandler","msg":"WiredTiger closed","attr":{"durationMillis":235}}
{"t":{"$date":"2024-08-05T08:26:19.391+00:00"},"s":"I",  "c":"STORAGE",  "id":22279,   "ctx":"SignalHandler","msg":"shutdown: removing fs lock..."}
{"t":{"$date":"2024-08-05T08:26:19.392+00:00"},"s":"I",  "c":"-",        "id":4784931, "ctx":"SignalHandler","msg":"Dropping the scope cache for shutdown"}
{"t":{"$date":"2024-08-05T08:26:19.392+00:00"},"s":"I",  "c":"FTDC",     "id":4784926, "ctx":"SignalHandler","msg":"Shutting down full-time data capture"}
{"t":{"$date":"2024-08-05T08:26:19.392+00:00"},"s":"I",  "c":"FTDC",     "id":20626,   "ctx":"SignalHandler","msg":"Shutting down full-time diagnostic data capture"}
{"t":{"$date":"2024-08-05T08:26:19.394+00:00"},"s":"I",  "c":"CONTROL",  "id":20565,   "ctx":"SignalHandler","msg":"Now exiting"}
{"t":{"$date":"2024-08-05T08:26:19.395+00:00"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"SignalHandler","msg":"Shutting down","attr":{"exitCode":0}}
 or paste code here

i have another migrate.log which is showing error as

`024-08-05T09:37:50.479+0000 I CONTROL  [main] ***** SERVER RESTARTED *****
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] MongoDB starting : pid=193291 port=27027 dbpath=/data/mongodb/data 64-bit host=LACIMSPRDSTB3
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] db version v3.6.23
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] modules: none
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] build environment:
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten]     distarch: x86_64
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2024-08-05T09:37:50.483+0000 I CONTROL  [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27027 }, setParameter: { honorSystemUmask: "true" }, storage: { dbPath: "/data/mongodb/data" }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/data/mongodb/log/migrate_3.6.log" } }
2024-08-05T09:37:50.483+0000 I -        [initandlisten] Detected data files in /data/mongodb/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2024-08-05T09:37:50.483+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=15556M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2024-08-05T09:37:50.975+0000 E STORAGE  [initandlisten] WiredTiger error (-31802) [1722850670:975911][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Raw: [1722850670:975911][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2024-08-05T09:37:50.975+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850670:975967][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata Raw: [1722850670:975967][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata
2024-08-05T09:37:50.975+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850670:975977][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk Raw: [1722850670:975977][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
2024-08-05T09:37:50.975+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850670:975991][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options Raw: [1722850670:975991][193291:0x7f8624ef5a40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options
2024-08-05T09:37:50.977+0000 F STORAGE  [initandlisten] WiredTiger metadata corruption detected
2024-08-05T09:37:50.977+0000 F STORAGE  [initandlisten] This version of MongoDB is unable to repair this kind of corruption, but version 4.0.3+ may be able to repair it. See http://dochub.mongodb.org/core/repair for more information.
2024-08-05T09:37:50.977+0000 F -        [initandlisten] Fatal Assertion 50944 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 71
2024-08-05T09:37:50.977+0000 F -        [initandlisten] \n\n***aborting after fassert() failure\n\n
2024-08-05T09:37:53.260+0000 I CONTROL  [main] ***** SERVER RESTARTED *****
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] MongoDB starting : pid=193313 port=27027 dbpath=/data/mongodb/data 64-bit host=LACIMSPRDSTB3
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] db version v3.6.23
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] modules: none
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] build environment:
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten]     distarch: x86_64
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2024-08-05T09:37:53.264+0000 I CONTROL  [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27027 }, setParameter: { honorSystemUmask: "true" }, storage: { dbPath: "/data/mongodb/data" }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/data/mongodb/log/migrate_3.6.log" } }
2024-08-05T09:37:53.264+0000 I -        [initandlisten] Detected data files in /data/mongodb/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2024-08-05T09:37:53.264+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=15556M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2024-08-05T09:37:53.759+0000 E STORAGE  [initandlisten] WiredTiger error (-31802) [1722850673:759086][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Raw: [1722850673:759086][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2024-08-05T09:37:53.759+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850673:759137][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata Raw: [1722850673:759137][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata
2024-08-05T09:37:53.759+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850673:759146][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk Raw: [1722850673:759146][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
2024-08-05T09:37:53.759+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850673:759161][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options Raw: [1722850673:759161][193313:0x7f1d5ee6ea40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options
2024-08-05T09:37:53.760+0000 F STORAGE  [initandlisten] WiredTiger metadata corruption detected
2024-08-05T09:37:53.760+0000 F STORAGE  [initandlisten] This version of MongoDB is unable to repair this kind of corruption, but version 4.0.3+ may be able to repair it. See http://dochub.mongodb.org/core/repair for more information.
2024-08-05T09:37:53.760+0000 F -        [initandlisten] Fatal Assertion 50944 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 71
2024-08-05T09:37:53.760+0000 F -        [initandlisten] \n\n***aborting after fassert() failure\n\n
2024-08-05T09:37:55.935+0000 I CONTROL  [main] ***** SERVER RESTARTED *****
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] MongoDB starting : pid=193339 port=27027 dbpath=/data/mongodb/data 64-bit host=LACIMSPRDSTB3
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] db version v3.6.23
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] modules: none
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] build environment:
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten]     distarch: x86_64
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2024-08-05T09:37:55.939+0000 I CONTROL  [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27027 }, setParameter: { honorSystemUmask: "true" }, storage: { dbPath: "/data/mongodb/data" }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/data/mongodb/log/migrate_3.6.log" } }
2024-08-05T09:37:55.939+0000 I -        [initandlisten] Detected data files in /data/mongodb/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2024-08-05T09:37:55.939+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=15556M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2024-08-05T09:37:56.415+0000 E STORAGE  [initandlisten] WiredTiger error (-31802) [1722850676:415845][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Raw: [1722850676:415845][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2024-08-05T09:37:56.415+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850676:415903][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata Raw: [1722850676:415903][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata
2024-08-05T09:37:56.415+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850676:415914][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk Raw: [1722850676:415914][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
2024-08-05T09:37:56.415+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850676:415929][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options Raw: [1722850676:415929][193339:0x7f09bc26ca40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options
2024-08-05T09:37:56.417+0000 F STORAGE  [initandlisten] WiredTiger metadata corruption detected
2024-08-05T09:37:56.417+0000 F STORAGE  [initandlisten] This version of MongoDB is unable to repair this kind of corruption, but version 4.0.3+ may be able to repair it. See http://dochub.mongodb.org/core/repair for more information.
2024-08-05T09:37:56.417+0000 F -        [initandlisten] Fatal Assertion 50944 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 71
2024-08-05T09:37:56.417+0000 F -        [initandlisten] \n\n***aborting after fassert() failure\n\n
2024-08-05T09:37:58.409+0000 I CONTROL  [main] ***** SERVER RESTARTED *****
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] MongoDB starting : pid=193555 port=27027 dbpath=/data/mongodb/data 64-bit host=LACIMSPRDSTB3
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] db version v3.6.23
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] modules: none
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] build environment:
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten]     distarch: x86_64
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2024-08-05T09:37:58.413+0000 I CONTROL  [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27027 }, setParameter: { honorSystemUmask: "true" }, storage: { dbPath: "/data/mongodb/data" }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/data/mongodb/log/migrate_3.6.log" } }
2024-08-05T09:37:58.413+0000 I -        [initandlisten] Detected data files in /data/mongodb/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2024-08-05T09:37:58.413+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=15556M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2024-08-05T09:37:58.899+0000 E STORAGE  [initandlisten] WiredTiger error (-31802) [1722850678:899533][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Raw: [1722850678:899533][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2024-08-05T09:37:58.899+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850678:899585][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata Raw: [1722850678:899585][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata
2024-08-05T09:37:58.899+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850678:899596][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk Raw: [1722850678:899596][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
2024-08-05T09:37:58.899+0000 E STORAGE  [initandlisten] WiredTiger error (0) [1722850678:899612][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options Raw: [1722850678:899612][193555:0x7fcf04d5ba40], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options
2024-08-05T09:37:58.900+0000 F STORAGE  [initandlisten] WiredTiger metadata corruption detected
2024-08-05T09:37:58.900+0000 F STORAGE  [initandlisten] This version of MongoDB is unable to repair this kind of corruption, but version 4.0.3+ may be able to repair it. See http://dochub.mongodb.org/core/repair for more information.
2024-08-05T09:37:58.900+0000 F -        [initandlisten] Fatal Assertion 50944 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 71
2024-08-05T09:37:58.900+0000 F -        [initandlisten] \n\n***aborting after fassert() failure\n\n
```please help

Hi @Vaibhav_Ananya and welcome to the community!

it seems that the data has become corrupted:

The version of mongo is quite hold:

Here is the main problem:

I think the best solution is to restore a backup and if it is possible, upgrade the mongodb version.

Best Regards

1 Like

did you upgraded your server from 3.0 to 3.6 directly? or upgraded from one late version but forgot to configure/update compatibility?

there is this expression in your error messages:
compatibility=(release="3.0",require_max="3.0")

Release Notes for MongoDB 3.6 — MongoDB Manual

I haven’t worked with 3.x line but it seems you had to follow a certain upgrade path to get the latest. (3.0 to 3.2 to 3.4 to 3.6)

anyways, to find any feasible solution, please tell us a bit more about the story/history of your data and server, especially the versions.

1 Like