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

LSB init script does not start Minion on Ubuntu/Debian

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 22.0.2
    • Fix Version/s: 23.0.0
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Sprint:
      Horizon - August 29th 2018, Horizon - September 05 2018, Horizon - September 12 2018, Horizon - September 26 2018, Horizon - October 3rd 2018

      Description

      When you install Minion on Ubuntu/Debian from repositories, the sysV init script does not start the Minion. 

      When you try to start it the output is

      systemctl start minion
      Job for minion.service failed because the control process exited with error code.
      See "systemctl status minion.service" and "journalctl -xe" for details.
      

      The journalctl -xe output is the following:

      Jul 31 09:11:16 ubuntu-bionic systemd[1]: Starting LSB: OpenNMS Minion...
      -- Subject: Unit minion.service has begun start-up
      -- Defined-By: systemd
      -- Support: http://www.ubuntu.com/support
      --
      -- Unit minion.service has begun starting up.
      Jul 31 09:11:17 ubuntu-bionic runuser[5078]: pam_unix(runuser:session): session opened for user minion by (uid=0)
      Jul 31 09:11:17 ubuntu-bionic minion[5078]: Starting minion (via systemctl): minion.serviceFailed to start minion.service: In
      Jul 31 09:11:17 ubuntu-bionic minion[5078]: See system logs and 'systemctl status minion.service' for details.
      Jul 31 09:11:17 ubuntu-bionic minion[5078]: failed!
      Jul 31 09:11:17 ubuntu-bionic runuser[5078]: pam_unix(runuser:session): session closed for user minion
      Jul 31 09:11:17 ubuntu-bionic systemd[1]: minion.service: Control process exited, code=exited status=1
      Jul 31 09:11:17 ubuntu-bionic systemd[1]: minion.service: Failed with result 'exit-code'.
      Jul 31 09:11:17 ubuntu-bionic systemd[1]: Failed to start LSB: OpenNMS Minion.
      -- Subject: Unit minion.service has failed
      -- Defined-By: systemd
      -- Support: http://www.ubuntu.com/support
      --
      -- Unit minion.service has failed.
      --
      -- The result is RESULT.
      
      

      You can start|stop the Minion with root /usr/share/minion/bin/{start,stop}.

      Source: https://chat.opennms.com/opennms/pl/er48e6jspfbyjf4sbknt7hrdgy

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                fuhrmann Marcel Fuhrmann
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: