-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Debian 8.5
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Jenkins 2.14
-
-
Jenkins 2.164.1
After running apt-get update / upgrade and Jenkins is updated from 2.13 to 2.14 by the package, it failed to start.
I have also noticed this in previous 2.x upgrades as well. After I reboot my system, it loads correctly.
sudo systemctl status jenkins.service
● jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins)
Active: failed (Result: exit-code) since Tue 2016-07-19 05:58:50 EDT; 41s ago
Process: 2079 ExecStop=/etc/init.d/jenkins stop (code=exited, status=0/SUCCESS )
Process: 2120 ExecStart=/etc/init.d/jenkins start (code=exited, status=7)
su[2135]: Successful su for jenkins by root
su[2135]: + ??? root:jenkins
su[2135]: pam_unix(su:session): session opened for u...0)
jenkins[2120]: Starting Jenkins Continuous Integrati...d!
systemd[1]: jenkins.service: control process exited,...=7
systemd[1]: Failed to start LSB: Start Jenkins at bo...e.
systemd[1]: Unit jenkins.service entered failed state.
Hello,
I'm a new Jenkins user, in fact, I'm having issues with the installation. I've read the docs (https://jenkins.io/doc/book/installing/) and followed them to the letter. I purged the installation and tried again. I rebooted a couple of times. I tried also to look for extra information and various web searches led me here (and also to Stack Exchange and Server Fault, but those solutions didn't help). The symptoms in this JIRA bug match exactly what I'm seeing with my Ubuntu installation.
My research:
https://stackoverflow.com/questions/10133964/jenkins-failed-to-start-in-linux?noredirect=1&lq=1
https://stackoverflow.com/questions/39621263/jenkins-fails-when-running-service-start-jenkins#45430023
https://groups.google.com/forum/#!msg/jenkinsci-users/eW_yEWLojFc/tFhb8DKoRHUJ
During my latest attempt I used a book about Jenkins, where the author suggested the following steps:
setting_up_jenkins.txt
A fragment from my shell follows:
jenkins_service_not_starting.txt
The service is having issues with starting.
I'm using Ubuntu 16.04.1, x64 architecture.
My Java version:
td@topaz:/var/log/jenkins$ update-java-alternatives -l
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
The package Ubuntu fetched:
{{jenkins/binary,now 2.108 all [installed] }}
Sadly, the logfile in /var/log/jenkins is empty.
Could you please point me to other places where I can find more information? Are there some diagnostic tools or extra logs I can digest and paste here?
I'm not sure if this is important, but when using the Docker image I installed yesterday, Jenkins runs just fine (however, I'm much more interested in a bare metal install).