Menu Close

Recover mongodb after unexpected shutdown

Today I’m relaunching my Uptime Monitoring using NodeJS for which is powered by Fiberoute. But due to bad configuration for the networking I did, the server had to shutdown from the SolusVM manualy.
My Mongodb crashed after the server boot, and never work again. From the log files, we need to repair it,  but we have to remove the mongod.lock first.

Wait until it finished, and then try to restart the mongodb again.

Leave a Reply

Your email address will not be published. Required fields are marked *