Priority: Minor - P4
Resolution: Cannot Reproduce
Affects Version/s: None
Fix Version/s: None
Steps To Reproduce:
on Ubunt 18.04
upgrade to new mongo packages.
reboot, mongod will not have started.
change file: /lib/systemd/system/mongod.server
Reboot, mongod now starts.
Sprint:Dev Platform 2020-01-13, Dev Platform 2020-01-27
After a mongodb package update mongod fails to start on system reboot. After a reboot mongod tries to start then bails out with and error "code 48". See attached log file excerpt.
I should note this only happens on update on 18.04. I have no similar issue on 16.04.
The problem seems to be with the systemd config. If I add the additional target"multi-user.target" to the "After=network.target" mongod starts on reboot.
I have looked at other incidents similar and the all relate to WiredTiger IIRC.
It's a minor but annoying problem, especially if I forget to modify the service file after and upgrade.
Mongodb version: 4.2.2
Distro: Ubuntu 18.04
CPU: AMD Ryzen6