A
A
Artemiy Kaminskiy2020-03-31 12:04:02
linux
Artemiy Kaminskiy, 2020-03-31 12:04:02

Problem with Jenkins in Astra what is the reason?

Error while installing jenkins:

Configuring jenkins package (2.222.1) …
Job for jenkins.service failed because the control process exited with error code.
See "systemctl status jenkins.service" and "journalctl -xe" for details.
invoke-rc.d: initscript jenkins, action "start" failed.
? jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-03-31 11: 49:53 MSK; 37ms ago
Docs: man:systemd-sysv-generator(8)
Process: 11250 ExecStart=/etc/init.d/jenkins start (code=exited, status=7)

Mar 31 11:49:52 astrabb systemd[1]: Starting LSB: Start Jenkins at boot time...
Mar 31 11:49:52 AM astrabb jenkins[11250]: Correct java version found
Mar 31 11:49:52 AM astrabb su[11281]: Successful su for jenkins by root
Mar 31 11:49:52 AM astrabb su[11281]: + ??? root:jenkins
Mar 31 11:49:52 AM astrabb su[11281]: pam_unix(su:session): session opened for user jenkins by (uid=0)
Mar 31 11:49:53 AM astrabb jenkins[11250]: Starting Jenkins Automation Server: jenkins failed!
Mar 31 11:49:53 AM astrabb systemd[1]: jenkins.service: Control process exited, code=exited status=7
Mar 31 11:49:53 AM astrabb systemd[1]: Failed to start LSB: Start Jenkins at boot time .
Mar 31 11:49:53 AM astrabb systemd[1]: jenkins.service: Unit entered failed state.
Mar 31 11:49:53 AM astrabb systemd[1]: jenkins.service: Failed with result 'exit-code'.
dpkg: error processing jenkins package (--configure): sub-process
installed post-installation script returned error code 1 Errors
occurred while processing the following packages:
jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)

system clean, only deb repositories are connected and the openjdk-8-jre package with dependencies is installed. What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artemiy Kaminskiy, 2020-03-31
@loonser

figured out the problem
https://github.com/konstruktoid/hardening/issues/23
maybe it will help someone else...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question