Mongodb service is not starting up on ubuntu

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
mongod –repair
sudo service mongodb start

About the author

Being the CEO and Founder of ClecoTech International, Mr. Ashish Prajapati is dedicated towards his aim of mentoring young startups into a full-fledged businesses. He is helping startups from America, Europe, India, and various other countries through proper guidance and the use of latest technologies to develop their innovation and ideas into definite realities.

Leave a Reply

Your email address will not be published. Required fields are marked *