SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4061|回复: 3

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

[复制链接]
发表于 2017-5-8 17:35:07 | 显示全部楼层 |阅读模式
[opzoon@localhost jenkins]$ java -jar /usr/lib/jenkins/jenkins.war & 2 Q: @0 e# X8 Q. @  ]* f
[1] 7873; F! _! f/ V; U5 [4 {5 i
[opzoon@localhost jenkins]$ Running from: /usr/lib/jenkins/jenkins.war3 D7 B  K8 ~! B- u
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")/ q" H# W( g& o' p2 H
May 08, 2017 4:33:05 AM Main deleteWinstoneTempContents( S9 z/ W6 n. {4 w
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
1 D) Y9 D& R1 x: u) `8 RMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info  P. ]3 P3 Y0 ?" s. w+ ^( ^6 G
INFO: Logging initialized @1248ms) Z$ ^, d: m/ e1 C6 k! V
May 08, 2017 4:33:05 AM winstone.Logger logInternal
5 b' C  L2 D4 f4 |5 ~$ T0 X8 F- e9 VINFO: Beginning extraction from war file
, t; m/ h6 U4 ~! p, `2 L. E0 xMay 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn% F* P6 |9 S" O3 w
WARNING: Empty contextPath
, ]% O8 A/ i9 q8 f: ~May 08, 2017 4:33:05 AM org.eclipse.jetty.util.log.JavaUtilLog info, ^  w, v0 |, K% V2 k1 ~) G
INFO: jetty-9.2.z-SNAPSHOT
0 T8 G- u6 e, o0 A7 SMay 08, 2017 4:33:07 AM org.eclipse.jetty.util.log.JavaUtilLog info7 c* n5 j7 u3 O& F# [$ w' Y
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
8 a6 ~, V( `# F  v" i/ q3 I! SJenkins home directory: /home/opzoon found at: EnvVars.masterEnvVars.get("JENKINS_HOME")8 H% m# D, D; J& b* A$ ^* l
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info) b& d$ Z9 O# S& @# s* `6 H/ G
INFO: Started w.@2892d68{/,file:/home/opzoon/war/,AVAILABLE}{/home/opzoon/war}9 {- J; h: N- x0 }$ J
May 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
$ N$ H5 X, b$ E1 nINFO: Started ServerConnector@7674f035{HTTP/1.1}{0.0.0.0:8080}
0 ^( H# I, W7 W% i5 b2 SMay 08, 2017 4:33:08 AM org.eclipse.jetty.util.log.JavaUtilLog info
: U) ~0 Y0 c3 O) u+ @INFO: Started @4939ms
* @/ K+ ]0 a2 R2 U* M# Z" `May 08, 2017 4:33:08 AM winstone.Logger logInternal+ s& L5 r: ~+ O4 r8 n& s
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
' Y% n3 Q7 `, hMay 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
+ r4 r& C+ j0 [' Q$ Y4 p! J" aINFO: Started initialization
4 L/ {4 P" p. M2 _May 08, 2017 4:33:10 AM jenkins.InitReactorRunner$1 onAttained
7 {2 v( l7 l: s% i$ A; [/ a# \INFO: Listed all plugins
4 K# E" J$ j7 x$ L+ ]: \May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained1 u# q" u7 Y' r8 H* y
INFO: Prepared all plugins6 Z9 l+ \8 L; X; N  u
May 08, 2017 4:33:24 AM jenkins.InitReactorRunner$1 onAttained
% ?/ _$ e6 s8 J6 `8 B# EINFO: Started all plugins
! X+ ]9 {1 h$ G5 ^( N) x1 FMay 08, 2017 4:33:27 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
9 Y" F+ \- {. n" W$ T9 eINFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping7 ?9 U; D# K- B- R6 g. }
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
4 ]  {4 ^3 N5 ]3 X0 tINFO: Augmented all extensions$ [1 q+ p7 G& |1 B! L( u" J
May 08, 2017 4:33:29 AM jenkins.InitReactorRunner$1 onAttained
0 E* P2 W/ \+ |+ H  w& |4 @$ @7 O8 DINFO: Loaded all jobs
0 h3 G/ [. O& o% i9 i0 e3 k& c' lMay 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
8 F. K, t: \6 i" y2 T/ ]+ ~INFO: Started Download metadata
/ b$ M; \& c- \May 08, 2017 4:33:30 AM hudson.model.AsyncPeriodicWork$1 run
" X7 K) v/ l) ~3 n0 S6 A! RINFO: Finished Download metadata. 17 ms
! r; q3 q% C- M5 `; `May 08, 2017 4:33:30 AM jenkins.InitReactorRunner$1 onAttained
( u  Q; b6 m& ]: y' _+ d+ o! o- UINFO: Completed initialization
3 S  y' m9 A( n6 T8 v) Z/ NMay 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
2 _- L, f" D; IINFO: 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$ {% [  b" N# n
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory# q+ W( ~9 M' u2 Y" x
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2e03fabc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5
% I+ M' |4 d. |- SMay 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons' X4 A7 G( t( d$ f# s
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@239588c5: defining beans [authenticationManager]; root of factory hierarchy. _( }) a! L4 a: l; i6 H7 L
May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
/ j: w' L1 L. @3 nINFO: 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
& z; P2 O/ C4 `8 ~May 08, 2017 4:33:31 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory8 `" ]; L  H4 H7 j9 u4 ]8 P
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@7766f37f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310
+ b, `& q+ J2 v* }# Z4 lMay 08, 2017 4:33:31 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons% W( V2 [3 t7 i
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5d98a310: defining beans [filter,legacy]; root of factory hierarchy
) n1 Z1 a# h8 r% mMay 08, 2017 4:33:36 AM hudson.WebAppMain$3 run, h1 t5 O$ W/ O) J
INFO: Jenkins is fully up and running+ q/ m: y8 S6 p4 }" D1 w  t& B

+ r; P+ W) {4 \( @1 v, k# f, I$ L1 W9 m7 e; N3 m, z+ e
=====================
8 w/ ^5 [; E% e执行java -jar /usr/lib/jenkins/jenkins.war & 命令后,提示jenkins is fully up and running,但是firefox通过IP地址加8080端口确无法连接,是什么原因呢  K- ]: Y9 d" d# t. i) Y; r

* v; L; @3 H* W# L: j( d$ java -version8 s  M4 I2 n4 b$ Z3 T" q
java version "1.8.0_77"
; \0 e7 D# Y5 L0 R0 IJava(TM) SE Runtime Environment (build 1.8.0_77-b03)' [  N0 `, k" l
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
1 L0 k) e' h% I1 F1 l0 ~
4 G6 {0 i3 c/ K- t$ G8 V, A
5 d+ x8 f. Z1 T8 N, z
5 W# n- E8 D0 O) f! ]$ V+ I
发表于 2017-5-24 10:49:26 | 显示全部楼层
没有设置环境变量JENKINS_HOME+ X- n# W  x6 v( Y8 @
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2017-9-9 18:18:31 | 显示全部楼层
先查看一下 jenkins 的进程,再看看 jenkins 对应的端口号。
/ m. u: U& D' @: y8 F) D2 u$ }+ V  g' `2 ?, i8 `; j( G% a' n
ps -ef|grep jenkins
& u" w+ M2 H' u" u( ops -ef|grep java
3 @% h+ _5 ]* ^- w, i# o+ ~; e1 y. j& u& `8 r4 }$ Y
查看 jenkins 进程,查看对应的端口号信息。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

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

GMT+8, 2018-12-13 08:41 , Processed in 0.059781 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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