我在用着:
- 詹金斯 1.541。
- Java JDK 7u45(尝试过 64 位和 32 位版本)。
- XAMPP 1.8.2
我已经从下载了默认的 MSI 安装http://mirrors.jenkins-ci.org/windows/latest,我已经安装了它。Jenkins 第一次尝试运行,告诉我请等待 Jenkins 准备工作......
我等待,但位于的服务器却http://localhost:8080/
宕机了。日志没有提供太多信息:
jenkins.err.log
nov 26, 2013 5:58:20 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
nov 26, 2013 5:58:23 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Extract jar:file:/C:/Program%20Files%20(x86)/Jenkins/jenkins.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8080-jenkins.war--any-\webapp
nov 26, 2013 5:58:45 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
nov 26, 2013 5:58:46 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started [email protected]:8080
nov 26, 2013 5:58:46 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
nov 26, 2013 5:58:46 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
nov 26, 2013 5:58:46 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
nov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
nov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
nov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
nov 26, 2013 5:58:47 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
nov 26, 2013 5:58:52 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 54677
nov 26, 2013 5:58:52 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
nov 26, 2013 5:58:52 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 54678
nov 26, 2013 5:58:52 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
此后,服务器永远不会启动(在 localhost:8080),并且 Jenkins服务已停止。
我也尝试过使用微软XAMPP和雄猫,尝试两者三十二和64 位 Java JDK版本无济于事,因为启动后詹金斯,Java崩溃。我试图查找崩溃日志,但找不到。
这些是来自事件查看器:
Faulting application name: java.exe, version: 7.0.250.17, time stamp: 0x51c4b3fd
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7
Exception code: 0xc0000374
Fault offset: 0x000ce753
Faulting process id: 0x15bc
Faulting application start time: 0x01ceeaee5b2a96ab
Faulting application path: C:\Program Files (x86)\Jenkins\jre\bin\java.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: a49749d3-56e1-11e3-b08d-00155d011200
和
Child process [5564 - C:\Program Files (x86)\Jenkins\jre\bin\java -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\Program Files (x86)\Jenkins\jenkins.war" --httpPort=8080] terminated with 255
我可以提供其他日志来追踪源问题吗?
答案1
您可以在 java 中启用调试模式来获取更多详细信息....您可能必须增加 java 可用的内存分配....
-Xmx256m
此外,由于 jenkins 创建了大量文件,请检查以确保没有用尽 inode
DF-我
答案2
答案3
检查 Windows 中 c:\jenkins_node 文件夹的权限