Re: Opennms Error issue
"KHAN, ABID" <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <77C4818FF465B148A84419A5736DAF771216C9@MISOUT7MSGUSR9N.ITServices.sbc.com> |
Ok, I just verified running following command for RPM/YUM and it's installed as below: # yum list jicmp jicmp6 Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Installed Packages jicmp.x86_64 1.2.1-1 @opennms-stable-rhel6 jicmp6.x86_64 1.0.1-1 @opennms-stable-rhel6 And also I created that opennms.conf file, added JAVA_HEAP_SIZE = 1024, but still getting same below error. Anything else I need to check on?? Appreciate your help... -----Original Message----- From: Roskens, Ronald [mailto:[email protected]] Sent: Tuesday, October 09, 2012 6:44 PM To: Installation questions and help Subject: Re: [opennms-install] Opennms Error issue That would depend on how you installed OpenNMS. If you followed the instructions on the wiki, http://www.opennms.org/wiki/Tutorial_Installation, then the jicmp and jicmp6 packages would have been installed if you accepted them to be installed. If your on a system with RPM/YUM, then you'd see something like this: # yum list jicmp jicmp6 Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Installed Packages jicmp.x86_64 1.2.1-1 @opennms-stable-rhel6 jicmp6.x86_64 1.0.1-1 @opennms-stable-rhel6 You'd have to figure out the corresponding command for a debian based system. Maybe this will work? # apt-get list jicmp jicmp6 # apt-get -y install jicmp jicmp6 Ron -----Original Message----- From: KHAN, ABID [mailto:[email protected]] Sent: Tuesday, October 09, 2012 1:35 PM To: [email protected] Subject: Re: [opennms-install] Opennms Error issue All: I followed the below instruction creating that opennms.conf file and inserting java heap size. Re-ran the opennms service, still see below error. Also, how should I verify if jicmp & jicmp6 are installed correctly etc? Appreciate your guidance. Error Snapshot: Tue Oct 9 14:06:17 EDT 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) 30484 max locked memory (kbytes, -l) 64 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) 1024 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: no jicmp6 in java.library.path at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:841) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791) 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.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.UnsatisfiedLinkError: no jicmp6 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) 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:244) at org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) ------------------------------------------ Please create below file (if not already) /etc/opennms/opennms.conf and then add below line, and then try to start oepnnms.... JAVA_HEAP_SIZE=1024 Regards, B~Mork On 9/27/12, KHAN, ABID <[email protected]> wrote: > Hello, > > I am trying to run the opennms in a Linux RedHat 6.2 server. I > followed all the steps indicated in opennms website to install the > tool. When I try to run "/sbin/service opennms start", I am getting > following error, looks like I am getting 2 errors, one is related to > local hostname and another one related to jicmp/jicmp6. > > I then verified /etc/hosts, it has my machine hostname with ip address > and local domain info. Checked the jdk version and pointing, java - > version, /usr/java folders, couldn't find any issue there. > > Please advise what should I do next? > > > [root@MTINFNETMON03 ~]# cat /opt/opennms/logs/daemon/output.log | > more > ---------------------------------------------------------------------- > -------- > Thu Sep 20 13:27:58 EDT 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) 30484 > max locked memory (kbytes, -l) 64 > 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) 1024 > 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.su > n.management.jmxremote.ssl=false > -Dcom.sun.management.jmxremote.authenticate=false -Xmx25 6m > -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=128m -jar > /opt/opennms/lib/opennms_bo otstrap.jar start > Error: Exception thrown by the agent : java.net.MalformedURLException: > Local host name un > known: java.net.UnknownHostException: MTINFNETMON03: MTINFNETMON03: > Name or service not k nown > ---------------------------------------------------------------------- > -------- > Thu Sep 20 17:04:10 EDT 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) 30484 > max locked memory (kbytes, -l) 64 > 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) 1024 > 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.su > n.management.jmxremote.ssl=false > -Dcom.sun.management.jmxremote.authenticate=false -Xmx25 6m > -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=128m -jar > /opt/opennms/lib/opennms_bo otstrap.jar start [DEBUG] System property > 'opennms.library.jicmp' not set. Attempting to load library usin g > System.loadLibrary("jicmp"). > [DEBUG] System property 'opennms.library.jicmp' not set. Attempting > to load library usin g System.loadLibrary("jicmp"). > [DEBUG] System property 'opennms.library.jicmp6' not set. Attempting > to load library usi ng System.loadLibrary("jicmp6"). > [DEBUG] System property 'opennms.library.jicmp6' not set. Attempting > to load library usi ng 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: no > jicmp6 in java > .library.path > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultM > BeanServ > erInterceptor.java:841) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBea > nExcepti > on(DefaultMBeanServerInterceptor.java:852) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB > eanServe > rInterceptor.java:821) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791) > 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.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.j > ava:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.lang.UnsatisfiedLinkError: no jicmp6 in java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) > at java.lang.Runtime.loadLibrary0(Runtime.java:845) > at java.lang.System.loadLibrary(System.java:1084) > at > org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:102) > > > > > > > ---------------------------------------------------------------------- > -------- > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ 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 This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ 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