See morw...

Monday, July 1, 2013

exception in initAndListen: 10309 Unable to create/open lock file: /var/lib/mongodb/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating

exception in initAndListen: 10309 Unable to create/open lock file: /var/lib/mongodb/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating


I got above error and solution was to

  • find where is mongod.lock file located
  • move all the contents to new place as backup
  • re run the mongod server

hope above error disappeared. 

No comments: