hi there
who are all new to Linux and started working with AWS may have so many Q and A 's . As same like here one example in mongoDB.
MongoDB not running !!!
$service mongod status
mongod dead but subsys locked
Solution:
Go to the directory
cd /var/lib/mongo
Delete the file named mongod.lock
$sudo rm mongod.lock
Then you have to restart the mongoDB
$ sudo service mongod restart
Done! Enjoy!
who are all new to Linux and started working with AWS may have so many Q and A 's . As same like here one example in mongoDB.
MongoDB not running !!!
$service mongod status
mongod dead but subsys locked
Solution:
Go to the directory
cd /var/lib/mongo
Delete the file named mongod.lock
$sudo rm mongod.lock
$ sudo service mongod restart
No comments:
Post a Comment