-
Type: Task
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Cloud Manager
-
Labels:None
-
Environment:RHEL 7.1 or 7.2 using systemd-219-19.el7
Ops Manager init.d scripts are not started at boot on Redhat Enterprise Linux 7.1 and 7.2 (systemd-219-19.el7) due to Bug 1285492.
This SystemD bug leads to failure executing the SysVInit style scripts being referenced by symbolic links from /etc/init.d at boot.
Ops Manager makes use of such symlinks.
A workaround is to copy the init.d scripts from /opt/mongodb/mms/bin/mongodb-mms (and /opt/mongodb/mms/bin/mongodb-mms-backup-daemon for Ops Manager 1.8.x and lower) and change the line:
ABS_PATH="$( resolvepath $0 )"
to:
SCRIPTPATH=/opt/mongodb/mms/bin/mongodb-mms
ABS_PATH="$( resolvepath $SCRIPTPATH )"
An official fix for the Redhat Bug is still being worked on. Meanwhile this should be at least documented or worked around.
Previous versions of SystemD like the one that can be found in Redhat 7.0 (systemd-208-11.el7.x86_64) are not affected by this issue.
Kind regards,
Emilio
- links to