Mongodb shuts down everytime showing exit status 1
Solution 1:
the temporary solution is, do this after a "sudo su":
chown -R mongodb:mongodb /var/lib/mongodb
chown mongodb:mongodb /tmp/mongodb-27017.sock
sudo service mongod restart
the temporary solution is, do this after a "sudo su":
chown -R mongodb:mongodb /var/lib/mongodb
chown mongodb:mongodb /tmp/mongodb-27017.sock
sudo service mongod restart