Jenkins没有开始使用KDE Neon

时间:2018-02-09 10:12:33

标签: java jenkins ubuntu-16.04

安装了KDE Neon Dev Stable Edition(基于Ubuntu 16.04LTS),安装了openjdk 8和Jenkins 2.83(LTS)。安装程序一直运行,直到安装程序尝试启动jenkins(systemctl start jenkins)

那时我收到了这个错误

Feb 08 10:29:23 UX31A jenkins[13911]:    ...fail! 
Feb 08 10:29:23 UX31A systemd[1]: jenkins.service: Control process exited, code=exited status=7 
Feb 08 10:29:23 UX31A systemd[1]: Failed to start LSB: Start Jenkins at boot time. 
-- Subject: Unit jenkins.service has failed 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit jenkins.service has failed. 
--  
-- The result is failed. 
Feb 08 10:29:23 UX31A systemd[1]: jenkins.service: Unit entered failed state. 
Feb 08 10:29:23 UX31A systemd[1]: jenkins.service: Failed with result 'exit-code'. 
Feb 08 10:29:23 UX31A sudo[13908]: pam_unix(sudo:session): session closed for user root

试图查看它是否可以找到java,它确实也尝试添加配置,java的路径以便不存在冲突,但错误仍然存​​在。

有人有这个问题吗?

谢谢!

EDIT systemctl status jenkins.service

iosifbancioiu@UX31A:~$ systemctl status jenkins.service
● jenkins.service - LSB: Start Jenkins at boot time
   Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-02-09 18:13:02 EET; 1min 4s ago
     Docs: man:systemd-sysv-generator(8)

Feb 09 18:13:01 UX31A systemd[1]: Starting LSB: Start Jenkins at boot time...
Feb 09 18:13:01 UX31A jenkins[11420]:  * Starting Jenkins Automation Server jenkins
Feb 09 18:13:01 UX31A su[11438]: Successful su for jenkins by root
Feb 09 18:13:01 UX31A su[11438]: + ??? root:jenkins
Feb 09 18:13:01 UX31A su[11438]: pam_unix(su:session): session opened for user jenkins by (uid=0)
Feb 09 18:13:02 UX31A jenkins[11420]:    ...fail!
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Control process exited, code=exited status=7
Feb 09 18:13:02 UX31A systemd[1]: Failed to start LSB: Start Jenkins at boot time.
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Unit entered failed state.
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Failed with result 'exit-code'.

journalctl -u jenkins输出

journalctl -u jenkins
-- Logs begin at Thu 2018-02-08 21:20:06 EET, end at Fri 2018-02-09 18:15:21 EET. --
Feb 09 18:13:01 UX31A systemd[1]: Starting LSB: Start Jenkins at boot time...
Feb 09 18:13:01 UX31A jenkins[11420]:  * Starting Jenkins Automation Server jenkins
Feb 09 18:13:01 UX31A su[11438]: Successful su for jenkins by root
Feb 09 18:13:01 UX31A su[11438]: + ??? root:jenkins
Feb 09 18:13:01 UX31A su[11438]: pam_unix(su:session): session opened for user jenkins by (uid=0)
Feb 09 18:13:02 UX31A jenkins[11420]:    ...fail!
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Control process exited, code=exited status=7
Feb 09 18:13:02 UX31A systemd[1]: Failed to start LSB: Start Jenkins at boot time.
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Unit entered failed state.
Feb 09 18:13:02 UX31A systemd[1]: jenkins.service: Failed with result 'exit-code'.

0 个答案:

没有答案