Jenkins启动失败:Starting jenkins (via systemctl): Job for jenkins.service failed because the control p.
启动/重启Jenkins时报错:Starting jenkins (via systemctl):Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for deta
·
启动/重启Jenkins时报错:
Starting jenkins (via systemctl): Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.
错误截图:
查资料可得知:原因为未安装JDK,解决步骤如下:
// 1. 查看可安装jdk版本
yum search java | grep -i --color JDK
// 2. 安装某一特定版本JDK
yum install java-1.8.0-openjdk-devel.x86_64
// 3. 安装完成后确认JDK安装完毕
java -version
// 4. 确认JDK版本后,尝试启动Jenkins
service jenkins start
输入启动指令,见上图则表示启动成功。
更多推荐
已为社区贡献1条内容
所有评论(0)