Category Archives: Mongo

Repair MongoDB

run this on terminal as mongodb user

sudo rm /var/lib/mongodb/mongod.lock
sudo -u mongodb mongod -f /etc/mongodb.conf --repair
sudo start mongodb
Page 1 of 11