Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10434

Sentinel does not start using init scripts on RHEL 6.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 23.0.0
    • Fix Version/s: 23.0.2
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - October 31st 2018, Horizon - November 14th 2018, Horizon - November 21th 2018, Horizon - November 28th 2018

      Description

      Using the startup script on a RHEL 6.6 system fails with:

      12:11:34 # sudo /etc/init.d/sentinel start
      /opt/sentinel/bin/ensure-user-ping.sh: line 88: /etc/sysctl.d/99-opennms-non-root-icmp.conf: No such file or directory
      

      By commenting out the last two lines of ensure-user-ping.sh it gets passed this point, but the process is not started when ran again.

      Here's some debug output, showing that daemon is used to start the process:

      sudo bash -x /etc/init.d/sentinel start
      ...
      + '[' -n daemon ']'
      + daemon --user=sentinel /opt/sentinel/bin/start
      + exit 0
      

      but:

      12:16:33 # daemon
      -bash: daemon: command not found
      

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: