opennms 服务无法启动

Blue-Wind 发布于 2016/01/15 11:06
阅读 574
收藏 0

按照opennms官方安装指导文件,前面都没有报什么错误,都是成功的,但是最后启动opennms服务时,系统无法启动该服务,按提示输入“systemctl status opennms.service -l”查看信息,有以下内容:

[root@localhost ~]# systemctl status opennms.service -l
● opennms.service - OpenNMS server
   Loaded: loaded (/usr/lib/systemd/system/opennms.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2016-01-15 10:51:44 CST; 1min 24s ago
  Process: 3987 ExecStart=/opt/opennms/bin/opennms -Q start (code=exited, status=1/FAILURE)


Jan 15 10:51:44 localhost.localdomain opennms[3987]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Jan 15 10:51:44 localhost.localdomain opennms[3987]: at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
Jan 15 10:51:44 localhost.localdomain opennms[3987]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Jan 15 10:51:44 localhost.localdomain opennms[3987]: ... 8 more
Jan 15 10:51:44 localhost.localdomain opennms[3987]: Unknown value return from doStatus: 1
Jan 15 10:51:44 localhost.localdomain opennms[3987]: [FAILED]
Jan 15 10:51:44 localhost.localdomain systemd[1]: opennms.service: control process exited, code=exited status=1
Jan 15 10:51:44 localhost.localdomain systemd[1]: Failed to start OpenNMS server.
Jan 15 10:51:44 localhost.localdomain systemd[1]: Unit opennms.service entered failed state.
Jan 15 10:51:44 localhost.localdomain systemd[1]: opennms.service failed.
[root@localhost ~]#

不懂了,请指教,谢谢!

加载中
0
Blue-Wind
Blue-Wind
已经解决,是因为没有安装Oracle Java 8 environment,只安装了open jdk。
0
Blue-Wind
Blue-Wind

引用来自“Blue-Wind”的评论

已经解决,是因为没有安装Oracle Java 8 environment,只安装了open jdk。
需要先安装Oracle Java 8 environment,再安装opennms,并配置java_home
返回顶部
顶部