SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 3364|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war &
! |6 i! q: v. i$ s4 Z1 J[1] 7873% ^& R* i1 j3 K9 C0 ]" A  M
[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war* f7 i8 N: Q% e* }. p  [( P: O, I
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")* k3 h8 H+ G* a3 X2 }  p' n; Q
May 08, 2017 4:33:05 AM Main deleteWinstoneTempContents" ?5 G9 Q9 }1 I) q
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
: ]) \- x3 I1 `/ Q& GMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info. U% e# c1 ^+ o9 \8 |7 h8 n2 \/ @
INFO: Logging initialized @1248ms
, k  J; K# V/ v! U/ {1 IMay 08, 2017 4:33:05 AM winstone.Logger logInternal+ }: }' t. R, }0 L
INFO: Beginning extraction from war file
5 X# {+ n1 ?: \5 t# j  XMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn
: w' J& k. V% T/ E* w! q2 \WARNING: Empty contextPath3 k8 ?) q1 i# B' a4 N6 R
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
$ a8 F) w* I; ]7 B0 C- Q. XINFO: jetty-9.2.z-SNAPSHOT8 h# y" k* M" y4 q& \: A; b
May 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info
3 R, S, ~9 ]- t" MINFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet2 X  b0 }) z# c. @7 q
Jenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
7 G5 |6 p6 ]  |" cMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
/ o, \8 L! v9 \2 U% JINFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}$ ]& c. B: E( f5 ^0 x4 F% O7 d
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info* M0 x1 v. f& D+ n' @
INFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}( a2 |: J9 Q9 b0 Y, D5 ~
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info6 V. K) u* A( u) g
INFO: Started @4939ms& K* Q$ v$ w. Y6 r6 p
May 08, 2017 4:33:08 AM winstone.Logger logInternal
$ Y# S0 s5 v9 D* Z2 J/ k0 |) ^* Q3 cINFO: Winstone Servlet Engine v2.0 running: controlPort=disabled% I. ]) x5 s9 Q' j4 |
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
, Y3 I' N+ D- a; y1 Q' n0 b6 VINFO: Started initialization  O8 M% }, M& H* i- ?+ C
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained" G! w- ?0 x2 u
INFO: Listed all plugins
9 Y4 I; r9 t+ Y. H2 {) W; ~May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained0 V$ F4 J. u0 J2 Y
INFO: Prepared all plugins# T4 t- {3 }/ J  ?0 Q
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained) ^0 i6 k8 X- a+ {& s) F
INFO: Started all plugins
* O4 S" o/ r1 s' r& mMay 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
% t- n0 E# N4 vINFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping# o* N& i$ Y- Y. F+ K! d
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained0 m* m. f0 W4 c% E8 d2 q
INFO: Augmented all extensions, X, S& B: S: c2 N3 K5 D# l
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
# w; I7 g  ~: n" W9 JINFO: Loaded all jobs
' g5 H2 s! N- d2 [+ QMay 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run6 l. H: F7 x/ b! e
INFO: Started Download metadata
4 r* Q( e( Z, d) J! o2 Z, I5 A5 mMay 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run, y* y' ?* {' ?0 ]. }
INFO: Finished Download metadata. 17 ms0 T% z7 J/ e% G+ m" x) u. x/ e: m
May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained( e9 Y( d, T) a. M' @
INFO: Completed initialization) m" T6 ^2 e& P( Z
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
7 U( ]& g; b8 B! B0 G" xINFO: 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 hierarchy0 R/ x  C" v2 E2 r$ ^6 D3 z
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory" `- m8 ~! X0 U; {# j! E
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5$ [  B% [1 k1 G$ N
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
- G9 N# `# ~% Q  U2 Z9 J2 dINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy; J2 W! |" b# }& `3 \& g; S
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
& u) u) ?8 w' o7 LINFO: 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
( N/ w8 _* l! Z7 XMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
, i/ V& T( G6 |! U  lINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310# R9 ^4 h) c* ]2 `8 Z& E
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons4 {3 h9 |( q8 ~2 \2 K/ o4 D
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy
+ a( n$ h8 |5 Z2 SMay 08, 2017 4:33:36 AM hudson.WebAppMain$3 run
* B2 [: c( `3 a9 oINFO: Jenkins is fully up and running. s3 l7 {- i6 n0 ?
' J, w% r$ B" Q
' V6 W. W% J) `& Y; V4 o# a/ N1 u
=====================
; h0 q  w+ k5 ~4 R& t执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢
6 c9 m8 ~' _6 i+ g" J( h! x  {3 A6 m
3 @/ O/ r2 a- k) u9 ~. }  Y$ f$ java -version" o& P7 t( `6 B+ w. c9 t) h! H* p
java version "1.8.0_77"
6 v; M- `% ~  g3 v9 r) T% UJava(TM) SE Runtime Environment (build 1.8.0_77-b03)( o' z$ p2 z: ?
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
* x  [+ ~/ z# N" X3 s+ x5 V! B  u" I1 a  V0 P! B4 q3 W' ^
5 w6 ~" T' A+ z2 E+ Y

: t: e8 q% P1 |6 k2 v. e
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME
' f0 {$ e' g, s8 p  l8 t0 x; m
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。
& a8 }% r* f0 E/ h3 X/ ~- L
/ _# q' ^4 }3 E) }ps -ef|grep jenkins
, B6 y" ^" S  T$ eps -ef|grep java
3 O  O' K  ^$ _" h1 I3 s7 A8 M: @& L9 W
查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /3 下一条

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

GMT+8, 2018-8-17 15:06 , Processed in 0.056417 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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