SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 3789|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war & , t! D" q1 i4 J
[1] 7873
, A1 R7 [! f/ v# a% q[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war1 s9 E! T8 P" i
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME"): b2 c- N1 i' ?, F  Q2 ~2 L6 d
May 08, 2017 4:33:05 AM Main deleteWinstoneTempContents# f  [$ {6 s: P% i, c
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
6 J! h1 z  ^; k( \9 t; R9 j( lMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
( M6 C2 g* b6 DINFO: Logging initialized @1248ms% _) `! i8 n) |% `3 w
May 08, 2017 4:33:05 AM winstone.Logger logInternal
$ F1 z9 D0 O& Q6 E! oINFO: Beginning extraction from war file
1 f! C% @( x8 cMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn0 p, t3 u6 z) B% _9 ]5 R& l& f
WARNING: Empty contextPath
5 @1 m8 ?- a) |8 g% S5 s$ m$ oMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
" S1 n9 e9 g$ W: `# Q+ SINFO: jetty-9.2.z-SNAPSHOT2 b7 N9 y6 _$ R: q6 |/ p' O& C
May 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info5 g" X8 _1 w! Z
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
/ T: L& g) ]2 N  h4 K& c0 s3 W+ \8 ~Jenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")- D0 n9 ^3 h! X* K9 [' {- `! u/ `% ~
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
6 w3 P: T2 p9 s( s& ?/ P% }1 A" YINFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}
3 [' a  @) ^  I. S3 rMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
2 |1 n, H+ I2 tINFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
/ c3 ]. M0 W+ F3 A" D2 {May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info  {! @6 Z8 A: D
INFO: Started @4939ms* K1 o2 f* m% w( F  ]
May 08, 2017 4:33:08 AM winstone.Logger logInternal$ m6 @) \* y7 I- f. a
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled: E  S% G: E8 {. }  j' r0 B
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
& K& D* r8 ?4 }7 R8 F! p& jINFO: Started initialization
% P4 v' K9 I2 v! x% J+ zMay 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
# p  L! t# j+ i; k8 j* t% ^4 l* e) eINFO: Listed all plugins
1 v/ e4 ^7 D+ _0 {3 k6 }: v8 \1 UMay 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained( Y% b& z! x" v$ k* a6 j) f4 U8 n
INFO: Prepared all plugins
- x$ ]# f7 T1 J8 f8 l" B, eMay 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
6 ~; o, j$ a; Q4 c1 WINFO: Started all plugins/ y+ ^3 q% {$ X) A& V+ \% U/ |
May 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
& X4 D+ X& {0 h9 ]INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping# R* n9 M* n4 ?4 @6 Q- E. o
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained" F, E1 E' x  ^! U
INFO: Augmented all extensions% R3 S& L) Z& `1 R" B1 |3 {; f
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
# d" n9 K: R" S$ @8 {9 C- T- XINFO: Loaded all jobs; {- U5 T. \9 L- _
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run' l0 [& o& g4 s$ P
INFO: Started Download metadata' C; v% {3 L7 ]2 }0 R4 h/ i
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
. s0 L9 l" j7 M8 x' [2 fINFO: Finished Download metadata. 17 ms* Y- o  \6 y1 @
May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained1 r& T6 x. `8 U" n) o& m: A3 _
INFO: Completed initialization- R/ z5 s3 N: p& Q
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
$ d; P& E( ^- i4 A# KINFO: 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- s5 p3 J& }$ _! @& D4 S; D
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory1 x' ^" S/ _9 e
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c53 S# e& e" q4 F( B5 @2 o
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
: ?$ x; H2 J# |; {INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy
8 w0 R* B. G: {4 A0 r! eMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh& X* {5 z8 p* H3 M6 T
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 hierarchy2 f  b8 M- a0 d+ \# r& D
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
8 e9 @) R  j+ DINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a3101 v9 |! a5 j/ P6 `0 l. \
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  h& ?8 m/ c7 b# `0 W0 I( QINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy) K9 v, M- ?9 n. G5 a3 z
May 08, 2017 4:33:36 AM hudson.WebAppMain$3 run
$ @* b; e- s; j1 c5 u" ~: nINFO: Jenkins is fully up and running* g* |6 p* x- ^; Z+ }  u8 q+ g: n* Q

: r- V3 k, P% s  t* C& ?4 X! |" M; L* D$ C
=====================
# o, C4 }, g% t3 o' Y执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢# ?4 ]% c& T4 M) D

: G6 U1 @$ J) S2 t3 N$ java -version
4 M* R9 G9 h: J& mjava version "1.8.0_77"; D5 R% g1 k( S7 q% G' p
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
& m' m+ e; h; G' B. ?4 O2 ^Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
2 ~4 d2 e% n* C- a! n" b  v# _3 r* k2 i

& a8 E3 w, x1 o; n+ G' d  H
7 a/ N5 S3 \, z5 a6 {9 P3 R
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME
# Q$ w6 t2 v& b  n9 d
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。! P" m* I* U2 q# o+ Y) S
7 H5 P5 e2 }* O
ps -ef|grep jenkins2 I. C( ~3 {  ]4 o) W# u: J% f
ps -ef|grep java4 D* J7 Y( Q( V; V) o, y& u
& \0 m' L4 |# F3 X9 s
查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

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

GMT+8, 2018-10-19 15:58 , Processed in 0.079657 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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