Centos 7.7 in Virtual Box on WIndows 7 all 64-bit

Paul Pathiakis via opennms-discuss <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi all!
I installed CentOS 7.7 in the latest version of VirtualBox.  This has Windows 7 64 bit as the host OS.
I went through the install procedure for RH 7.x.
Everything seemed to go ok with the installer.... then I got to here.....
Installer completed successfully!
==============================================================================OpenNMS Upgrader==============================================================================
java.lang.reflect.InvocationTargetException        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.NoClassDefFoundError: com/sun/tools/attach/AttachNotSupportedException        at org.opennms.netmgt.vmmgr.ControllerUtils.getController(ControllerUtils.java:48)        at org.opennms.upgrade.support.Upgrade.isOpennmsRunning(Upgrade.java:110)        at org.opennms.upgrade.support.Upgrade.execute(Upgrade.java:233)        at org.opennms.upgrade.support.Upgrade.main(Upgrade.java:266)        ... 6 moreCaused by: java.lang.ClassNotFoundException: com.sun.tools.attach.AttachNotSupportedException        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)        ... 10 more[root@VB opennms]# 
Packages of interest (am I missing anything?):
[root@VB opennms]# rpm -qa | egrep -i 'opennms|postgrel|jdk|rrd|jicmp'jicmp-2.0.3-1.el7.centos.x86_64rrdtool-1.6.0-0.3.opennms.el7.centos.x86_64java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64opennms-core-20.1.0-1.noarchjrrd-1.1.0-3.el7.centos.x86_64java-1.8.0-openjdk-headless-1.8.0.144-0.b01.el7_4.x86_64opennms-20.1.0-1.noarchcopy-jdk-configs-2.2-3.el7.noarchopennms-repo-stable-1.0-109.noarchopennms-webapp-jetty-20.1.0-1.noarchrrdtool-perl-1.6.0-0.3.opennms.el7.centos.x86_64jicmp6-2.0.2-1.el7.centos.x86_64jrrd2-2.0.3-4.el7.centos.x86_64

I can enable and TRY to start opennms but it barfs.... (btw, where are the usual log files being kept for OpenNMS?  

[root@VB opennms]# systemctl enable opennms[root@VB opennms]# systemctl start opennmsJob for opennms.service failed because the control process exited with error code. See "systemctl status opennms.service" and "journalctl -xe" for details.
so.... journalctl -xe:
-- -- Unit opennms.service has begun starting up.Sep 26 11:21:42 VB opennms[4293]: Starting OpenNMS: Exception in thread "main" jSep 26 11:21:42 VB opennms[4293]: at java.lang.Class.getDeclaredMethods0(Native Sep 26 11:21:42 VB opennms[4293]: at java.lang.Class.privateGetDeclaredMethods(CSep 26 11:21:42 VB opennms[4293]: at java.lang.Class.privateGetMethodRecursive(CSep 26 11:21:42 VB opennms[4293]: at java.lang.Class.getMethod0(Class.java:3018)Sep 26 11:21:42 VB opennms[4293]: at java.lang.Class.getMethod(Class.java:1784)Sep 26 11:21:42 VB opennms[4293]: at org.opennms.bootstrap.Bootstrap.executeClasSep 26 11:21:42 VB opennms[4293]: at org.opennms.bootstrap.Bootstrap.executeClasSep 26 11:21:42 VB opennms[4293]: at org.opennms.bootstrap.Bootstrap.main(BootstSep 26 11:21:42 VB opennms[4293]: Caused by: java.lang.ClassNotFoundException: cSep 26 11:21:42 VB opennms[4293]: at java.net.URLClassLoader.findClass(URLClassLSep 26 11:21:42 VB opennms[4293]: at java.lang.ClassLoader.loadClass(ClassLoaderSep 26 11:21:42 VB opennms[4293]: at java.net.FactoryURLClassLoader.loadClass(URSep 26 11:21:42 VB opennms[4293]: at java.lang.ClassLoader.loadClass(ClassLoaderSep 26 11:21:42 VB opennms[4293]: ... 8 moreSep 26 11:21:42 VB opennms[4293]: Unknown value return from doStatus: 1Sep 26 11:21:42 VB opennms[4293]: [FAILED]Sep 26 11:21:42 VB systemd[1]: opennms.service: control process exited, code=exiSep 26 11:21:42 VB systemd[1]: Failed to start OpenNMS server.-- Subject: Unit opennms.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- -- Unit opennms.service has failed.-- -- The result is failed.Sep 26 11:21:42 VB systemd[1]: Unit opennms.service entered failed state.Sep 26 11:21:42 VB systemd[1]: opennms.service failed.Sep 26 11:21:42 VB polkitd[657]: Unregistered Authentication Agent for unix-proc

(I hope sourceforge is back up soon.... )
Thanks All!
P.

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.