Re: Opennms Error issue

Bjorn Mork <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <CAHh02P0N08NJuoFAPPpDR0qqtU2U3UdRH38LZbk72WXEzza+1g@mail.gmail.com>
Abid,

Below error has three parts,

i. Memory Error

Please increase memory size for JAVA_HEAP_SIZE as better as you can
according to available memory, for this please create opennms.conf in your
install directory and add below lines

JAVA_HEAP_SIZE=1024

http://www.opennms.org/wiki/Performance_tuning#Tuning_heap_size

ii.  jicmp6

Please verify that your have installed jicmp6 correctly, or you need to
install these mandatory libraries, after these try to start opennms..


iii. TestLoadLiber....
Hopefully this issue will be resolved after increasing memory size for
JAVA...and loading jicmp...

Regards,
B~Mork.




On Thu, Sep 27, 2012 at 9:18 PM, 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(DefaultMBeanServ
> erInterceptor.java:841)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanExcepti
> on(DefaultMBeanServerInterceptor.java:852)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServe
> 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(DelegatingMethodAccessorImpl.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)
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> 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
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
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
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.