Details
-
Task
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
RHEL 7.1 or 7.2 using systemd-219-19.el7
Description
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
Attachments
Issue Links
- links to