Sudo Service Mongod Start Code Example


Example 1: start mongodb service ubuntu

sudo systemctl start mongod sudo systemctl stop mongod

Example 2: remove mongo lock file from centos 7

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

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer