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

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy