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

When examining the service status of the opennms -v, the service is stopped.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 29.0.4
    • 29.0.7
    • CLI Tools
    • Security Level: Default (Default Security Scheme)
    • None
    • 1
    • Horizon 22 - Jan 5 - Jan 19, Horizon 22 - Jan 19 - Feb 2, Horizon 22 - Feb 2 - Feb 16, Horizon 22 - Feb 16 - Mar 2

    Description

      while checking the service status of opennms the output is not as excepted.

      Fyi..

      ]# service opennms -v status
      WARNING: relaunching as opennms
      Could not connect to the OpenNMS JVM (OpenNMS might not be running or could be starting up or shutting down): Unable to retrieve status from running services.
      opennms is stopped

      Logs from manager.log:

      ================

      2022-01-13 08:56:19,965 WARN [Main] o.o.n.v.Controller: Cannot attach to OpenNMS JVM
      com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/13449/root/tmp/.java_pid13449: target process 13449 doesn't re
      spond within 10500ms or HotSpot VM not loaded
      at sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:100) ~[jdk.attach:?]
      at sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:73) ~[jdk.attach:?]
      at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:249) ~[jdk.attach:?]
      at org.opennms.netmgt.vmmgr.Controller.getJmxUrl(Controller.java:342) [org.opennms.core.daemon-29.0.4.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.doInvokeOperation(Controller.java:273) [org.opennms.core.daemon-29.0.4.jar:?]
      at org.opennms.netmgt.vmmgr.StatusGetter.retrieveStatus(StatusGetter.java:67) [org.opennms.core.daemon-29.0.4.jar:?]
      at org.opennms.netmgt.vmmgr.StatusGetter.queryStatus(StatusGetter.java:91) [org.opennms.core.daemon-29.0.4.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.status(Controller.java:195) [org.opennms.core.daemon-29.0.4.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:154) [org.opennms.core.daemon-29.0.4.jar:?]
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
      at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:531) [opennms_bootstrap.jar:?]
      at java.lang.Thread.run(Thread.java:829) [?:?]

       

      Attachments

        Activity

          People

            ranger Benjamin Reed
            atchuthk2k Achut Kantipudi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.