Sometimes it appears that mongo fails to start after a reboot.
Sometimes it appears that mongo fails to start after a reboot.
−
This appears to be caused by a lock file
+
I believe that this may be caused due to rocketchat being run by the forever service which means that rocketchat ties to keep running despite mongo being stopped. This leaves lock files and prevent mongo from restarting properly. The cure is probably to either run rocket as a daemon service rather than forever, or for there to be a proper kill/start for forever/rocketchat on shutdown/restart.