请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

jenkins启动失败

[root@jenkins ~]# systemctl status jenkins
● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since 二 2022-05-24 17:03:14 CST; 5min ago
Process: 2129 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
Main PID: 2129 (code=exited, status=1/FAILURE)

5月 24 17:03:14 jenkins systemd[1]: Failed to start Jenkins Continuous Integration Server.
5月 24 17:03:14 jenkins systemd[1]: Unit jenkins.service entered failed state.
5月 24 17:03:14 jenkins systemd[1]: jenkins.service failed.
5月 24 17:03:14 jenkins systemd[1]: jenkins.service holdoff time over, scheduling restart.
5月 24 17:03:14 jenkins systemd[1]: Stopped Jenkins Continuous Integration Server.
5月 24 17:03:14 jenkins systemd[1]: start request repeated too quickly for jenkins.service
5月 24 17:03:14 jenkins systemd[1]: Failed to start Jenkins Continuous Integration Server.
5月 24 17:03:14 jenkins systemd[1]: Unit jenkins.service entered failed state.
5月 24 17:03:14 jenkins systemd[1]: jenkins.service failed.
[root@jenkins ~]#
属主属组都改了,防火墙还有selinux都改了,找不到问题

正在回答 回答被采纳积分+3

1回答

一路向北 2022-05-28 12:35:57

查看下/var/log/jenkins日志是否存在 并查看具体是什么问题

0 回复 有任何疑惑可以回复我~
  • 提问者 慕函数3149935 #1
    没有生成日志
    回复 有任何疑惑可以回复我~ 2022-06-09 15:45:16
  • 尝试使用如下命令解决
    
    chown -R deploy:deloy /var/log/jenkins
    
    chown -R deploy:deloy /var/cache/jenkins
    
    chown -R deploy:deloy /var/lib/jenkins
    回复 有任何疑惑可以回复我~ 2022-06-11 22:50:23
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信