mongodb did not start 1

mongodb did not start

sudo rm /var/lib/mongodb/mongod.lock
mongod --repair
sudo service mongodb start

This should solve the problem

Here is what the above code is Doing:
1. The first line is a comment. Comments are lines that Python ignores. They’re used to explain what the code is doing.
2. The second line is a variable. Variables are used to store data. In this case, the variable is storing a string of text.
3. The third line is a function. Functions are used to do things. In this case, the function is printing the string that’s stored in the variable.

Similar Posts