I have this exact same problem. I am running a freshly installed Ubuntu 14.04 LTS vm. I used the repo instructions from: http://pkg.jenkins-ci.org/debian-stable/ to install. I get exactly the same output as the original poster. This vm has no previously installed java or jenkins on it. After the apt-get install fails, if I just run apt-get install again jenkins starts and works. Apt automatically installs openjdk 7, so that looks ok. I can replicate this at will and using the 'non stable' repo (https://pkg.jenkins.io/debian/) generates the same results.
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/3b619878-14d4-4509-a6f3-ed24c0a0bc98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
