Created
September 10, 2013 02:06
-
-
Save hugoleodev/6504155 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo service mongodb stop | |
sudo rm /var/lib/mongodb/mongod.lock | |
sudo chown -R mongodb:mongodb /var/lib/mongodb/ | |
sudo service mongodb start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment