Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6945

Ops Manager init.d scripts are not started at boot on RHEL 7.1/7.2 (systemd-219-19.el7)

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • ops-manager-2.0.0
    • 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

            Assignee:
            bgrabar Bob Grabar
            Reporter:
            emilio.scalise@mongodb.com Emilio Scalise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 15 weeks, 6 days ago