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]>
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]>
> 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].
>> 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/CAO49JtH6d28pZRUkdos8hpq4FRgNQq1i_m7SBpj2067_v66GFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to