1

Job for mongod.service failed because the control process exited with error code

While i am configuring the mongod.conf security enable i cant able to start the service i am getting the following error

job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details

My mongodb version is 4.2

security:
  authorization: enabled

jacob
asked Nov 30, 2019
edited
1 Answer
1

Stop the service before enabling the security in the mongo Configuration file.
Navigate to the MongoDb configuration File and enable the security

security.authorization: enabled

Now start the service of mongoDB

View More
linuxhelp
answered Nov 30, 2019
Your Answer
||||
x
 
100:0

Related News in Job for mongod.service failed because the control process exited with error code

Related News in Job for mongod.service failed because the control process exited with error code