SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4953|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war & ( ^0 R/ l9 W+ R3 X  D$ x
[1] 7873
1 Q- V; H+ }( u( T+ ^6 t  Y[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war
0 _# D7 X+ [: n* Q1 Wwebroot: EnvVars.masterEnvVars.get("JENKINS_HOME"), b7 L" n/ M3 R
May 08, 2017 4:33:05 AM Main deleteWinstoneTempContents( d( `8 [: g0 t6 T
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
- o7 _) j0 K, G. M8 W( }9 {May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info! r7 [) Y7 n) ^! r4 K  J8 \5 v
INFO: Logging initialized @1248ms/ \2 |! @9 C5 r/ X3 o
May 08, 2017 4:33:05 AM winstone.Logger logInternal
1 ^9 q, M( j  A; \INFO: Beginning extraction from war file
6 f. I& c" N7 i2 q$ P2 N6 nMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn
4 o6 @1 D% x" [6 H4 oWARNING: Empty contextPath
# \7 u1 \- [& I! p5 n$ ]% \May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
: m3 H' W6 |1 h4 E* q. cINFO: jetty-9.2.z-SNAPSHOT% D' o  T. d" K- N5 X* t% i( q
May 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info8 y/ r4 i: E5 p9 u
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
) X. d2 M9 G% M: Y7 cJenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2 p8 c, y9 k# t, bMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
; V4 A/ a6 d6 @) ?( a# I6 HINFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}3 C4 E5 Y0 G0 Y
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info0 r; v$ M# X6 e: `
INFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
5 a( A& ^( }; AMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info: y9 D. g- a. c+ Q  h. g
INFO: Started @4939ms
0 M) b2 T7 V" _6 R/ e3 _# NMay 08, 2017 4:33:08 AM winstone.Logger logInternal: N& z7 E. Q' J1 ?5 a6 l2 P6 w
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled0 I' E. Y6 f, p
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
! _4 E. k* b/ n0 v0 t4 [( UINFO: Started initialization
. l+ N, h  n3 \" _9 C5 K/ S/ YMay 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained# J( f4 h& ^; G1 ]$ z  I7 X% ?
INFO: Listed all plugins" ^& T9 B6 y8 I- A2 X
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
5 \0 V, @% G8 e# M7 @INFO: Prepared all plugins
- z( v* ^, r' e  c/ j! ?May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
8 R/ m1 E: h7 m0 |. j  X1 S9 }INFO: Started all plugins
$ h& M6 @2 M6 [8 T) r8 xMay 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
. b# y, Z, h4 H. f0 @INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping) E3 z9 P( M- N# R# Y
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
+ G3 B1 V0 }3 \5 s# VINFO: Augmented all extensions
( p5 s$ n+ s# o$ ~5 l, Q( SMay 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
- `2 V# k) X) v8 z: {: KINFO: Loaded all jobs" n( u/ z, O5 v( |, ]% ]
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run) |( r$ Z7 |# {* R, @2 s
INFO: Started Download metadata6 e! r# k$ ~0 |! o* B& W6 U- s
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run: t9 P( p* z$ l7 B% ]8 z
INFO: Finished Download metadata. 17 ms
$ u1 S+ ^4 V5 v' b* X# |+ {May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained8 p, H4 C! M5 ]- v' K* S
INFO: Completed initialization
7 S+ h8 L* A$ ?1 t* z; hMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh: B+ [9 h4 ]. k4 e: d5 I- o) a+ \* k# ^
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
/ Z8 m1 J9 ^# C# \8 OMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory& l0 K" u6 h  x
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5- ~2 J9 o7 D* X
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons( m# q: U& L4 g+ t6 Q
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy+ O5 I* ?0 D, f4 ?1 P- m6 D
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh4 Q( s% N# Q4 S( A6 t* G% V9 M
INFO: 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
+ G5 R+ V+ v; A& M1 E+ @May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
9 x: ?5 C  {& p: N- a/ Y) L( D1 fINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310
9 W* D4 D+ V( a8 F9 B3 E0 a" f+ rMay 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons/ N2 E. U; N( P1 @2 A
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy
0 m- k, r# S; d8 y  I6 }May 08, 2017 4:33:36 AM hudson.WebAppMain$3 run
% O/ o/ i% w" L5 qINFO: Jenkins is fully up and running
2 }* Z0 k7 g2 ]  X$ X
. X% O+ J8 w# J; a/ F7 i- g  Y. U/ a$ |$ O) F8 s! P
=====================+ r; B0 I1 C  b0 v3 [+ L( g; \# T
执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢
" B8 n- E' v' Z5 y5 L8 M) W! W7 v' g5 u) M) P) g0 V
$ java -version8 ^& t* m" p/ ], E
java version "1.8.0_77"8 L, l! m. z  o2 g; d
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)0 r5 S0 B  H- Z  i) |
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)& X, _- F6 Y% a# P; a3 L
6 J+ u. g( h. Z

9 l$ V/ B' o! v5 G2 T" P" }0 j
8 T/ \& L; R- F+ V
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME4 Z3 E4 `; l+ W- f$ Q  h
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。
9 r! j' C/ E; @- I0 R5 j3 A+ _7 R( z/ Y- H/ U
ps -ef|grep jenkins, d- N, Z5 p- x% t( O
ps -ef|grep java$ y) \. M- Z/ u9 j' J
0 {& \6 N! m2 m% k, [" V% h* I
查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

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

GMT+8, 2019-5-23 11:54 , Processed in 0.070520 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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