SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2743|回复: 3

[求助] jenkins启动后,firefox无法连接

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war &
* B+ {7 V! }1 q& m9 y[1] 78732 m& b) g/ Y  v7 a! p% \
[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war$ B+ ]* N0 x. r7 Z. p+ K! Z
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
" W" j  ~5 N0 W! iMay 08, 2017 4:33:05 AM Main deleteWinstoneTempContents9 T* ]( O- n/ I* |
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war% X% b0 C  i9 E2 T' {% u$ X. s' j
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
! M( j1 l3 s2 P8 ]INFO: Logging initialized @1248ms
" r% R. d% T$ C; H, {4 sMay 08, 2017 4:33:05 AM winstone.Logger logInternal
5 U3 ~+ f7 Q$ J& l0 d0 ^INFO: Beginning extraction from war file$ r6 N1 `# y' y7 p, M
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn$ Z$ d! r9 A; C' e( s! k1 T% e
WARNING: Empty contextPath# c9 G: `1 I6 \! L2 |$ J+ r' C
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
3 |- V. f( i5 @5 xINFO: jetty-9.2.z-SNAPSHOT
: n& @* K7 {$ C) o  `5 z2 Y- JMay 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info
- M" T8 f! K. s1 L( mINFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
+ c* X$ Q1 h1 T6 F; g7 Z* t: YJenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")7 F  ~+ }9 i9 N2 V
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
" {$ J1 D  T3 ]/ sINFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}! G1 }5 m) r, V& F4 v5 E
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info8 R3 O# h6 D; c& e, u  _* P
INFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
& X3 L) [, N- GMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info" c5 t5 y7 k) q. C
INFO: Started @4939ms
' r! n& a# e$ H, Q2 W* oMay 08, 2017 4:33:08 AM winstone.Logger logInternal
0 Z5 U6 }: X0 s& N6 B! bINFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
; ^5 t4 C5 `2 R4 K1 D5 YMay 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained* H4 a' @4 m& @7 n% I
INFO: Started initialization* c: F/ w! h0 `7 k% r6 ~( B
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained9 i0 M5 a# b! E
INFO: Listed all plugins
$ u* k  M6 ~8 \9 KMay 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
3 L7 Z2 g! ^, |0 v6 g/ HINFO: Prepared all plugins4 }8 y& S# d7 }3 e) w
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained, M8 ^' C: |) G
INFO: Started all plugins6 r3 n; z) b; P/ S; c# Y* I
May 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error# ]! ^$ F6 a' {# l; V4 ]9 S3 f
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping4 v1 W# h0 T& V! {' m& X* S0 K
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained2 C: W9 m" T6 T, U& v0 n2 i+ T
INFO: Augmented all extensions
7 h8 K. ?1 y  g' ~: H& IMay 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
6 m4 _2 T3 e7 GINFO: Loaded all jobs( f; {* |7 T7 y4 P. x" T
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
7 W5 w8 }7 ]% b) @* ^; uINFO: Started Download metadata
0 ?- n9 _' e+ UMay 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
2 X, d- e+ u  ?5 @, [3 N+ RINFO: Finished Download metadata. 17 ms$ X1 r9 u* q' Y' K; x
May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained) c9 H5 ^3 r' B3 a( B
INFO: Completed initialization4 y& q' q5 c8 X* r  U
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh1 @: f1 |9 V/ ~
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc: display name [Root WebApplicationContext]; startup date [Mon May 08 04:33:31 EDT 2017]; root of context hierarchy. `% d9 _7 w+ [; j
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory! ?; [; |& J) k4 M( E
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5. m! H$ E2 e1 I( a/ C' m6 n) d7 ]
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
; ~8 y. N  S8 m9 WINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy
, S( A. q& e- [$ ~$ D3 A- eMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
# S! p: t+ A2 M: OINFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@7766f37f: display name [Root WebApplicationContext]; startup date [Mon May 08 04:33:31 EDT 2017]; root of context hierarchy
+ |6 W( S" o0 A0 a, f) qMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory- D# V' T, a/ A' [& H& e# l% b# ^+ A
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a3108 O2 z8 S4 g& @5 g1 g
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons( f4 K% D% X# b
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy
5 F2 P0 M% K, {% A1 M$ gMay 08, 2017 4:33:36 AM hudson.WebAppMain$3 run
1 W* Z6 z+ L& V$ G6 J+ yINFO: Jenkins is fully up and running
: o  Q9 f6 e. J8 ]- Q2 n
% c# b" L$ ~3 |5 j1 g0 X6 ^2 [# b- L* ?) Y/ N4 o; G
=====================. e; n; V# m+ K: Q4 \& v( w( r
执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢
, C/ u+ [, K0 @' H# F
: K+ ~  J# G* ~( ~4 P" o$ Z$ java -version6 e7 I: D( l. u; h, ?3 h$ a0 k
java version "1.8.0_77"
4 E8 y# p2 W( I1 |3 y* Y& NJava(TM) SE Runtime Environment (build 1.8.0_77-b03)  o  {$ h  }! i% y  F" F+ L* `
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)- q/ i+ i6 V, L0 ]- p6 c

+ C  |1 C* n& U* U* E& r. V0 m; j! @1 J

$ F* A3 P) Y4 H" g, P
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME
  g% p# K1 y1 y; u
回复 支持 反对

使用道具 举报

发表于 2017-6-21 16:07:31 | 显示全部楼层
恩恩楼上回答是正确的
回复 支持 反对

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。
$ o; a& }# k7 C" M& q* b2 ~) s+ b
+ ^( [- I* z, Q- Z: \ps -ef|grep jenkins' i7 Y7 }7 o% o' u6 J$ Y4 c& E
ps -ef|grep java
; C- g: Z0 K) r' I6 W3 Q: T0 a; y+ ^5 n; m, h- a3 L: H* Z
查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|无图版|SCMLife.com ( 京ICP备06056490号-1 )

GMT+8, 2018-4-21 14:40 , Processed in 0.063319 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

快速回复 返回顶部 返回列表