We provide complete mobile and web apps development solutions

Saturday, October 10, 2015

Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating

 [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating


Got this issue in mac


Mongoldb instance is running in the system.


Stop the server

$mongo admin --eval "db.shutdownServer()"










1 comment:

  1. E NETWORK [initandlisten] listen(): bind() failed errno:48 Address already in use for socket: 0.0.0.0:27017
    2016-04-04T12:21:30.622+0530 E NETWORK [initandlisten] addr already in use
    2016-04-04T12:21:30.622+0530 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.

    ReplyDelete

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts