LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   jenkins service can't start with message: Job for jenkins.service failed because the control process exited with error (https://www.linuxquestions.org/questions/linux-general-1/jenkins-service-cant-start-with-message-job-for-jenkins-service-failed-because-the-control-process-exited-with-error-4175708075/)

jolintan 02-15-2022 09:05 AM

jenkins service can't start with message: Job for jenkins.service failed because the control process exited with error
 
centos stream9, install java openjdk 1.8.0, then i install jenkins, but when i try to start the jenkins service, it is said that "Job for jenkins.service failed because the control process exited with error", any idea to troubleshoot?
My step is as follows:
dnf install java-1.8.0-openjdk-devel
wget –O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
nano /etc/yum.repos.d/jenkins.repo
change baseurl to be http://pkg.jenkins.io/redhat
rpm ––import https://pkg.jenkins.io/redhat/jenkins.io.key
dnf install jenkins //no error message
systemctl start jenkins, now error: Job for jenkins.service failed because the control process exited with error

not sure why stream9 can't install jenkins? any idea?

jolintan 02-16-2022 05:59 AM

any one knows?

pan64 02-16-2022 06:05 AM

please do not bump your own thread. From the other hand I think jenkins is installed [successfully], but not configured properly.

jolintan 02-16-2022 08:45 AM

yes, resolve the problem, add path into init.d/jenkins candidate, now jenkins works

pan64 02-16-2022 08:48 AM

in that case you might want to mark the thread as solved. thanks


All times are GMT -5. The time now is 11:31 PM.