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

OpenNMS can't load JICMP and/or JICMP6

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.2
    • Component/s: Installation
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      w2k8 R2 jdk1.6_31

      Description

      Trying to install a new system. Getting an error when trying to start. Could not find jicmp 64 bit version. Instructions state to copy jcimp and msvcr90 DLL files. Not sure if I have the right files. opennms.bat start failes with the following:

      C:\Users\xxxx\Desktop\opennms\bin>"C:\Program Files\Java\jdk1.6.0_31\bin\java
      " -Xmx256m -XX:MaxPermSize=128m -Dopennms.home="C:/Users/xxxx/Desktop/opennms
      " -jar "C:/Users/xxxxr/Desktop/opennms/lib/opennms_bootstrap.jar" start
      [DEBUG] System property 'opennms.library.jicmp' set to 'C:/Users/xxxx/Desktop
      /opennms/lib\jicmp.dll. Attempting to load jicmp library from this location.
      [DEBUG] System property 'opennms.library.jicmp' set to 'C:/Users/xxxx/Desktop
      /opennms/lib\jicmp.dll. Attempting to load jicmp library from this location.
      [DEBUG] System property 'opennms.library.jicmp6' not set. Attempting to load li
      brary using System.loadLibrary("jicmp6").
      An error occurred while attempting to start the "OpenNMS:Name=TestLoadLibraries"
      service (class org.opennms.netmgt.vmmgr.Manager). Shutting down and exiting.
      javax.management.RuntimeMBeanException: java.lang.IllegalStateException: Unable
      to initialize any ICMP support. Bailing out.
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
      MBeanServerInterceptor.java:856)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBe
      anException(DefaultMBeanServerInterceptor.java:869)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:838)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761
      )
      at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:324)
      at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:247)
      at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:245)
      at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:116)
      at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:190)
      at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.IllegalStateException: Unable to initialize any ICMP suppor
      t. Bailing out.
      at org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:249)
      at org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:214
      )
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
      eanIntrospector.java:93)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
      eanIntrospector.java:27)
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.j
      ava:208)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:836)
      ... 13 more

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              rg1 R.Geller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: