Skip to content

Instantly share code, notes, and snippets.

@mbifulco
Last active November 18, 2016 15:58
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 mbifulco/113d461e6144ef9ed7c59aaaa6255429 to your computer and use it in GitHub Desktop.
Save mbifulco/113d461e6144ef9ed7c59aaaa6255429 to your computer and use it in GitHub Desktop.
[Errno 111] Connection Refused
vagrant up # start your vagrant box if it isn't started already
vagrant ssh # ssh into the vagrant image
# run the following commands as the default user on the vagrant machine (not edxapp@)
sudo rm /edx/var/mongo/mongodb/mongod.lock
sudo mongod -repair --config /etc/mongod.conf
sudo chown -R mongodb:mongodb /edx/var/mongo/.
sudo /etc/init.d/mongod start
# restart lms/cms as usual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment