Skip to content

Instantly share code, notes, and snippets.

@ksysctl
Created December 29, 2014 15:07
Show Gist options
  • Select an option

  • Save ksysctl/8e3b530b0e708cda67b9 to your computer and use it in GitHub Desktop.

Select an option

Save ksysctl/8e3b530b0e708cda67b9 to your computer and use it in GitHub Desktop.
Repair mongod from vagrant
sudo rm /var/lib/mongodb/mongod.lock
sudo -u mongodb mongod -f /etc/mongod.conf --repair
sudo start mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment