-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins 2.5
Hi,
I created the following question on stack overflow and I can't find yet the problem to my jenkins installation. http://serverfault.com/questions/791848/jenkins-hangs-on-startup
If I use the command line
service jenkins start
after installing jenkins on ubuntu 14.0 4 using the jenkins debian repository I cannot start the service.
One interesting detail is that there is no jobs and no plugins yet. It is a vanilla install.
In the logs it often stops here:
Running from: /usr/share/jenkins/jenkins.war Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @385ms Jul 25, 2016 6:38:05 PM winstone.Logger logInternal INFO: Beginning extraction from war file Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME") Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@48795c6b{/,file:/var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war} Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@14e1f904{HTTP/1.1}{0.0.0.0:8080} Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @1528ms Jul 25, 2016 6:38:06 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Jul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Jul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Jul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Jul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Jul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Jul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs
What is even more strange is that if I manually start the daemon using the following command
/usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
Jenkins starts successfully.
How do I find out what is the error behind the scene when it is starting from the service?
Thanks
Dominick