LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2022, 09:05 AM   #1
jolintan
Member
 
Registered: Sep 2018
Posts: 43

Rep: Reputation: Disabled
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?

Last edited by jolintan; 02-16-2022 at 05:59 AM.
 
Old 02-16-2022, 05:59 AM   #2
jolintan
Member
 
Registered: Sep 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
any one knows?
 
Old 02-16-2022, 06:05 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,949

Rep: Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326
please do not bump your own thread. From the other hand I think jenkins is installed [successfully], but not configured properly.
 
Old 02-16-2022, 08:45 AM   #4
jolintan
Member
 
Registered: Sep 2018
Posts: 43

Original Poster
Rep: Reputation: Disabled
yes, resolve the problem, add path into init.d/jenkins candidate, now jenkins works
 
Old 02-16-2022, 08:48 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,949

Rep: Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326Reputation: 7326
in that case you might want to mark the thread as solved. thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
systemd service failed to start with errror : “main process exited, code=exited, status=3/NOTIMPLEMENTED” prcm Red Hat 10 02-25-2022 02:15 AM
LXer: Postgresql service failed because the control process exited with an error code LXer Syndicated Linux News 1 01-18-2021 10:11 AM
Job for apache2.service failed because the control process exited with error code CompleteNewbie2020 Linux - Server 1 10-29-2020 03:03 AM
Erreur slapd : Job for slapd.service failed because the control process exited with error code ibzjuz Linux - Newbie 2 11-30-2018 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration