Last active
August 29, 2015 14:16
-
-
Save alambike/9900be6475f97eb6f45f to your computer and use it in GitHub Desktop.
NOTAS
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
# Reparar as tablas de mongodb, por exemplo cando se cerrou mal o servidor, para correxir o erro: | |
# exception in initAndListen: 12596 old lock file, terminating | |
mongodb mongod --repair --dbpath /var/lib/mongodb/ | |
chown -R mongodb:mongodb /var/lib/mongodb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment