For some reason, CentOS 7 is deleting the /var/run/mongodb directory on reboot and mongodb isn't creating it before trying to boot.
So what happens is that it isn`t able to boot when the system does.
- is duplicated by
-
SERVER-27293 mongod.service fails to start after reboot due to missing /var/run/mongodb folder
-
- Closed
-
-
SERVER-27319 After reboot cannot write pid file to /var/run/mongodb/mongod.pid
-
- Closed
-
-
SERVER-27453 mongod 3.4 and centos7
-
- Closed
-
- related to
-
SERVER-38232 Mongod on Ubuntu 16/18 does not create a pid file
-
- Closed
-