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

Minion can't be started after installation from RPM/DEB with OpenJDK 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 24.1.2
    • Fix Version/s: 24.1.3
    • Component/s: Installation
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      OS: Debian 10
      Java: openjdk-11-jdk which came as dependency

      OS: CentOS 7
      Java: java-11-openjdk which came as dependency
    • Sprint:
      Horizon 2019 - July 31st, Horizon 2019 - August 7th

      Description

      When installing a Minion on Ubuntu/Debian/CentOS7, the Minion can't be started using systemd. The Minion can be installed with

      apt -y install opennms-minion
      

      When you try to start the Minion you get the following behavior:

      root@minion:/usr/share/minion# systemctl status minion
      ‚óŹ minion.service - LSB: OpenNMS Minion
         Loaded: loaded (/etc/init.d/minion; generated)
         Active: active (exited) since Tue 2019-08-06 18:26:17 CEST; 14s ago
           Docs: man:systemd-sysv-generator(8)
        Process: 8643 ExecStart=/etc/init.d/minion start (code=exited, status=0/SUCCESS)
      
      Aug 06 18:26:16 minion systemd[1]: Starting LSB: OpenNMS Minion...
      Aug 06 18:26:17 minion systemd[1]: Started LSB: OpenNMS Minion.
      root@minion:/usr/share/minion# ps aux | grep java
      root       8826  0.0  0.0   6076   880 pts/0    S+   18:26   0:00 grep java
      

      The service is not started and journalctl -u minion doesn't tell you anything helpful:

      Aug 06 18:26:16 minion systemd[1]: Starting LSB: OpenNMS Minion...
      Aug 06 18:26:17 minion systemd[1]: Started LSB: OpenNMS Minion.
      

      No karaf.log gets created. I can start the Minion with /usr/share/minion/bin/start.

        Attachments

          Activity

            People

            • Assignee:
              indigo Ronny Trommer
              Reporter:
              indigo Ronny Trommer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: