我对詹金斯真的很陌生。今天我安装并尝试玩。当然我错过了一把钥匙。
我的环境:java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
tomcat6
CentOS 6.3
从命令行,我运行 jenkins.war,结果如下
java -jar jenkins.war --httpPort=8082 --ajp13Port=-1
Running from: /var/lib/tomcat6/webapps/jenkins.war
webroot: $user.home/.jenkins
Sep 20, 2012 1:32:55 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jenkins home directory: /home/admin/.jenkins found at: $user.home/.jenkins
Sep 20, 2012 1:32:56 PM winstone.Logger logInternal
INFO: HTTP Listener started: port=8082
Sep 20, 2012 1:32:56 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
Sep 20, 2012 1:32:56 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Sep 20, 2012 1:32:57 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Sep 20, 2012 1:32:57 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Sep 20, 2012 1:32:57 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Sep 20, 2012 1:32:57 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Sep 20, 2012 1:32:57 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Sep 20, 2012 1:33:00 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
INFO: Trying to register BouncyCastle as a JCE provider
Sep 20, 2012 1:33:00 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
INFO: Registration succeeded
Sep 20, 2012 1:33:00 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 34921
Sep 20, 2012 1:33:01 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Sep 20, 2012 1:33:01 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 59382
Sep 20, 2012 1:33:01 PM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running
所以我认为一切都很好。
在浏览器中,这些都不起作用
http://IP:8080/jenkins
http://IP:8082/jenkins
有人可以帮我解决这个问题吗?
最好的问候, Adjeiifo