Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?

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