Created
March 25, 2012 18:21
-
-
Save ografael/2198836 to your computer and use it in GitHub Desktop.
command to restart mongo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm /var/lib/mongodb/mongod.lock && sudo -u mongodb mongod -f /etc/mongodb.conf --repair && sudo start mongodb && sudo status mongodb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment