This is very normal problem for the developer’s who work on developing applications in ruby on rails technology with mongo db that if your computer will shutdown explicitly than mongodb will not start properly. And this type of problem can stuck many times so I have found a great solution.
By using these commands you can resolve the problem.
sudo rm /var/lib/mongodb/mongod.lock
sudo service mongodb start