Skip to content

Instantly share code, notes, and snippets.

@mbifulco mbifulco/shell commands.sh
Last active Nov 18, 2016

Embed
What would you like to do?
[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
You can’t perform that action at this time.