Mongo DB restart fails. Log says that service failed to start with return / exit-code error of 14.
-- Unit mongod.service has begun starting up.
Dec 07 23:34:10 localhost.localdomain mongod[377114]: about to fork child process, waiting until server is ready for connections.
Dec 07 23:34:10 localhost.localdomain mongod[377114]: forked process: 377117
Dec 07 23:34:10 localhost.localdomain mongod[377114]: ERROR: child process failed, exited with error number 14
Dec 07 23:34:10 localhost.localdomain mongod[377114]: To see additional information in this output, start without the "--fork" option.
Dec 07 23:34:10 localhost.localdomain systemd[1]: mongod.service: Control process exited, code=exited status=14
Dec 07 23:34:10 localhost.localdomain systemd[1]: mongod.service: Failed with result 'exit-code'.
Issue:
The CentOS MongoD service cannot update its /tmp/mongodb-27017.sock file.
Do the following:
$ sudo chown mongod:mongod /tmp/mongodb-27017.sock
$ sudo systemctl start mongod
previous page
|