Last active
August 29, 2015 14:15
-
-
Save Voronenko/4c68f9a98691d3ccaa19 to your computer and use it in GitHub Desktop.
Dirty mongo repair script
This file contains hidden or 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/sh | |
sudo rm /var/lib/mongodb/mongod.lock | |
sudo -u mongodb mongod -f /etc/mongod.conf --repair |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment