OpenNMS 21.0.5 install on CentOS 7.4 VM on VMware WS Pro 14
Hamid Majidy <[email protected]> Fri, 13 Apr 2018 16:48:20 -0700
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <CANpgaFho4JU-HB4hAf4didzLqGLp2_-aXzkAxPq9KSCUxHbeVw@mail.gmail.com> |
--===============8595969037663211411== Content-Type: multipart/alternative; boundary="000000000000cc41cc0569c381b0" --000000000000cc41cc0569c381b0 Content-Type: text/plain; charset="UTF-8" Has anyone done a successful install of OpenNMS on the latest CentOS 7 (7.4)? Host is CentOS 7 minimal install guest VM under VMware Workstation Pro v14.1.1 build-7528167. I followed the quick start and detailed instructions for my OS. It fails when I try to start opennms and says I need to run install -dis. When I run suggested command, it comes back with: Exception in thread "Main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.opennms.install.Installer.<clinit>(Installer.java:93) 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:525) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more I have reinstalled VM OS and opennms several times now and and I believe I finally have proper Java and PostgreSQL but opennms fails to start. Proper JDK had to be downloaded and installed manually with JAVA_HOME and java path set manually in system profile, like in the early installation of opennms and other java apps. I have installed OpenNMS many times over the past 10+ years and have seen it getting more burdensome to install and maintain. This one has stumped me. Any help would be appreciated. --000000000000cc41cc0569c381b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Has anyone done a successful install of OpenNMS on the lat= est CentOS 7 (7.4)? Host is CentOS 7 minimal install guest VM under VMware = Workstation Pro v14.1.1 build-7528167. I followed the quick start and detai= led instructions for my OS. It fails when I try to start opennms and says I= need to run install -dis. When I run suggested command, it comes back with= :=C2=A0<div><div><div>Exception in thread "Main" java.lang.NoClas= sDefFoundError: org/slf4j/LoggerFactory</div><div><span style=3D"white-spac= e:pre"> </span>at org.opennms.install.Installer.<clinit>(Installer.ja= va:93)</div><div><span style=3D"white-space:pre"> </span>at sun.reflect.Nat= iveMethodAccessorImpl.invoke0(Native Method)</div><div><span style=3D"white= -space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMe= thodAccessorImpl.java:62)</div><div><span style=3D"white-space:pre"> </span= >at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:43)</div><div><span style=3D"white-space:pre"> </span>at java.la= ng.reflect.Method.invoke(Method.java:498)</div><div><span style=3D"white-sp= ace:pre"> </span>at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:52= 5)</div><div><span style=3D"white-space:pre"> </span>at java.lang.Thread.ru= n(Thread.java:748)</div><div>Caused by: java.lang.ClassNotFoundException: o= rg.slf4j.LoggerFactory</div><div><span style=3D"white-space:pre"> </span>at= java.net.URLClassLoader.findClass(URLClassLoader.java:381)</div><div><span= style=3D"white-space:pre"> </span>at java.lang.ClassLoader.loadClass(Class= Loader.java:424)</div><div><span style=3D"white-space:pre"> </span>at java.= net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)</div><div><spa= n style=3D"white-space:pre"> </span>at java.lang.ClassLoader.loadClass(Clas= sLoader.java:357)</div><div><span style=3D"white-space:pre"> </span>... 7 m= ore</div></div><div><br></div><div>I have reinstalled VM OS and opennms sev= eral times now and and I believe I finally have proper Java and PostgreSQL = but opennms fails to start. Proper JDK had to be downloaded and installed m= anually with JAVA_HOME and java path set manually in system profile, like i= n the early installation of opennms and other java apps.</div><div><br></di= v><div>I have installed OpenNMS many times over the past 10+ years and have= seen it getting more burdensome to install and maintain. This one has stum= ped me.</div><div><br></div></div><div>Any help would be appreciated.</div>= </div> --000000000000cc41cc0569c381b0-- --===============8595969037663211411== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8595969037663211411== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-install mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-install --===============8595969037663211411==--