Blog

MongoDB articles

Resolving MongoDB lock error

Posted: Sunday 17th May, 2015 - 6:26pm
Author: James Griffiths

If you've been exploring the MEAN Stack (MongoDB, ExpressJS, AngularJS and Node.....for those not in the know!) you may have encountered the following problem when attempting to start MongoDB from the command line:

old lock file: /data/db/mongod.lock.  probably means unclean shutdown,
but there are no journal files to recover.
this is likely human error or filesystem corruption.
please make sure that your journal directory is mounted.

Resolving this issue is relatively straightforward...

Read more...
Top