Solution:
For this error we need to remove mongod.lock first and for that use below command for remove that and also restart server
For this error we need to remove mongod.lock first and for that use below command for remove that and also restart server
sudo rm /var/lib/mongodb/mongod.lock
sudo service mongodb start
If you want to restart service then do it:
sudo service mongodb restart
0 comments:
Post a Comment