SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 1987|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war &
0 `! d7 q$ }* E0 H& N: o) a[1] 7873  \/ _; a7 z. H- R( A$ w
[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war
* V" d$ s. j' {0 v4 b6 Twebroot: EnvVars.masterEnvVars.get("JENKINS_HOME")6 w  p9 Q* ]0 I/ }. N
May 08, 2017 4:33:05 AM Main deleteWinstoneTempContents
, b. L' f8 W  C) q* tWARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
# v- o  g- g0 ^' Z' c: _7 D7 tMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info9 O+ \9 @" K8 o) ?: x
INFO: Logging initialized @1248ms* W' f+ w: x2 G; `, J) ~
May 08, 2017 4:33:05 AM winstone.Logger logInternal
. P- V7 i/ L9 X4 `INFO: Beginning extraction from war file& {. P* O( K1 l! t; ?. ~
May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn" P2 t( f" Q5 D( B5 X$ V
WARNING: Empty contextPath
/ l% I  _  R) S. r$ C, {May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info' h8 Y7 O9 u+ j
INFO: jetty-9.2.z-SNAPSHOT) [. z- e$ Z: G1 G, T8 I# C
May 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info/ q' r5 U+ [$ \2 ^) T
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
1 o' t3 x* H2 U; u$ w7 z" r; \Jenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")9 C: q& q6 n; S
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info7 N7 P% K; n6 t& H
INFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}
" F9 g- W$ X4 e- V8 X) z0 HMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info: P3 S1 c, f5 _& r5 c
INFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
0 A  i: l& ^7 T" ^May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
  z/ B* R& y; {; u2 ^, G" RINFO: Started @4939ms$ r9 Q+ \& S: w" q+ B
May 08, 2017 4:33:08 AM winstone.Logger logInternal
1 a" I+ p; x0 w( ?" VINFO: Winstone Servlet Engine v2.0 running: controlPort=disabled: V, R3 q- _4 [2 p  l: r" E6 y
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained/ X2 x, _0 G# E: y
INFO: Started initialization  ?9 _. z0 x& Q  P* E
May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained4 O, H! S+ v& M1 N
INFO: Listed all plugins
6 Y8 ~9 l/ c+ ?& bMay 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
) A+ C) W- A) ]7 |. ~8 l9 D2 Y/ yINFO: Prepared all plugins0 @9 |5 m% v' d& z" L# U7 ?+ g
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained, {" s3 C+ l& G0 H0 b$ P' m# @
INFO: Started all plugins
+ @9 s0 m* d9 eMay 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error( ?! j/ P- p& g! [' _( I
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping/ z) `3 l0 }# O8 ^, x
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained# `+ U, O: t. n; n* Z$ D
INFO: Augmented all extensions
7 L# @- m8 J+ l) o+ }  XMay 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained: \& x) v5 k! b9 J! I
INFO: Loaded all jobs
5 @/ x0 x+ P# g/ A( H5 R& eMay 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
1 {' m, _  P+ b, x; K5 V+ ZINFO: Started Download metadata- w) x1 e3 b2 K9 T0 o% ^8 \2 X+ u
May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
3 K. @! O2 P" V  A/ dINFO: Finished Download metadata. 17 ms
) _" Q+ l/ L5 z/ r4 f( C* YMay 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained/ u3 _/ a9 K; s- Z- Z2 \4 @2 [
INFO: Completed initialization& g2 t, ?, F! G
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
% v, P5 W4 B/ U/ d" ?! 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- s; d: e7 U. M0 p9 g& L8 s) u( ]/ P+ G
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory* l! x- [/ z/ \8 `$ s) z& f2 p
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c56 G# m- D3 ^1 U( I; `$ Y& T# i
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons1 S* }+ q5 S  W+ J9 h$ w
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy
# k! g( X. e) Q; l* NMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh: q# S6 S% v5 d% ^* U
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 hierarchy8 g- }: p, ]# S! j" s+ M3 O
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory0 {9 Y( u* U6 k2 S
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310/ p6 Z( X8 F! X) ?* W; x
May 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
( Z4 M+ P2 L' q1 p- R) K' GINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy  O3 z) ]+ T: b* N+ P
May 08, 2017 4:33:36 AM hudson.WebAppMain$3 run" @" R5 x& M: ?5 t; ~* g
INFO: Jenkins is fully up and running  q0 l* Z" l; e! w4 v# E( Z- T

( \) s8 G# d$ x& q+ k7 |$ H1 D) \* I1 W0 u9 p
=====================1 r  C& p3 {- Q; c# T
执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢
; @4 I* y% [- I4 Q
8 n) E* a7 I- k( V: C5 [' m" \$ java -version
: s1 S1 m' j+ B; r: P) l! zjava version "1.8.0_77"
5 W( j6 Q9 C2 [5 W5 T6 U0 K  ^: JJava(TM) SE Runtime Environment (build 1.8.0_77-b03)
8 P6 N/ _# ~0 T0 ZJava HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
; x' E6 t6 K# C% F- \5 X9 ~) X/ y8 E
& J4 ^6 i7 J4 U8 ?3 g  L
. n& q0 m! T. J: A+ I/ t: \- n. K4 X/ @: j
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME1 ^2 l% F6 V% s; T: ]% x5 M8 c$ |, D
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。* [3 l4 F( }( T. W/ U

4 t/ R/ ]0 E5 r0 P0 \ps -ef|grep jenkins
4 S( K. G7 d: p, H% x' D) F6 wps -ef|grep java
- j* w* e! o/ H; G0 F! ]
2 R1 L# ]( ?8 m" t: |查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2018-1-19 10:51 , Processed in 0.063930 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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