重新启动droplet后,无法在8080上重新启动jenkins

htzpubme  于 2022-11-01  发布在  Jenkins
关注(0)|答案(1)|浏览(317)

我是完全新的jenkins和CI/CD,我正在使用ubuntu 20.04的digitalocean droplet服务器.当Jenkins是自动重启后,安装nodejs插件,我重新启动droplet服务器,现在我得到下面的问题:

● jenkins.service - Jenkins Continuous Integration Server
     Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2022-05-22 15:20:08 UTC; 15s ago
    Process: 2402 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
   Main PID: 2402 (code=exited, status=1/FAILURE)

May 22 15:20:08 ubuntu-s-2vcpu-2gb-intel-blr1-01 systemd[1]: jenkins.service: Scheduled restart job, restart counte>
May 22 15:20:08 ubuntu-s-2vcpu-2gb-intel-blr1-01 systemd[1]: Stopped Jenkins Continuous Integration Server.
May 22 15:20:08 ubuntu-s-2vcpu-2gb-intel-blr1-01 systemd[1]: jenkins.service: Start request repeated too quickly.
May 22 15:20:08 ubuntu-s-2vcpu-2gb-intel-blr1-01 systemd[1]: jenkins.service: Failed with result 'exit-code'.
May 22 15:20:08 ubuntu-s-2vcpu-2gb-intel-blr1-01 systemd[1]: Failed to start Jenkins Continuous Integration Server.

root@ubuntu-s-2vcpu-2gb-intel-blr1-01:/etc/default# sudo systemctl start jenkins
Job for jenkins.service failed because the control process exited with error code.
See "systemctl status jenkins.service" and "journalctl -xe" for details.

我已经试过“sudo systemctl restart jenkins”,但它显示了同样的错误。任何帮助或建议都非常感谢。

fzsnzjdm

fzsnzjdm1#

我在使用Jenkins版本2.361.2-1.1的云示例时遇到了这种情况。我使用yum sudo yum remove jenkins删除了Jenkins,并清理了systemctl服务sudo systemctl reset-failed
然后我使用sudo yum install jenkins-2.346.3-1.1(这是一个在另一个云示例中对我有效的版本)对jenkins进行了降级,它有效。

相关问题