无法启动詹金斯 [英] Cannot start Jenkins

查看:144
本文介绍了无法启动詹金斯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下载插件后,无法访问Jenkins服务器.我正在使用Windows 7. 我尝试手动启动Windows Jenkins服务,但收到以下消息:

After downloading a plugin, the Jenkins server cannot be accessed. I am using windows 7. I tried to start windows Jenkins service manually, but I get the following message:

"Windows无法在本地计算机上启动Jenkins服务.错误 1067:该进程意外终止.

"Windows could not start the Jenkins service on Local COmputer. Error 1067: The process terminated unexpectedly"

我还尝试从安装目录运行jenkins.exe,但没有成功. 在错误日志中,我看到以下内容:

I also tried to run the jenkins.exe from the installation directory, but with no success. In the error logs I see the following:

INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Ιουν 06, 2014 11:31:46 ΠΜ hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
Ιουν 06, 2014 11:32:18 ΠΜ hudson.model.UpdateCenter doSafeRestart
INFO: Scheduling Jenkins reboot
Ιουν 06, 2014 11:33:00 ΠΜ hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of FTP-Publisher Plugin on behalf of anonymous
Ιουν 06, 2014 11:33:15 ΠΜ hudson.model.UpdateCenter doRestart
INFO: Scheduling the core downgrade
Ιουν 06, 2014 11:33:25 ΠΜ hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading FTP-Publisher Plugin
Ιουν 06, 2014 11:33:26 ΠΜ hudson.model.UpdateCenter$HudsonDowngradeJob run
INFO: Starting the downgrade of jenkins.war on behalf of anonymous
Ιουν 06, 2014 11:33:26 ΠΜ jenkins.model.Jenkins$24 run
INFO: Restart in 10 seconds
Ιουν 06, 2014 11:33:26 ΠΜ hudson.model.UpdateCenter$HudsonDowngradeJob run
INFO: Downgrading successful: jenkins.war
Ιουν 06, 2014 11:33:36 ΠΜ jenkins.model.Jenkins$24 run
SEVERE: Restarting VM as requested by anonymous
Error: Unable to access jarfile D:\Program Files (x86)\Jenkins\jenkins.war
Error: Unable to access jarfile D:\Program Files (x86)\Jenkins\jenkins.war
Error: Unable to access jarfile D:\Program Files (x86)\Jenkins\jenkins.war

任何人都可以帮忙吗?我们已经到了发布点,我无处可运行测试.

Can anyone help? We are at release point, and I have nowhere to run my tests..

推荐答案

检查jenkins.xml配置中应该有问题.就我而言,将-Xmx2048m更改为-Xmx1024m是固定的.由于不支持2m的堆大小.

Check the jenkins.xml there should be something wrong in config. In my case changing -Xmx2048m to -Xmx1024m fixed. Since it is not supported the 2m heap size.

<arguments>-Xrs -Xmx1024m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=9090</arguments>

这篇关于无法启动詹金斯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆