Skip to content

Instantly share code, notes, and snippets.

@justinabrahms
Last active October 23, 2015 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinabrahms/0c5bfaa552c074f5b2dc to your computer and use it in GitHub Desktop.
Save justinabrahms/0c5bfaa552c074f5b2dc to your computer and use it in GitHub Desktop.

mongod won't start.

If you've tried sudo service mongod start and it says it started but didn't, or maybe gives you a cryptic error.. consider removing the lock file at /edx/var/mongo/mongodb/mongod.lock and try again.

No locks available.

So, when running some tests, I got the error "No locks available". This post suggests NFS. The actual fix appears to be to restart rpcbind sudo service rpcbind restart which hung my vagrant VM. When it restarted, I got the error below, but things seemed to work as I wanted and I'm slowly backing away.

Oct 14 11:00:54 justin-x250 systemd[1]: Dependency failed for NFS server and services.
Oct 14 11:00:54 justin-x250 systemd[1]: Job nfs-server.service/start failed with result 'dependency'.

CCX?

If you need to setup CCX, check out Peter's document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment