Hello,
I’m currently maintaining the company’s mongodb cluster and have just upgraded it to 4.4. If I run it directly using “mongod” everything works just fine, but I wanted to leave it running as a service for the ease of maintenance, set up to start if it’s rebooted, etc.
The issue I’m facing is that once I start mongo with the usual “service mongod start” (CentOS7) it times out. By checking the logs I’ve seen that it actually starts no problem, even receives connections and everything works fine, but it looks like it’s missing an “ok” for systemctl to consider the service has actually started, therefore it hangs forever and times out.
Has anyone faced this before? Is there something I’m missing?
By the way, I’ve just reinstalled it to make sure I didn’t mess up the “.service” file or anything like that, and the issue persists.