My mongodb server failing to start/restart

{“t”:{“$date”:“2023-08-24T09:13:41.087+05:30”},“s”:“W”, “c”:“STORAGE”, “id”:22347, “ctx”:“initandlisten”,“msg”:“Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade.”}
{“t”:{“$date”:“2023-08-24T09:13:41.087+05:30”},“s”:“F”, “c”:“ASSERT”, “id”:23091, “ctx”:“initandlisten”,“msg”:“Fatal assertion”,“attr”:{“msgid”:28561,“file”:“src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp”,“line”:696}}
{“t”:{“$date”:“2023-08-24T09:13:41.087+05:30”},“s”:“F”, “c”:“ASSERT”, “id”:23092, “ctx”:“initandlisten”,“msg”:“\n\n***aborting after fassert() failure\n\n”}

These are my logs can anyone help me on this

This is the one that did it for me: sudo chown mongodb:mongodb /tmp/mongodb-27017.sock

The mongodb user is mongodb, and the sock file was owned by root.

1 Like