OpenNMS unable to start

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenNMS unable to start

EmptySet
Hello,

  I'm trying to use OpenNMS as a first time user... I'm on CentOS 7 and ran through the install but can't start the application.  I checked the hotname and it seems fine, did a config-tester (not sure if errors would output from that but I didn't see any).  I receive the following error :

 Process: 9003 ExecStart=/opt/opennms/bin/opennms -Q start (code=exited, status=1/FAILURE)

Jul 17 10:56:18 OPENNMSServer opennms[9003]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: ... 8 more
Jul 17 10:56:18 OPENNMSServer opennms[9003]: Unknown value return from doStatus: 1
Jul 17 10:56:18 OPENNMSServer opennms[9003]: [FAILED]
Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service: control process exited, code=exited status=1
Jul 17 10:56:18 OPENNMSServer systemd[1]: Failed to start OpenNMS server.
Jul 17 10:56:18 OPENNMSServer systemd[1]: Unit opennms.service entered failed state.
Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service failed.


Any help would be appreciated.
 
  Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: OpenNMS unable to start

Dean Slaughter
You need to check if selinux is blocking.

Logs, logs logs

/var/log/messages or journalctl -xb
/opt/opennms/logs/daemon


-----Original Message-----
From: EmptySet [mailto:[hidden email]]
Sent: Monday, July 17, 2017 10:07 AM
To: [hidden email]
Subject: [opennms-discuss] OpenNMS unable to start

Hello,

  I'm trying to use OpenNMS as a first time user... I'm on CentOS 7 and ran through the install but can't start the application.  I checked the hotname and it seems fine, did a config-tester (not sure if errors would output from that but I didn't see any).  I receive the following error :

 Process: 9003 ExecStart=/opt/opennms/bin/opennms -Q start (code=exited,
status=1/FAILURE)

Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: ... 8 more Jul 17 10:56:18 OPENNMSServer opennms[9003]: Unknown value return from
doStatus: 1
Jul 17 10:56:18 OPENNMSServer opennms[9003]: [FAILED] Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service: control process exited, code=exited status=1 Jul 17 10:56:18 OPENNMSServer systemd[1]: Failed to start OpenNMS server.
Jul 17 10:56:18 OPENNMSServer systemd[1]: Unit opennms.service entered failed state.
Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service failed.


Any help would be appreciated.

  Thank you.




--
View this message in context: http://opennms.530661.n2.nabble.com/OpenNMS-unable-to-start-tp7595767.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.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 message is confidential to Prodea unless otherwise indicated or apparent from its nature. This message is directed to the intended recipient only, who may be readily determined by the sender of this message and its contents. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient:(a)any dissemination or copying of this message is strictly prohibited; and(b)immediately notify the sender by return message and destroy any copies of this message in any form(electronic, paper or otherwise) that you have.The delivery of this message and its information is neither intended to be nor constitutes a disclosure or waiver of any trade secrets, intellectual property, attorney work product, or attorney-client communications. The authority of the individual sending this message to legally bind Prodea is neither apparent nor implied,and must be independently verified.

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

Re: OpenNMS unable to start

EmptySet
Turns out it wasn't using the right Java... Alternatives --config java and pointed to the JDK and it's now working.  

Dean Slaughter wrote
You need to check if selinux is blocking.

Logs, logs logs

/var/log/messages or journalctl -xb
/opt/opennms/logs/daemon


-----Original Message-----
From: EmptySet [mailto:[hidden email]]
Sent: Monday, July 17, 2017 10:07 AM
To: [hidden email]
Subject: [opennms-discuss] OpenNMS unable to start

Hello,

  I'm trying to use OpenNMS as a first time user... I'm on CentOS 7 and ran through the install but can't start the application.  I checked the hotname and it seems fine, did a config-tester (not sure if errors would output from that but I didn't see any).  I receive the following error :

 Process: 9003 ExecStart=/opt/opennms/bin/opennms -Q start (code=exited,
status=1/FAILURE)

Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: at
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Jul 17 10:56:18 OPENNMSServer opennms[9003]: ... 8 more Jul 17 10:56:18 OPENNMSServer opennms[9003]: Unknown value return from
doStatus: 1
Jul 17 10:56:18 OPENNMSServer opennms[9003]: [FAILED] Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service: control process exited, code=exited status=1 Jul 17 10:56:18 OPENNMSServer systemd[1]: Failed to start OpenNMS server.
Jul 17 10:56:18 OPENNMSServer systemd[1]: Unit opennms.service entered failed state.
Jul 17 10:56:18 OPENNMSServer systemd[1]: opennms.service failed.


Any help would be appreciated.

  Thank you.




--
View this message in context: http://opennms.530661.n2.nabble.com/OpenNMS-unable-to-start-tp7595767.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.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 message is confidential to Prodea unless otherwise indicated or apparent from its nature. This message is directed to the intended recipient only, who may be readily determined by the sender of this message and its contents. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient:(a)any dissemination or copying of this message is strictly prohibited; and(b)immediately notify the sender by return message and destroy any copies of this message in any form(electronic, paper or otherwise) that you have.The delivery of this message and its information is neither intended to be nor constitutes a disclosure or waiver of any trade secrets, intellectual property, attorney work product, or attorney-client communications. The authority of the individual sending this message to legally bind Prodea is neither apparent nor implied,and must be independently verified.

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