SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4425|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war & * k7 g7 m! F3 j5 `- \8 m
[1] 7873+ m2 i, g; G! ]! B' j9 J* ~' b
[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war4 u/ S$ u. h" w
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
) G- o# _" w6 ]0 YMay 08, 2017 4:33:05 AM Main deleteWinstoneTempContents/ N" F$ S' H5 |& v" `
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war/ f) u$ D9 E+ G$ L+ H% K: x
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
1 ~  W( e" ~2 J1 ~INFO: Logging initialized @1248ms/ |0 A7 h1 ?3 @
May 08, 2017 4:33:05 AM winstone.Logger logInternal
% k- a1 Q! m! b7 V) [$ A, ]% MINFO: Beginning extraction from war file8 X9 f1 P- L, K5 E
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn
# l2 r2 y% [' |2 k  C, eWARNING: Empty contextPath
/ ?' C  i  v- Y( n- CMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
6 j; @2 F4 K3 Y2 m( nINFO: jetty-9.2.z-SNAPSHOT
1 C7 c4 Y1 Z5 B6 B1 wMay 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info
6 A1 T, d/ E2 ~$ uINFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet/ _4 `* Z. J/ C7 V8 P# n2 ^. _7 ]
Jenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")$ `; F# B+ Z- T
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info' }  |# h1 [) ?. f1 t
INFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}
  a# C  b9 ~* L( QMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info: ?1 F, t6 R, c  k+ \$ y5 U
INFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
3 V. q2 E+ ^+ C8 r- J; MMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
0 o4 Q6 b: g0 X, QINFO: Started @4939ms. W2 f: E  `2 Z3 d+ q/ ]
May 08, 2017 4:33:08 AM winstone.Logger logInternal! ]' m8 g0 K, X2 O9 K' ^' j
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled: E& Z6 D9 W3 T
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained+ E  U9 K  q/ t& V7 L+ p& `
INFO: Started initialization
3 q* e7 P" x3 Y+ y" A" L2 VMay 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained2 {) T0 }( F1 E; ?2 H
INFO: Listed all plugins
7 T( _2 R( a0 yMay 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
4 Y6 ]: R' R0 m, bINFO: Prepared all plugins$ F2 y- c# i" E
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained6 B: p0 G! {- m6 N  i4 S; I
INFO: Started all plugins
4 v( t0 ?- g9 a: ^9 uMay 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
, ^; o: r1 T* m8 Q, C0 WINFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping
: T" b) K" N$ Y+ B0 {May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
! ^  A4 a# w( f1 @INFO: Augmented all extensions6 Q1 [7 G. B  D" s( B% Y
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
  E7 D5 ^! @$ p2 s& c2 L. |# B! F; B3 f, NINFO: Loaded all jobs  F4 v1 r0 y& c- f- @& R2 ?! v
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
* p2 }$ B1 a! Y' x8 S; _3 YINFO: Started Download metadata0 o. S) A8 T  |& j
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run4 e# q; \4 k* a# p, D9 V
INFO: Finished Download metadata. 17 ms8 ?8 |$ j0 g7 M2 }
May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained. q: p* N1 v8 X6 H
INFO: Completed initialization
% |; l% d6 T) {* ~4 f( WMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
2 _* i( n9 D! DINFO: 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& S4 q4 }4 X; P9 w+ P1 A
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
0 w+ T* D! a4 ?) Q. T1 cINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c56 E( ?9 Z* s0 N6 y4 ?  _
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons0 V6 V5 n6 g1 U9 f% q) a
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy% t+ C4 ]3 ?4 z* u7 a
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh7 H! D' Y8 p' b. p* l2 b* p6 v& v
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: H1 Y3 Q3 x0 b
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
! |+ m; S3 i1 C+ \. F1 w$ S7 mINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310
, G$ j! j/ H! f4 t9 a6 lMay 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
% {! a) d- H% y3 P4 LINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy3 S3 w# d* \) V: J6 ^5 J* u9 ]
May 08, 2017 4:33:36 AM hudson.WebAppMain$3 run9 {6 v3 h* B: C- R; c
INFO: Jenkins is fully up and running- S9 A& e5 I8 H  P; W
2 u% n7 a) L% p3 K, h

; k' W. D- d4 m3 J5 s3 k) l( @0 K=====================5 G! E* U- H2 Y  K' V
执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢
, W) O4 I, \4 e- {9 [% M: ~, g
5 ^4 \& x; t; b  {3 d) p$ java -version8 O3 X6 v! W% |3 P/ @/ v1 x) P# w
java version "1.8.0_77"
/ g( h* F( Z7 A3 D  Q; ]Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
3 ~+ @" P9 k2 c: h+ b( ^5 pJava HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
  \9 C% P# B5 T6 V' f* |6 g9 |; P3 @  u/ r( f: p3 W3 @6 L

; u$ }9 t! g4 h+ B3 l
8 t4 i- l/ ^; m
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME8 M8 W) n% }. J# Q" S
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。, ^. Y: D2 t! ?$ p/ t
% v( [7 z& a+ _/ w' U# N8 F6 q. q
ps -ef|grep jenkins
# e5 H" `1 }  T. U3 o8 Q( n9 Wps -ef|grep java
( I0 K; ?2 ~/ p- j9 O
7 O8 ]( u8 z- w( x, a/ d" E查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

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

GMT+8, 2019-2-19 17:58 , Processed in 0.083560 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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