I have the same problem. Running a freshly installed Ubuntu 14.04 LTS, no
java package installed. I've followed the installation instructions at
http://pkg.jenkins-ci.org/debian-stable/ exactly. I end up with the same
results:
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ca-certificates (20160104ubuntu0.14.04.1) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
done.
STDERR: invoke-rc.d: initscript jenkins, action "start" failed.
dpkg: error processing package jenkins (--configure):
subprocess installed post-installation script returned error exit
status 7
Errors were encountered while processing:
jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)
There was no previously installed Jenkins on this vm. If I login to the
box and run 'apt-get install jenkins' a 2nd time, Jenkins starts and all is
well. The install automatically pulls in all of the dependencies as it
should, including openJDK:
root@default-ubuntu-1404:~# java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-0ubuntu0.14.04.3)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
Using the stable or the LTS repo has the same result.
Brad
On Thursday, August 25, 2016 at 5:21:56 AM UTC-7, Mark Waite wrote:
> If you had Jenkins installed previously on that computer, check that
> /etc/default/jenkins is setting the value of RUN_STANDALONE=true. I
> believe that the Jenkins installer for Ubuntu (and Debian) wants to start
> the Jenkins server, and it won't start the Jenkins server if
> RUN_STANDALONE=false.
>
> Mark Waite
>
> On Thu, Aug 25, 2016 at 6:19 AM Mark Waite <[email protected]
> <javascript:>> wrote:
>
>> Use "java -version" to check that the java installation is at least Java
>> 7. The latest Jenkins requires at least Java 7.
>>
>> Check that openjdk or Oracle Java are the java implementations, rather
>> than gcj. Jenkins does not run with gcj as the java implementation.
>>
>> Ubuntu 12.04 is an older Linux release, nearing the end of its vendor
>> provided support life (April 2017 will end support for it). You might
>> perform a test installation on a different computer running a newer Ubuntu
>> version (like 14.04 or 16.04).
>>
>> Mark Waite
>>
>> On Thu, Aug 25, 2016 at 5:41 AM Shivaji Patne <[email protected]
>> <javascript:>> wrote:
>>
>>> how could i solve this problem ..while installing jenkins on mu
>>> ubuntu12.04
>>>
>>>
>>> Setting up jenkins (2.19) ...
>>> * Starting Jenkins Continuous Integration Server jenkins
>>> [fail]
>>> invoke-rc.d: initscript jenkins, action "start" failed.
>>> dpkg: error processing jenkins (--configure):
>>> subprocess installed post-installation script returned error exit
>>> status 7
>>> Errors were encountered while processing:
>>> jenkins
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected] <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/8391e800-ca65-4791-8f83-5ffd4c51d17b%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/jenkinsci-users/8391e800-ca65-4791-8f83-5ffd4c51d17b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/0be35aa2-5a11-4884-8463-be3ced054e81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.