Opennms service fails to run after install on RHEL6.

"Jim Hodsdon" <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Hi,

 

I am trying an initial load of opennms onto a Redhat EL6 server. I
followed the instructions as best I could and when I started opennms I
get the following error log. Everything looked okay except maybe the
"/opennms/bin/install"  step which didn't appear to find "libicmp" even
though it was present in the /usr/lib directory.  I had upgraded to the
latest jdk (7u_32) but I thought that might be the problem and backed
that out and allowed the library to come from opennms. Here's the
daemon/output.log, followed by a trace of the "/bin/install" running.
Any help would be greatly appreciated.

 

 

Thanks,

 

 Jim Hodsdon

 

 

>From /opt/opennms/logs/daemon/output.log :

 

------------------------------------------------------------------------
------

Mon May 21 15:40:35 CDT 2012

begin ulimit settings:

core file size          (blocks, -c) 0

data seg size           (kbytes, -d) unlimited

scheduling priority             (-e) 0

file size               (blocks, -f) unlimited

pending signals                 (-i) 143360

max locked memory       (kbytes, -l) 32

max memory size         (kbytes, -m) unlimited

open files                      (-n) 20480

pipe size            (512 bytes, -p) 8

POSIX message queues     (bytes, -q) 819200

real-time priority              (-r) 0

stack size              (kbytes, -s) 8192

cpu time               (seconds, -t) unlimited

max user processes              (-u) 143360

virtual memory          (kbytes, -v) unlimited

file locks                      (-x) unlimited

end ulimit settings

Executing command: /opt/opennms/bin/runjava -r  --
-Djava.endorsed.dirs=/opt/opennms/lib/endorsed
-Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false -Xmx256m
-XX:+HeapDumpOnOutOfMemoryError  -XX:MaxPermSize=128m -jar
/opt/opennms/lib/opennms_bootstrap.jar  start  

[DEBUG] System property 'opennms.library.jicmp' not set.  Attempting to
load library using System.loadLibrary("jicmp").

[DEBUG] System property 'opennms.library.jicmp' not set.  Attempting to
load library using System.loadLibrary("jicmp").

[DEBUG] System property 'opennms.library.jicmp6' not set.  Attempting to
load library using System.loadLibrary("jicmp6").

[DEBUG] System property 'opennms.library.jicmp6' not set.  Attempting to
load library 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.RuntimeErrorException: java.lang.UnsatisfiedLinkError:
/usr/lib/libjicmp6.so: /usr/lib/libjicmp6.so: ELF file OS ABI invalid

     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBe
anServerInterceptor.java:858)

     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanE
xception(DefaultMBeanServerInterceptor.java:869)

     at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:838)

     at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

     at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:316)

     at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:239)

     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.jav
a:39)

     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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.UnsatisfiedLinkError: /usr/lib/libjicmp6.so:
/usr/lib/libjicmp6.so: ELF file OS ABI invalid

     at java.lang.ClassLoader$NativeLibrary.load(Native Method)

     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)

     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)

     at java.lang.Runtime.loadLibrary0(Runtime.java:823)

     at java.lang.System.loadLibrary(System.java:1028)

     at
org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:102)

     at
org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMessenger.
java:62)

     at
org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:152)

     at org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:242)

     at
org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:210)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

     at java.lang.reflect.Method.invoke(Method.java:597)

     at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBean
Introspector.java:93)

     at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBean
Introspector.java:27)

     at
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java
: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(DefaultMBea
nServerInterceptor.java:836)

     ... 13 more

 

 

 

 

 

Log of running /install step :

 

 

 

[root@devnms1 opt]#  /opt/opennms/bin/install -dis

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

OpenNMS Installer

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

 

Configures PostgreSQL tables, users, and other miscellaneous settings.

 

- searching for jicmp:

  - trying to load
/usr/java/jdk1.6.0_24/jre/lib/i386/server/libjicmp.so: NO

  - trying to load /usr/java/jdk1.6.0_24/jre/lib/i386/libjicmp.so: NO

  - trying to load /usr/java/jdk1.6.0_24/jre/../lib/i386/libjicmp.so: NO

  - trying to load /libjicmp.so: NO

  - trying to load /opt/opennms/lib/libjicmp.so: NO

  - trying to load /opt/opennms/lib/linux32/libjicmp.so: NO

  - trying to load /usr/java/packages/lib/i386/libjicmp.so: NO

  - trying to load /lib/libjicmp.so: NO

  - trying to load /usr/lib/libjicmp.so: NO

  - trying to load /usr/lib/jni/libjicmp.so: NO

  - trying to load /usr/lib/libjicmp.so: NO

  - trying to load /usr/local/lib/libjicmp.so: NO

  - trying to load /opt/NMSjicmp/lib/32/libjicmp.so: NO

  - trying to load /opt/NMSjicmp/lib/64/libjicmp.so: NO

  - trying to load /opt/NMSjicmp6/lib/32/libjicmp.so: NO

  - trying to load /opt/NMSjicmp6/lib/64/libjicmp.so: NO

- Failed to load the optional jicmp library.

  - This error is not fatal, since jicmp is only required for optional
features.

  - For more information, see http://www.opennms.org/index.php/jicmp

- searching for jicmp6:

  - trying to load
/usr/java/jdk1.6.0_24/jre/lib/i386/server/libjicmp6.so: NO

  - trying to load /usr/java/jdk1.6.0_24/jre/lib/i386/libjicmp6.so: NO

  - trying to load /usr/java/jdk1.6.0_24/jre/../lib/i386/libjicmp6.so:
NO

  - trying to load /libjicmp6.so: NO

  - trying to load /opt/opennms/lib/libjicmp6.so: NO

  - trying to load /opt/opennms/lib/linux32/libjicmp6.so: NO

  - trying to load /usr/java/packages/lib/i386/libjicmp6.so: NO

  - trying to load /lib/libjicmp6.so: NO

  - trying to load /usr/lib/libjicmp6.so: NO

  - trying to load /usr/lib/jni/libjicmp6.so: NO

  - trying to load /usr/lib/libjicmp6.so: NO

  - trying to load /usr/local/lib/libjicmp6.so: NO

  - trying to load /opt/NMSjicmp/lib/32/libjicmp6.so: NO

  - trying to load /opt/NMSjicmp/lib/64/libjicmp6.so: NO

  - trying to load /opt/NMSjicmp6/lib/32/libjicmp6.so: NO

  - trying to load /opt/NMSjicmp6/lib/64/libjicmp6.so: NO

- Failed to load the optional jicmp6 library.

  - This error is not fatal, since jicmp6 is only required for optional
features.

  - For more information, see http://www.opennms.org/index.php/jicmp6

- searching for jrrd:

  - trying to load /usr/java/jdk1.6.0_24/jre/lib/i386/server/libjrrd.so:
NO

  - trying to load /usr/java/jdk1.6.0_24/jre/lib/i386/libjrrd.so: NO

  - trying to load /usr/java/jdk1.6.0_24/jre/../lib/i386/libjrrd.so: NO

  - trying to load /libjrrd.so: NO

  - trying to load /opt/opennms/lib/libjrrd.so: NO

  - trying to load /opt/opennms/lib/linux32/libjrrd.so: NO

  - trying to load /usr/java/packages/lib/i386/libjrrd.so: NO

  - trying to load /lib/libjrrd.so: NO

  - trying to load /usr/lib/libjrrd.so: NO

  - trying to load /usr/lib/jni/libjrrd.so: NO

  - trying to load /usr/lib/libjrrd.so: NO

  - trying to load /usr/local/lib/libjrrd.so: NO

  - trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO

  - trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO

  - trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO

  - trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO

- Failed to load the optional jrrd library.

  - This error is not fatal, since jrrd is only required for optional
features.

  - For more information, see http://www.opennms.org/index.php/jrrd

- using SQL directory... /opt/opennms/etc

- using create.sql... /opt/opennms/etc/create.sql

* using 'postgres' as the PostgreSQL user for OpenNMS

* using 'opennms' as the PostgreSQL database name for OpenNMS

- checking if database "opennms" is unicode... ALREADY UNICODE

- Checking for old import files in /opt/opennms/etc... DONE

- checking if iplike is usable... YES

- checking if iplike supports IPv6... YES

- checking for stale eventtime.so references... OK

 

Installer completed successfully!

[root@devnms1 opt]#

 


---------------------------------------------------------------------------
This email communication may contain CONFIDENTIAL, PRIVILEGED and/or
LEGALLY PROTECTED information and is intended only for the named
recipient(s). Any unauthorized use, dissemination, copying or forwarding
is strictly prohibited. If you are not the intended recipient and have 
received this email communication in error, please notify the sender 
immediately, delete it and destroy all copies of this email.
---------------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.