Opennms is not starting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Opennms is not starting

k.nithyanandan

Hi,

 

I am newbie to opennms, I have installed Opennms 19.0.1 version and configured PostgreSQL 9.3.

When I was trying to start the opennms,  I am getting the error as mentioned below.

I tried to changes the java path but its not working. Can someone help me to resolve this issue.

 

[root@INCHT1029 bin]# ./opennms -vf start

Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might not be running or could be starting up or shutting down): Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:

        java.net.ConnectException: Connection refused (Connection refused)]

running ulimit -a

core file size          (blocks, -c) 0

data seg size           (kbytes, -d) unlimited

scheduling priority             (-e) 0

file size               (blocks, -f) unlimited

pending signals                 (-i) 31377

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) 31377

virtual memory          (kbytes, -v) unlimited

file locks                      (-x) unlimited

Executing command: /opt/opennms/bin/runjava -r  -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed   -Dopennms.home=/opt/opennms -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError  -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.login.config=opennms -Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxremote.access -DisThreadContextMapInheritable=true -Dgroovy.use.classvalue=true -XX:MaxMetaspaceSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start

[GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]

[GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]

[GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]

[GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]

[GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]

[GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]

[GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]

[Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825 secs]

[DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this location.

[INFO] Successfully loaded jicmp library.

[DEBUG] System property 'opennms.library.jicmp6' set to '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this location.

[INFO] Successfully loaded jicmp6 library.

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.IllegalArgumentException: Unexpected exception thrown while trying to create pinger of type class org.opennms.netmgt.icmp.jni6.Jni6Pinger

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)

        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:801)

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

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

        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)

        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)

        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)

        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)

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

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

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

        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalArgumentException: Unexpected exception thrown while trying to create pinger of type class org.opennms.netmgt.icmp.jni6.Jni6Pinger

        at org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:85)

        at org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:54)

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

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

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

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

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

        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)

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

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

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

        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

        ... 13 more

Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.UnsatisfiedLinkError: org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)

        at com.google.common.cache.LocalCache.get(LocalCache.java:3937)

        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4739)

        at org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:70)

        ... 32 more

Caused by: java.lang.UnsatisfiedLinkError: org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V

        at org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native Method)

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

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

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

        at org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.java:363)

        at org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFactory.java:74)

        at org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFactory.java:70)

        at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4742)

        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)

        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)

        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)

        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)

        ... 35 more

 

 

Regards,

Nithyanandan K




This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

Seth Leger-2
Hi,

It looks like you do not have the jicmp6 library installed correctly.

-- Seth


On 3/16/17 6:11 AM, [hidden email] wrote:

> Hi,
>
>  
>
> I am newbie to opennms, I have installed Opennms 19.0.1 version and
> configured PostgreSQL 9.3.
>
> When I was trying to start the opennms,  I am getting the error as
> mentioned below.
>
> I tried to changes the java path but its not working. Can someone help
> me to resolve this issue.
>
>  
>
> [root@INCHT1029 bin]# ./opennms -vf start
>
> Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might
> not be running or could be starting up or shutting down): Failed to
> retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root
> exception is java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>
>         java.net.ConnectException: Connection refused (Connection refused)]
>
> running ulimit -a
>
> core file size          (blocks, -c) 0
>
> data seg size           (kbytes, -d) unlimited
>
> scheduling priority             (-e) 0
>
> file size               (blocks, -f) unlimited
>
> pending signals                 (-i) 31377
>
> 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) 31377
>
> virtual memory          (kbytes, -v) unlimited
>
> file locks                      (-x) unlimited
>
> Executing command: /opt/opennms/bin/runjava -r  --
> -Djava.endorsed.dirs=/opt/opennms/lib/endorsed  
> -Dopennms.home=/opt/opennms -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
> -Dcom.sun.management.jmxremote.authenticate=true
> -Dcom.sun.management.jmxremote.login.config=opennms
> -Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxremote.access
> -DisThreadContextMapInheritable=true -Dgroovy.use.classvalue=true
> -XX:MaxMetaspaceSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp
> -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
>
> [GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]
>
> [GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]
>
> [GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]
>
> [GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]
>
> [GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]
>
> [GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]
>
> [GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]
>
> [Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825 secs]
>
> [DEBUG] System property 'opennms.library.jicmp' set to
> '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
> location.
>
> [INFO] Successfully loaded jicmp library.
>
> [DEBUG] System property 'opennms.library.jicmp6' set to
> '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this
> location.
>
> [INFO] Successfully loaded jicmp6 library.
>
> 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.IllegalArgumentException: Unexpected exception thrown while
> trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
>
>         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:801)
>
>         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
>
>         at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
>
>         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
>
>         at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
>
>         at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
>
>         at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
>
>         at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.lang.IllegalArgumentException: Unexpected exception
> thrown while trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:85)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:54)
>
>         at org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:243)
>
>         at
> org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:229)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
>
>         at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
>
>         at
> com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
>
>         at
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
>
>         ... 13 more
>
> Caused by: com.google.common.util.concurrent.ExecutionError:
> java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
>
>         at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4739)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPingerFactory.java:70)
>
>         ... 32 more
>
> Caused by: java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native
> Method)
>
>         at
> org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:128)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMessenger.java:65)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:161)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.java:363)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFactory.java:74)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFactory.java:70)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4742)
>
>         at
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
>
>         at
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
>
>         at
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
>
>         ... 35 more
>
>  
>
>  
>
> Regards,
>
> Nithyanandan K
>
>
> ------------------------------------------------------------------------
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise confidential information. If you
> have received it in error, please notify the sender immediately and
> delete the original. Any other use of the e-mail by you is prohibited.
> Where allowed by local law, electronic communications with Accenture and
> its affiliates, including e-mail and instant messaging (including
> content), may be scanned by our systems for the purposes of information
> security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________________________
>
> www.accenture.com
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
Hi Seth,

I have reconfigured the JICMP, after that I started the opennms.
But again its giving the error as mentioned below.

[root@localhost bin]# opennms -v start
Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might not be run                                                                                                                     ning or could be starting up or shutting down): Failed to retrieve RMIServer stu                                                                                                                     b: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectE                                                                                                                     xception: Connection refused to host: 127.0.0.1; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)]
(not waiting for startup)                                  [  OK  ]
[root@ localhost bin]# opennms -v status
OpenNMS.Eventd         : start_pending
OpenNMS.Trapd          : start_pending
OpenNMS.Queued         : start_pending
OpenNMS.Actiond        : start_pending
OpenNMS.Notifd         : start_pending
OpenNMS.Scriptd        : start_pending
OpenNMS.Rtcd           : start_pending
OpenNMS.Pollerd        : start_pending
OpenNMS.PollerBackEnd  : start_pending
OpenNMS.EnhancedLinkd  : start_pending
OpenNMS.Ticketer       : start_pending
OpenNMS.Collectd       : start_pending
OpenNMS.Discovery      : start_pending
OpenNMS.Vacuumd        : start_pending
OpenNMS.EventTranslator: start_pending
OpenNMS.PassiveStatusd : start_pending
OpenNMS.Statsd         : start_pending
OpenNMS.Provisiond     : start_pending
OpenNMS.Reportd        : start_pending
OpenNMS.Bsmd           : start_pending
OpenNMS.Alarmd         : start_pending
OpenNMS.Ackd           : start_pending
OpenNMS.JettyServer    : start_pending
opennms is partially running
[root@ localhost bin]

When I I checked the log I am getting the error as mentioned below.

An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.events.daemon-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)


Regards,
Nithyanandan K

-----Original Message-----
From: Seth Leger [mailto:[hidden email]]
Sent: Thursday, March 16, 2017 6:41 PM
To: General OpenNMS Discussion <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting

Hi,

It looks like you do not have the jicmp6 library installed correctly.

-- Seth


On 3/16/17 6:11 AM, [hidden email] wrote:

> Hi,
>
>
>
> I am newbie to opennms, I have installed Opennms 19.0.1 version and
> configured PostgreSQL 9.3.
>
> When I was trying to start the opennms,  I am getting the error as
> mentioned below.
>
> I tried to changes the java path but its not working. Can someone help
> me to resolve this issue.
>
>
>
> [root@INCHT1029 bin]# ./opennms -vf start
>
> Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might
> not be running or could be starting up or shutting down): Failed to
> retrieve RMIServer stub: javax.naming.ServiceUnavailableException
> [Root exception is java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>
>         java.net.ConnectException: Connection refused (Connection
> refused)]
>
> running ulimit -a
>
> core file size          (blocks, -c) 0
>
> data seg size           (kbytes, -d) unlimited
>
> scheduling priority             (-e) 0
>
> file size               (blocks, -f) unlimited
>
> pending signals                 (-i) 31377
>
> 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) 31377
>
> virtual memory          (kbytes, -v) unlimited
>
> file locks                      (-x) unlimited
>
> Executing command: /opt/opennms/bin/runjava -r  --
> -Djava.endorsed.dirs=/opt/opennms/lib/endorsed
> -Dopennms.home=/opt/opennms -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
> -Dcom.sun.management.jmxremote.authenticate=true
> -Dcom.sun.management.jmxremote.login.config=opennms
> -Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxremote.
> access -DisThreadContextMapInheritable=true
> -Dgroovy.use.classvalue=true -XX:MaxMetaspaceSize=256m
> -Djava.io.tmpdir=/opt/opennms/data/tmp
> -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
>
> [GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]
>
> [GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]
>
> [GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]
>
> [GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]
>
> [GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]
>
> [GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]
>
> [GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]
>
> [Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825
> secs]
>
> [DEBUG] System property 'opennms.library.jicmp' set to
> '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
> location.
>
> [INFO] Successfully loaded jicmp library.
>
> [DEBUG] System property 'opennms.library.jicmp6' set to
> '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this
> location.
>
> [INFO] Successfully loaded jicmp6 library.
>
> 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.IllegalArgumentException: Unexpected exception thrown while
> trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultM
> BeanServerInterceptor.java:839)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBea
> nException(DefaultMBeanServerInterceptor.java:852)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
> eanServerInterceptor.java:821)
>
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
>
>         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
>
>         at
> org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
>
>         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
>
>         at
> org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
>
>         at
> org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
>
>         at
> org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
>
>         at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.lang.IllegalArgumentException: Unexpected exception
> thrown while trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:85)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:54)
>
>         at
> org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:243)
>
>         at
> org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:229)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBe
> anIntrospector.java:112)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBe
> anIntrospector.java:46)
>
>         at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.ja
> va:237)
>
>         at
> com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
>
>         at
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
> eanServerInterceptor.java:819)
>
>         ... 13 more
>
> Caused by: com.google.common.util.concurrent.ExecutionError:
> java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
>
>         at
> com.google.common.cache.LocalCache.get(LocalCache.java:3937)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.jav
> a:4739)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:70)
>
>         ... 32 more
>
> Caused by: java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native
> Method)
>
>         at
> org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:128)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMessenge
> r.java:65)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:16
> 1)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.jav
> a:363)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> tory.java:74)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> tory.java:70)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.
> java:4742)
>
>         at
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(Lo
> calCache.java:3527)
>
>         at
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:23
> 19)
>
>         at
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.
> java:2282)
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
>
>         ... 35 more
>
>
>
>
>
> Regards,
>
> Nithyanandan K
>
>
> ----------------------------------------------------------------------
> --
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise confidential information. If you
> have received it in error, please notify the sender immediately and
> delete the original. Any other use of the e-mail by you is prohibited.
> Where allowed by local law, electronic communications with Accenture
> and its affiliates, including e-mail and instant messaging (including
> content), may be scanned by our systems for the purposes of
> information security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________
> ________________
>
> www.accenture.com
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org!
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&
> d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZV
> QKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yx
> k2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
>
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_in
> dex.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHr
> UK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9W
> RSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XPro
> obuS2CdhpzM&e=
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge
> .net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEH
> XJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m
> =0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-84QKq5F6qYQbN
> GNMRs53dX2XhKOgo5W6c&e=
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XProobuS2CdhpzM&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-84QKq5F6qYQbNGNMRs53dX2XhKOgo5W6c&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

Roskens, Ronald-2
Your Cassandra cluster isn't running.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]
> Sent: Thursday, March 16, 2017 9:06 AM
> To: [hidden email]
> Subject: Re: [opennms-discuss] Opennms is not starting
>
> Hi Seth,
>
> I have reconfigured the JICMP, after that I started the opennms.
> But again its giving the error as mentioned below.
>
> [root@localhost bin]# opennms -v start
> Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS
> might not be run
> ning or could be starting up or shutting down): Failed to retrieve RMIServer
> stu                                                                                                                     b:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectE
> xception: Connection refused to host: 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused (Connection refused)]
> (not waiting for startup)                                  [  OK  ]
> [root@ localhost bin]# opennms -v status
> OpenNMS.Eventd         : start_pending
> OpenNMS.Trapd          : start_pending
> OpenNMS.Queued         : start_pending
> OpenNMS.Actiond        : start_pending
> OpenNMS.Notifd         : start_pending
> OpenNMS.Scriptd        : start_pending
> OpenNMS.Rtcd           : start_pending
> OpenNMS.Pollerd        : start_pending
> OpenNMS.PollerBackEnd  : start_pending
> OpenNMS.EnhancedLinkd  : start_pending
> OpenNMS.Ticketer       : start_pending
> OpenNMS.Collectd       : start_pending
> OpenNMS.Discovery      : start_pending
> OpenNMS.Vacuumd        : start_pending
> OpenNMS.EventTranslator: start_pending
> OpenNMS.PassiveStatusd : start_pending
> OpenNMS.Statsd         : start_pending
> OpenNMS.Provisiond     : start_pending
> OpenNMS.Reportd        : start_pending
> OpenNMS.Bsmd           : start_pending
> OpenNMS.Alarmd         : start_pending
> OpenNMS.Ackd           : start_pending
> OpenNMS.JettyServer    : start_pending
> opennms is partially running
> [root@ localhost bin]
>
> When I I checked the log I am getting the error as mentioned below.
>
> An error occurred while attempting to start the "OpenNMS:Name=Eventd"
> service (class org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and
> exiting.
> javax.management.RuntimeMBeanException:
> org.springframework.beans.factory.access.BootstrapException: Unable to
> return specified BeanFactory instance: factory key [eventDaemonContext],
> from group with resource name [classpath*:beanRefContext.xml]; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'eventDaemonContext' defined in URL
> [jar:file:/opt/opennms/lib/org.opennms.features.events.daemon-
> 19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean
> 'daoContext' while setting constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'daoContext' defined in URL
> [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]:
> Instantiation of bean failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Could not
> instantiate bean class
> [org.springframework.context.support.ClassPathXmlApplicationContext]:
> Constructor threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'cassandraSession' defined in URL
> [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-
> INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed;
> nested exception is org.springframework.beans.BeanInstantiationException:
> Could not instantiate bean class
> [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw
> exception; nested exception is
> com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s)
> tried for query failed (tried: /10.240.211.186:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [/10.240.211.186:9042] Cannot connect))
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
> MBeanServerInterceptor.java:839)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeM
> BeanException(DefaultMBeanServerInterceptor.java:852)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> BeanServerInterceptor.java:821)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:
> 801)
>         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
>         at
> org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
>         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
>         at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
>         at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
>         at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
>         at java.lang.Thread.run(Thread.java:745)
>
>
> Regards,
> Nithyanandan K
>
> -----Original Message-----
> From: Seth Leger [mailto:[hidden email]]
> Sent: Thursday, March 16, 2017 6:41 PM
> To: General OpenNMS Discussion <[hidden email]>
> Subject: Re: [opennms-discuss] Opennms is not starting
>
> Hi,
>
> It looks like you do not have the jicmp6 library installed correctly.
>
> -- Seth
>
>
> On 3/16/17 6:11 AM, [hidden email] wrote:
> > Hi,
> >
> >
> >
> > I am newbie to opennms, I have installed Opennms 19.0.1 version and
> > configured PostgreSQL 9.3.
> >
> > When I was trying to start the opennms,  I am getting the error as
> > mentioned below.
> >
> > I tried to changes the java path but its not working. Can someone help
> > me to resolve this issue.
> >
> >
> >
> > [root@INCHT1029 bin]# ./opennms -vf start
> >
> > Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS
> might
> > not be running or could be starting up or shutting down): Failed to
> > retrieve RMIServer stub: javax.naming.ServiceUnavailableException
> > [Root exception is java.rmi.ConnectException: Connection refused to host:
> > 127.0.0.1; nested exception is:
> >
> >         java.net.ConnectException: Connection refused (Connection
> > refused)]
> >
> > running ulimit -a
> >
> > core file size          (blocks, -c) 0
> >
> > data seg size           (kbytes, -d) unlimited
> >
> > scheduling priority             (-e) 0
> >
> > file size               (blocks, -f) unlimited
> >
> > pending signals                 (-i) 31377
> >
> > 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) 31377
> >
> > virtual memory          (kbytes, -v) unlimited
> >
> > file locks                      (-x) unlimited
> >
> > Executing command: /opt/opennms/bin/runjava -r  --
> > -Djava.endorsed.dirs=/opt/opennms/lib/endorsed
> > -Dopennms.home=/opt/opennms -Xmx1024m -
> XX:+HeapDumpOnOutOfMemoryError
> > -Dcom.sun.management.jmxremote.authenticate=true
> > -Dcom.sun.management.jmxremote.login.config=opennms
> > -
> Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxrem
> ote.
> > access -DisThreadContextMapInheritable=true
> > -Dgroovy.use.classvalue=true -XX:MaxMetaspaceSize=256m
> > -Djava.io.tmpdir=/opt/opennms/data/tmp
> > -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
> >
> > [GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]
> >
> > [GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]
> >
> > [GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]
> >
> > [GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]
> >
> > [GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]
> >
> > [GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]
> >
> > [GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]
> >
> > [Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825
> > secs]
> >
> > [DEBUG] System property 'opennms.library.jicmp' set to
> > '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
> > location.
> >
> > [INFO] Successfully loaded jicmp library.
> >
> > [DEBUG] System property 'opennms.library.jicmp6' set to
> > '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this
> > location.
> >
> > [INFO] Successfully loaded jicmp6 library.
> >
> > 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.IllegalArgumentException: Unexpected exception thrown while
> > trying to create pinger of type class
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
> M
> > BeanServerInterceptor.java:839)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeM
> Bea
> > nException(DefaultMBeanServerInterceptor.java:852)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> B
> > eanServerInterceptor.java:821)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:
> 801)
> >
> >         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
> >
> >         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
> >
> >         at java.lang.Thread.run(Thread.java:745)
> >
> > Caused by: java.lang.IllegalArgumentException: Unexpected exception
> > thrown while trying to create pinger of type class
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:85)
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:54)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:243)
> >
> >         at
> >
> org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:22
> 9)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Standard
> MBe
> > anIntrospector.java:112)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Standard
> MBe
> > anIntrospector.java:46)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospecto
> r.ja
> > va:237)
> >
> >         at
> > com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> B
> > eanServerInterceptor.java:819)
> >
> >         ... 13 more
> >
> > Caused by: com.google.common.util.concurrent.ExecutionError:
> > java.lang.UnsatisfiedLinkError:
> > org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
> >
> >         at
> > com.google.common.cache.LocalCache.get(LocalCache.java:3937)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.ja
> v
> > a:4739)
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:70)
> >
> >         ... 32 more
> >
> > Caused by: java.lang.UnsatisfiedLinkError:
> > org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
> >
> >         at org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native
> > Method)
> >
> >         at
> >
> org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:128)
> >
> >         at
> >
> org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMesseng
> e
> > r.java:65)
> >
> >         at
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:16
> > 1)
> >
> >         at
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.jav
> > a:363)
> >
> >         at
> > org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> > tory.java:74)
> >
> >         at
> > org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> > tory.java:70)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCach
> e.
> > java:4742)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(
> Lo
> > calCache.java:3527)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:
> 23
> > 19)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCac
> he.
> > java:2282)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
> >
> >         ... 35 more
> >
> >
> >
> >
> >
> > Regards,
> >
> > Nithyanandan K
> >
> >
> > ----------------------------------------------------------------------
> > --
> >
> > This message is for the designated recipient only and may contain
> > privileged, proprietary, or otherwise confidential information. If you
> > have received it in error, please notify the sender immediately and
> > delete the original. Any other use of the e-mail by you is prohibited.
> > Where allowed by local law, electronic communications with Accenture
> > and its affiliates, including e-mail and instant messaging (including
> > content), may be scanned by our systems for the purposes of
> > information security and assessment of internal compliance with Accenture
> policy.
> >
> __________________________________________________________
> ____________
> > ________________
> >
> > www.accenture.com
> >
> >
> > ----------------------------------------------------------------------
> > -------- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org!
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__sdm.link_slashdot&
> > d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZV
> >
> QKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcE
> dl_BY36Yx
> > k2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
> >
> >
> >
> > _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.opennms.org_in
> > dex.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHr
> >
> UK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM
> &m=0tKfJj9W
> > RSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-
> jjxqkM2XPro
> > obuS2CdhpzM&e=
> >
> > opennms-discuss mailing list
> >
> > To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge
> > .net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEH
> >
> XJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0
> Q3LYLYcM&m
> > =0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-
> 84QKq5F6qYQbN
> > GNMRs53dX2XhKOgo5W6c&e=
> >
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.opennms.org_index.php_Mailing-5FList-
> 5FFAQ&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XProobuS2CdhpzM&e=
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__lists.sourceforge.net_lists_listinfo_opennms-
> 2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=hY-U3dTWb-84QKq5F6qYQbNGNMRs53dX2XhKOgo5W6c&e=
>
> ________________________________
>
> This message is for the designated recipient only and may contain privileged,
> proprietary, or otherwise confidential information. If you have received it in
> error, please notify the sender immediately and delete the original. Any
> other use of the e-mail by you is prohibited. Where allowed by local law,
> electronic communications with Accenture and its affiliates, including e-mail
> and instant messaging (including content), may be scanned by our systems
> for the purposes of information security and assessment of internal
> compliance with Accenture policy.
> __________________________________________________________
> ____________________________
>
> www.accenture.com
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss

----------------------------------------------------------------------
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.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

Seibold, Michael-2
Try following:

- Stop opennms
- Remove everything below $OPENNMS_HOME/data (probably /opt/opennms/data)
- Start opennms

-Michael

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
Hi Michael,

Thanks for the reply.
I tried the steps as mentioned but still I am not able to start the opennms.

[root@localhost bin]# opennms -v start
Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might not be running or could be starting up or shutting down): Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)]
(not waiting for startup)                                  [  OK  ]
[root@ localhost bin]# ./opennms -v status
OpenNMS.Eventd         : start_pending
OpenNMS.Trapd          : start_pending
OpenNMS.Queued         : start_pending
OpenNMS.Actiond        : start_pending
OpenNMS.Notifd         : start_pending
OpenNMS.Scriptd        : start_pending
OpenNMS.Rtcd           : start_pending
OpenNMS.Pollerd        : start_pending
OpenNMS.PollerBackEnd  : start_pending
OpenNMS.EnhancedLinkd  : start_pending
OpenNMS.Ticketer       : start_pending
OpenNMS.Collectd       : start_pending
OpenNMS.Discovery      : start_pending
OpenNMS.Vacuumd        : start_pending
OpenNMS.EventTranslator: start_pending
OpenNMS.PassiveStatusd : start_pending
OpenNMS.Statsd         : start_pending
OpenNMS.Provisiond     : start_pending
OpenNMS.Reportd        : start_pending
OpenNMS.Bsmd           : start_pending
OpenNMS.Alarmd         : start_pending
OpenNMS.Ackd           : start_pending
OpenNMS.JettyServer    : start_pending
opennms is partially running

In the output log I am getting the error mentioned below.

[Full GC (Metadata GC Threshold)  139690K->112329K(206844K), 0.8648015 secs]
[GC (Allocation Failure)  187337K->116448K(271572K), 0.0124374 secs]
An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.events.daemon-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.events.daemon-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:403)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:79)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:131)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


Regards,
Nithyanandan K

-----Original Message-----
From: Seibold, Michael [mailto:[hidden email]]
Sent: Thursday, March 16, 2017 8:45 PM
To: General OpenNMS Discussion <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting

Try following:

- Stop opennms
- Remove everything below $OPENNMS_HOME/data (probably /opt/opennms/data)
- Start opennms

-Michael

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=dh2xonwoN5wBJkeLY_135KqpiR8v8_O1AXToTUAxPbs&s=d6YwJoQ-1qTi2lFl0WpaSf5lKDV19sNx2zmNLf6ygUo&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=dh2xonwoN5wBJkeLY_135KqpiR8v8_O1AXToTUAxPbs&s=94F2smbg14frEGAulAJ7SVzmQtsVg69ca27fl9inNZI&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=dh2xonwoN5wBJkeLY_135KqpiR8v8_O1AXToTUAxPbs&s=EQP3IlvO6eDaGku3t-p9FXy3Qp3GamX_u1XWKy_QBb8&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
In reply to this post by Roskens, Ronald-2
Hi Ronald,

I have not configured Cassandra cluster, but I have done the changes mentioned by Michael but still I am not able to start the application.
It seems some Java Bean error.

javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:403)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:79)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:131)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


Regards,
Nithyanandan K

-----Original Message-----
From: Roskens, Ronald [mailto:[hidden email]]
Sent: Thursday, March 16, 2017 8:13 PM
To: [hidden email]
Subject: Re: [opennms-discuss] Opennms is not starting

Your Cassandra cluster isn't running.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]
> Sent: Thursday, March 16, 2017 9:06 AM
> To: [hidden email]
> Subject: Re: [opennms-discuss] Opennms is not starting
>
> Hi Seth,
>
> I have reconfigured the JICMP, after that I started the opennms.
> But again its giving the error as mentioned below.
>
> [root@localhost bin]# opennms -v start Starting OpenNMS: Could not
> connect to the OpenNMS JVM (OpenNMS might not be run ning or could be
> starting up or shutting down): Failed to retrieve RMIServer
> stu                                                                                                                     b:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectE
> xception: Connection refused to host: 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused (Connection refused)]
> (not waiting for startup)                                  [  OK  ]
> [root@ localhost bin]# opennms -v status
> OpenNMS.Eventd         : start_pending
> OpenNMS.Trapd          : start_pending
> OpenNMS.Queued         : start_pending
> OpenNMS.Actiond        : start_pending
> OpenNMS.Notifd         : start_pending
> OpenNMS.Scriptd        : start_pending
> OpenNMS.Rtcd           : start_pending
> OpenNMS.Pollerd        : start_pending
> OpenNMS.PollerBackEnd  : start_pending OpenNMS.EnhancedLinkd  :
> start_pending
> OpenNMS.Ticketer       : start_pending
> OpenNMS.Collectd       : start_pending
> OpenNMS.Discovery      : start_pending
> OpenNMS.Vacuumd        : start_pending
> OpenNMS.EventTranslator: start_pending OpenNMS.PassiveStatusd :
> start_pending
> OpenNMS.Statsd         : start_pending
> OpenNMS.Provisiond     : start_pending
> OpenNMS.Reportd        : start_pending
> OpenNMS.Bsmd           : start_pending
> OpenNMS.Alarmd         : start_pending
> OpenNMS.Ackd           : start_pending
> OpenNMS.JettyServer    : start_pending
> opennms is partially running
> [root@ localhost bin]
>
> When I I checked the log I am getting the error as mentioned below.
>
> An error occurred while attempting to start the "OpenNMS:Name=Eventd"
> service (class org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down
> and exiting.
> javax.management.RuntimeMBeanException:
> org.springframework.beans.factory.access.BootstrapException: Unable to
> return specified BeanFactory instance: factory key
> [eventDaemonContext], from group with resource name
> [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'eventDaemonContext' defined in URL
> [jar:file:/opt/opennms/lib/org.opennms.features.events.daemon-
> 19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean
> 'daoContext' while setting constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'daoContext' defined in URL
> [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]:
> Instantiation of bean failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Could not
> instantiate bean class
> [org.springframework.context.support.ClassPathXmlApplicationContext]:
> Constructor threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'cassandraSession' defined in URL
> [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META
> -
> INF/opennms/applicationContext-newts.xml]: Instantiation of bean
> failed; nested exception is org.springframework.beans.BeanInstantiationException:
> Could not instantiate bean class
> [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw
> exception; nested exception is
> com.datastax.driver.core.exceptions.NoHostAvailableException: All
> host(s) tried for query failed (tried: /10.240.211.186:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [/10.240.211.186:9042] Cannot connect))
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
> MBeanServerInterceptor.java:839)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeM
> BeanException(DefaultMBeanServerInterceptor.java:852)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> BeanServerInterceptor.java:821)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:
> 801)
>         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
>         at
> org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
>         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
>         at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
>         at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
>         at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
>         at java.lang.Thread.run(Thread.java:745)
>
>
> Regards,
> Nithyanandan K
>
> -----Original Message-----
> From: Seth Leger [mailto:[hidden email]]
> Sent: Thursday, March 16, 2017 6:41 PM
> To: General OpenNMS Discussion <[hidden email]>
> Subject: Re: [opennms-discuss] Opennms is not starting
>
> Hi,
>
> It looks like you do not have the jicmp6 library installed correctly.
>
> -- Seth
>
>
> On 3/16/17 6:11 AM, [hidden email] wrote:
> > Hi,
> >
> >
> >
> > I am newbie to opennms, I have installed Opennms 19.0.1 version and
> > configured PostgreSQL 9.3.
> >
> > When I was trying to start the opennms,  I am getting the error as
> > mentioned below.
> >
> > I tried to changes the java path but its not working. Can someone
> > help me to resolve this issue.
> >
> >
> >
> > [root@INCHT1029 bin]# ./opennms -vf start
> >
> > Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS
> might
> > not be running or could be starting up or shutting down): Failed to
> > retrieve RMIServer stub: javax.naming.ServiceUnavailableException
> > [Root exception is java.rmi.ConnectException: Connection refused to host:
> > 127.0.0.1; nested exception is:
> >
> >         java.net.ConnectException: Connection refused (Connection
> > refused)]
> >
> > running ulimit -a
> >
> > core file size          (blocks, -c) 0
> >
> > data seg size           (kbytes, -d) unlimited
> >
> > scheduling priority             (-e) 0
> >
> > file size               (blocks, -f) unlimited
> >
> > pending signals                 (-i) 31377
> >
> > 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) 31377
> >
> > virtual memory          (kbytes, -v) unlimited
> >
> > file locks                      (-x) unlimited
> >
> > Executing command: /opt/opennms/bin/runjava -r  --
> > -Djava.endorsed.dirs=/opt/opennms/lib/endorsed
> > -Dopennms.home=/opt/opennms -Xmx1024m -
> XX:+HeapDumpOnOutOfMemoryError
> > -Dcom.sun.management.jmxremote.authenticate=true
> > -Dcom.sun.management.jmxremote.login.config=opennms
> > -
> Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxrem
> ote.
> > access -DisThreadContextMapInheritable=true
> > -Dgroovy.use.classvalue=true -XX:MaxMetaspaceSize=256m
> > -Djava.io.tmpdir=/opt/opennms/data/tmp
> > -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
> >
> > [GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]
> >
> > [GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]
> >
> > [GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]
> >
> > [GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]
> >
> > [GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]
> >
> > [GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]
> >
> > [GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]
> >
> > [Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825
> > secs]
> >
> > [DEBUG] System property 'opennms.library.jicmp' set to
> > '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
> > location.
> >
> > [INFO] Successfully loaded jicmp library.
> >
> > [DEBUG] System property 'opennms.library.jicmp6' set to
> > '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from
> > this location.
> >
> > [INFO] Successfully loaded jicmp6 library.
> >
> > 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.IllegalArgumentException: Unexpected exception thrown
> > while trying to create pinger of type class
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
> M
> > BeanServerInterceptor.java:839)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeM
> Bea
> > nException(DefaultMBeanServerInterceptor.java:852)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> B
> > eanServerInterceptor.java:821)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:
> 801)
> >
> >         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
> >
> >         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
> >
> >         at java.lang.Thread.run(Thread.java:745)
> >
> > Caused by: java.lang.IllegalArgumentException: Unexpected exception
> > thrown while trying to create pinger of type class
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:85)
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:54)
> >
> >         at
> > org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:243)
> >
> >         at
> >
> org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:22
> 9)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
> >
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > ava:62)
> >
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> s
> > orImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Standard
> MBe
> > anIntrospector.java:112)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Standard
> MBe
> > anIntrospector.java:46)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospecto
> r.ja
> > va:237)
> >
> >         at
> > com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
> >
> >         at
> >
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
> >
> >         at
> >
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
> B
> > eanServerInterceptor.java:819)
> >
> >         ... 13 more
> >
> > Caused by: com.google.common.util.concurrent.ExecutionError:
> > java.lang.UnsatisfiedLinkError:
> > org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
> >
> >         at
> > com.google.common.cache.LocalCache.get(LocalCache.java:3937)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.ja
> v
> > a:4739)
> >
> >         at
> >
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> > erFactory.java:70)
> >
> >         ... 32 more
> >
> > Caused by: java.lang.UnsatisfiedLinkError:
> > org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
> >
> >         at
> > org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native
> > Method)
> >
> >         at
> >
> org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:128)
> >
> >         at
> >
> org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMesseng
> e
> > r.java:65)
> >
> >         at
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:
> > 16
> > 1)
> >
> >         at
> > org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.j
> > av
> > a:363)
> >
> >         at
> > org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerF
> > ac
> > tory.java:74)
> >
> >         at
> > org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerF
> > ac
> > tory.java:70)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCach
> e.
> > java:4742)
> >
> >         at
> >
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(
> Lo
> > calCache.java:3527)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:
> 23
> > 19)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCac
> he.
> > java:2282)
> >
> >         at
> >
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
> >
> >         ... 35 more
> >
> >
> >
> >
> >
> > Regards,
> >
> > Nithyanandan K
> >
> >
> > --------------------------------------------------------------------
> > --
> > --
> >
> > This message is for the designated recipient only and may contain
> > privileged, proprietary, or otherwise confidential information. If
> > you have received it in error, please notify the sender immediately
> > and delete the original. Any other use of the e-mail by you is prohibited.
> > Where allowed by local law, electronic communications with Accenture
> > and its affiliates, including e-mail and instant messaging
> > (including content), may be scanned by our systems for the purposes
> > of information security and assessment of internal compliance with
> > Accenture
> policy.
> >
> __________________________________________________________
> ____________
> > ________________
> >
> > www.accenture.com
> >
> >
> > --------------------------------------------------------------------
> > --
> > -------- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org!
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__sdm.link_slashdot&
> > d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZV
> >
> QKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcE
> dl_BY36Yx
> > k2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
> >
> >
> >
> > _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.opennms.org_in
> > dex.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHr
> >
> UK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM
> &m=0tKfJj9W
> > RSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-
> jjxqkM2XPro
> > obuS2CdhpzM&e=
> >
> > opennms-discuss mailing list
> >
> > To *unsubscribe* or change your subscription options, see the bottom
> > of
> this page:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourcefor
> > ge
> > .net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEH
> >
> XJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0
> Q3LYLYcM&m
> > =0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-
> 84QKq5F6qYQbN
> > GNMRs53dX2XhKOgo5W6c&e=
> >
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org!
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.opennms.org_index.php_Mailing-5FList-
> 5FFAQ&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XProobuS2CdhpzM&e=
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom
> of this page:
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__lists.sourceforge.net_lists_listinfo_opennms-
> 2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-
> DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VC
> FNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y
> &s=hY-U3dTWb-84QKq5F6qYQbNGNMRs53dX2XhKOgo5W6c&e=
>
> ________________________________
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise confidential information. If you
> have received it in error, please notify the sender immediately and
> delete the original. Any other use of the e-mail by you is prohibited.
> Where allowed by local law, electronic communications with Accenture
> and its affiliates, including e-mail and instant messaging (including
> content), may be scanned by our systems for the purposes of
> information security and assessment of internal compliance with Accenture policy.
> __________________________________________________________
> ____________________________
>
> www.accenture.com
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org!
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&
> d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZV
> QKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=kbD9c2WjGIQIcLlBOQNtjPWQowhXpbirwWbok
> Cd99vU&s=24VAViTILIE-aqWGzhIl-T1DHZOEkx9u1KNa3oXVioE&e=
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_in
> dex.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHr
> UK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=kbD9c2Wj
> GIQIcLlBOQNtjPWQowhXpbirwWbokCd99vU&s=FA_4WrtfxW3DMYsG9cj5GSIvLqE4bs1G
> b2B69xdPcTQ&e=
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom
> of this page:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge
> .net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEH
> XJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m
> =kbD9c2WjGIQIcLlBOQNtjPWQowhXpbirwWbokCd99vU&s=k5NuJ6BeWWfduBexOeV33l8
> y34yaUtXvsQBk0nd1IvI&e=

----------------------------------------------------------------------
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.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=kbD9c2WjGIQIcLlBOQNtjPWQowhXpbirwWbokCd99vU&s=24VAViTILIE-aqWGzhIl-T1DHZOEkx9u1KNa3oXVioE&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=kbD9c2WjGIQIcLlBOQNtjPWQowhXpbirwWbokCd99vU&s=FA_4WrtfxW3DMYsG9cj5GSIvLqE4bs1Gb2B69xdPcTQ&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=kbD9c2WjGIQIcLlBOQNtjPWQowhXpbirwWbokCd99vU&s=k5NuJ6BeWWfduBexOeV33l8y34yaUtXvsQBk0nd1IvI&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
In reply to this post by Seth Leger-2
Hi Seth,

I have reinstalled the JICMP but again its failing to start.

javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraSession' defined in URL [jar:file:/opt/opennms/lib/org.opennms.features.newts-19.0.1.jar!/META-INF/opennms/applicationContext-newts.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.opennms.newts.cassandra.CassandraSessionImpl]: Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:403)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:79)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:131)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


Regards,
Nithyanandan K

-----Original Message-----
From: Seth Leger [mailto:[hidden email]]
Sent: Thursday, March 16, 2017 6:41 PM
To: General OpenNMS Discussion <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting

Hi,

It looks like you do not have the jicmp6 library installed correctly.

-- Seth


On 3/16/17 6:11 AM, [hidden email] wrote:

> Hi,
>
>
>
> I am newbie to opennms, I have installed Opennms 19.0.1 version and
> configured PostgreSQL 9.3.
>
> When I was trying to start the opennms,  I am getting the error as
> mentioned below.
>
> I tried to changes the java path but its not working. Can someone help
> me to resolve this issue.
>
>
>
> [root@INCHT1029 bin]# ./opennms -vf start
>
> Starting OpenNMS: Could not connect to the OpenNMS JVM (OpenNMS might
> not be running or could be starting up or shutting down): Failed to
> retrieve RMIServer stub: javax.naming.ServiceUnavailableException
> [Root exception is java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>
>         java.net.ConnectException: Connection refused (Connection
> refused)]
>
> running ulimit -a
>
> core file size          (blocks, -c) 0
>
> data seg size           (kbytes, -d) unlimited
>
> scheduling priority             (-e) 0
>
> file size               (blocks, -f) unlimited
>
> pending signals                 (-i) 31377
>
> 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) 31377
>
> virtual memory          (kbytes, -v) unlimited
>
> file locks                      (-x) unlimited
>
> Executing command: /opt/opennms/bin/runjava -r  --
> -Djava.endorsed.dirs=/opt/opennms/lib/endorsed
> -Dopennms.home=/opt/opennms -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
> -Dcom.sun.management.jmxremote.authenticate=true
> -Dcom.sun.management.jmxremote.login.config=opennms
> -Dcom.sun.management.jmxremote.access.file=/opt/opennms/etc/jmxremote.
> access -DisThreadContextMapInheritable=true
> -Dgroovy.use.classvalue=true -XX:MaxMetaspaceSize=256m
> -Djava.io.tmpdir=/opt/opennms/data/tmp
> -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
>
> [GC (Allocation Failure)  33856K->4509K(122752K), 0.0127107 secs]
>
> [GC (Allocation Failure)  38365K->3783K(122752K), 0.0150848 secs]
>
> [GC (Allocation Failure)  37639K->4282K(122752K), 0.0072235 secs]
>
> [GC (Allocation Failure)  38138K->6706K(122752K), 0.0176626 secs]
>
> [GC (Allocation Failure)  40562K->7708K(122752K), 0.0142423 secs]
>
> [GC (Allocation Failure)  41564K->8334K(122752K), 0.0057915 secs]
>
> [GC (Allocation Failure)  42190K->7970K(122752K), 0.0065556 secs]
>
> [Full GC (Metadata GC Threshold)  11949K->7082K(122752K), 0.0351825
> secs]
>
> [DEBUG] System property 'opennms.library.jicmp' set to
> '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this
> location.
>
> [INFO] Successfully loaded jicmp library.
>
> [DEBUG] System property 'opennms.library.jicmp6' set to
> '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this
> location.
>
> [INFO] Successfully loaded jicmp6 library.
>
> 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.IllegalArgumentException: Unexpected exception thrown while
> trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultM
> BeanServerInterceptor.java:839)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBea
> nException(DefaultMBeanServerInterceptor.java:852)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
> eanServerInterceptor.java:821)
>
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
>
>         at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
>
>         at
> org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
>
>         at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
>
>         at
> org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
>
>         at
> org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
>
>         at
> org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
>
>         at java.lang.Thread.run(Thread.java:745)
>
> Caused by: java.lang.IllegalArgumentException: Unexpected exception
> thrown while trying to create pinger of type class
> org.opennms.netmgt.icmp.jni6.Jni6Pinger
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:85)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:54)
>
>         at
> org.opennms.netmgt.vmmgr.Manager.testPinger(Manager.java:243)
>
>         at
> org.opennms.netmgt.vmmgr.Manager.doTestLoadLibraries(Manager.java:229)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBe
> anIntrospector.java:112)
>
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBe
> anIntrospector.java:46)
>
>         at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.ja
> va:237)
>
>         at
> com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
>
>         at
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
>
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
> eanServerInterceptor.java:819)
>
>         ... 13 more
>
> Caused by: com.google.common.util.concurrent.ExecutionError:
> java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
>
>         at
> com.google.common.cache.LocalCache.get(LocalCache.java:3937)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.jav
> a:4739)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory.getInstance(AbstractPing
> erFactory.java:70)
>
>         ... 32 more
>
> Caused by: java.lang.UnsatisfiedLinkError:
> org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(S)V
>
>         at org.opennms.protocols.icmp6.ICMPv6Socket.bindSocket(Native
> Method)
>
>         at
> org.opennms.protocols.icmp6.ICMPv6Socket.<init>(ICMPv6Socket.java:128)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.<init>(Jni6IcmpMessenge
> r.java:65)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.initialize6(Jni6Pinger.java:16
> 1)
>
>         at
> org.opennms.netmgt.icmp.jni6.Jni6Pinger.setTrafficClass(Jni6Pinger.jav
> a:363)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> tory.java:74)
>
>         at
> org.opennms.netmgt.icmp.AbstractPingerFactory$1.call(AbstractPingerFac
> tory.java:70)
>
>         at
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.
> java:4742)
>
>         at
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(Lo
> calCache.java:3527)
>
>         at
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:23
> 19)
>
>         at
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.
> java:2282)
>
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
>
>         ... 35 more
>
>
>
>
>
> Regards,
>
> Nithyanandan K
>
>
> ----------------------------------------------------------------------
> --
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise confidential information. If you
> have received it in error, please notify the sender immediately and
> delete the original. Any other use of the e-mail by you is prohibited.
> Where allowed by local law, electronic communications with Accenture
> and its affiliates, including e-mail and instant messaging (including
> content), may be scanned by our systems for the purposes of
> information security and assessment of internal compliance with Accenture policy.
> ______________________________________________________________________
> ________________
>
> www.accenture.com
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org!
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&
> d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZV
> QKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yx
> k2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
>
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_in
> dex.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHr
> UK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9W
> RSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XPro
> obuS2CdhpzM&e=
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge
> .net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEH
> XJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m
> =0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-84QKq5F6qYQbN
> GNMRs53dX2XhKOgo5W6c&e=
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=uBi8YwpGXN9Mn-uzJJFoWQ_IxCGR0-Nr8vlPBGbWwW4&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=b3qg4hm81r-SaQ-lSOrd-jjxqkM2XProobuS2CdhpzM&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=0tKfJj9WRSxnnt12imoVJ1YmNDcEdl_BY36Yxk2IB1Y&s=hY-U3dTWb-84QKq5F6qYQbNGNMRs53dX2XhKOgo5W6c&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

Graeme Fowler-2
Hi

On 17/03/2017, 11:58, "[hidden email]" <[hidden email]> wrote:
> Constructor threw exception; nested exception is
> com.datastax.driver.core.exceptions.NoHostAvailableException:
> All host(s) tried for query failed (tried: /10.240.211.186:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [/10.240.211.186:9042] Cannot connect))

As Mr Roskens mentioned yesterday, your Cassandra cluster isn’t running (or is firewalled out).

The detail is right there in the error you’re being given.

Graeme

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

David Hustace
In reply to this post by k.nithyanandan

> On Mar 17, 2017, at 4:58 AM, <[hidden email]> <[hidden email]> wrote:
>
> Constructor threw exception; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.240.211.186:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.240.211.186:9042] Cannot connect))

OpenNMS is unable to communicate with the Cassandra cluster that you have specified in your configuration: 10.240.211.186:9042



David Hustace
The OpenNMS Group, Inc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
Hi David,

I have commented the properties for Newts in the opennms.properties file.
But after that also again its throwing error.

javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rrdStrategy' defined in URL [jar:file:/opt/opennms/lib/opennms-rrd-api-19.0.1.jar!/META-INF/opennms/applicationContext-rrd.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/opennms/netmgt/rrd/jrrd2/api/JRrd2Exception
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rrdStrategy' defined in URL [jar:file:/opt/opennms/lib/opennms-rrd-api-19.0.1.jar!/META-INF/opennms/applicationContext-rrd.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/opennms/netmgt/rrd/jrrd2/api/JRrd2Exception
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:403)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:79)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:131)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)

Regards,
Nithyanandan K

-----Original Message-----
From: David Hustace [mailto:[hidden email]]
Sent: Friday, March 17, 2017 5:37 PM
To: DiscussionList List <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting


> On Mar 17, 2017, at 4:58 AM, <[hidden email]> <[hidden email]> wrote:
>
> Constructor threw exception; nested exception is
> com.datastax.driver.core.exceptions.NoHostAvailableException: All
> host(s) tried for query failed (tried: /10.240.211.186:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [/10.240.211.186:9042] Cannot connect))

OpenNMS is unable to communicate with the Cassandra cluster that you have specified in your configuration: 10.240.211.186:9042



David Hustace
The OpenNMS Group, Inc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=TuADhmIjKSLaw2JATAlERyYN48LOVy7Dn1FyfxchB8A&s=5Duj60kMUzxtNrHMR845IACjArfy-B3GXyyprzTUiYU&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=TuADhmIjKSLaw2JATAlERyYN48LOVy7Dn1FyfxchB8A&s=UeMr-d5SGiKib-RV6lJDLZrgydrmIzFWmXHCnAZRT0A&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=TuADhmIjKSLaw2JATAlERyYN48LOVy7Dn1FyfxchB8A&s=itU-DH3bcz4Pm49y4C60-kQRCtkvTDhoJFk91Bvn1N0&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

David Hustace

> On Mar 17, 2017, at 5:34 AM, [hidden email] wrote:
>
> I have commented the properties for Newts in the opennms.properties file.
> But after that also again its throwing error.

This shows that you have not installed the JRRD2 package.  It seems you are not following the installation instructions.

Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/opennms/netmgt/rrd/jrrd2/api/JRrd2Exception


:David
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
Hi David,

Thanks for the reply.
Is it mandatory to install JRRD, bcoz as per the opennms installation I have downloaded those packages and installed.
If rrdtool is mandatory I will install the rrdtool and will start the opennms.


Regards,
Nithyanandan K

-----Original Message-----
From: David Hustace [mailto:[hidden email]]
Sent: Friday, March 17, 2017 6:13 PM
To: DiscussionList List <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting


> On Mar 17, 2017, at 5:34 AM, [hidden email] wrote:
>
> I have commented the properties for Newts in the opennms.properties file.
> But after that also again its throwing error.

This shows that you have not installed the JRRD2 package.  It seems you are not following the installation instructions.

Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/opennms/netmgt/rrd/jrrd2/api/JRrd2Exception


:David
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=GPtPBX5QXwp3cDLZmr58O-sNF3vZy9wTF4QzWEGZGFE&s=ddMWQyZuQUPJ3k2yG-EN3SwvLQ0OgRPYf7PEPudBn1k&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=GPtPBX5QXwp3cDLZmr58O-sNF3vZy9wTF4QzWEGZGFE&s=kj0M5-4LQhhfzyGta6mMkCooSv6W4s5gtLXgAm5dk28&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwICAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=GPtPBX5QXwp3cDLZmr58O-sNF3vZy9wTF4QzWEGZGFE&s=jOtv1DfN8_MFY00OzmhbStFHQ7dK5hz-mlCnDqmbnnw&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

David Hustace

> On Mar 17, 2017, at 7:21 AM, <[hidden email]> <[hidden email]> wrote:
>
> If rrdtool is mandatory I will install the rrdtool and will start the opennms.

It’s mandatory only if you’ve configured OpenNMS to use RRDTool.


:David


David Hustace
The OpenNMS Group, Inc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

k.nithyanandan
Hi David,

Right now I don’t need RRDTool later will instll and configure it.
Now how will I make sure to run OpenNMS without any issues. I commented those properties, but still I am facing the issues while starting.
Could not rectify whats the exact issue is?

[GC (Allocation Failure)  194063K->122194K(273468K), 0.0498805 secs]
An error occurred while attempting to start the "OpenNMS:Name=Queued" service (class org.opennms.netmgt.queued.jmx.Queued).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-queued.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
        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:801)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:464)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [queuedContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-queued.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:403)
        at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:79)
        at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:131)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queuedContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-19.0.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-queued.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1115)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:981)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
        ... 34 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-queued.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270)
        ... 44 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-queued.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
        ... 46 more
Caused by: java.lang.IllegalStateException: Unable to find an object that implements 'interface org.opennms.netmgt.events.api.EventIpcManager'
        at org.opennms.core.soa.support.ServiceRegistryTargetSource.createObject(ServiceRegistryTargetSource.java:64)
        at org.springframework.aop.target.AbstractLazyCreationTargetSource.getTarget(AbstractLazyCreationTargetSource.java:86)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:187)
        at com.sun.proxy.$Proxy134.addEventListener(Unknown Source)
        at org.opennms.netmgt.queued.Queued.onInit(Queued.java:109)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon$1.run(AbstractServiceDaemon.java:226)
        at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon.init(AbstractServiceDaemon.java:220)
        at org.opennms.netmgt.daemon.AbstractServiceDaemon.afterPropertiesSet(AbstractServiceDaemon.java:52)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
        ... 62 more
2017-03-20 12:26:15,717 ActiveMQ BrokerService[localhost] Task-2 ERROR Unable to register shutdown hook because JVM is shutting down. java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED
        at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273)
        at org.apache.logging.log4j.core.LoggerContext.setUpShutdownHook(LoggerContext.java:256)
        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145)
        at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
        at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182)
        at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
        at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
        at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
        at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
        at org.apache.activemq.util.ThreadPoolUtils.<clinit>(ThreadPoolUtils.java:31)
        at org.apache.activemq.thread.TaskRunnerFactory.shutdownNow(TaskRunnerFactory.java:115)
        at org.apache.activemq.transport.vm.VMTransport.stop(VMTransport.java:212)
        at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65)
        at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65)
        at org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
        at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1102)
        at org.apache.activemq.broker.TransportConnection$4.run(TransportConnection.java:1068)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)



Regards,
Nithyanandan K

-----Original Message-----
From: David Hustace [mailto:[hidden email]]
Sent: Friday, March 17, 2017 8:21 PM
To: DiscussionList List <[hidden email]>
Subject: Re: [opennms-discuss] Opennms is not starting


> On Mar 17, 2017, at 7:21 AM, <[hidden email]> <[hidden email]> wrote:
>
> If rrdtool is mandatory I will install the rrdtool and will start the opennms.

It’s mandatory only if you’ve configured OpenNMS to use RRDTool.


:David


David Hustace
The OpenNMS Group, Inc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=cmuTgRFgO0qzA0iur-A676ZF7yDjp1h7qk4zGJUCWjA&s=0Oo7RcRlCZM1RB9bc1xYYhJkEPGglz9iT0GZB2JQkeA&e=
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opennms.org_index.php_Mailing-5FList-5FFAQ&d=DwIGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=cmuTgRFgO0qzA0iur-A676ZF7yDjp1h7qk4zGJUCWjA&s=EUPz__OZNHvROIhBALfkSpYnwYbS19z_nJ3O8hjjh28&e=

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_opennms-2Ddiscuss&d=DwIGaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=CzoOySmePcBZVQKA0_2xi_kS6VCFNKXDDJ0Q3LYLYcM&m=cmuTgRFgO0qzA0iur-A676ZF7yDjp1h7qk4zGJUCWjA&s=a3r8XiCjwcuPhlIbarTn2z-kACZVEW-GmlCEURj8NfU&e=

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opennms is not starting

David Hustace

> On Mar 20, 2017, at 12:41 AM, [hidden email] wrote:
>
> Hi David,
> l
> Now how will I make sure to run OpenNMS without any issues. I commented those properties, but still I am facing the issues while starting.
> Could not rectify whats the exact issue is?

The exact issue is that you’ve been using a modified deployment of OpenNMS without providing any knowledge to the list about the modifications that you’ve made.  In each case we’ve been able to correlate the errors you’ve posted to changes those changes.

I suggest that you start with a completely fresh install because the error you’ve just posted suggests significant other changes have been made and I don’t think the obligation of the list to keep helping you when you’re obviously not helping yourself.


David


David Hustace
The OpenNMS Group, Inc.
+1 919 533 0160 x7734


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Loading...