Job for Jenkins.Service Failed Because The Control Process Exited with error code. Start Jenkins error resolution

tags: Jenkins

Start Jenkins report

Job for jenkins.service failed because the control process exited with error code

I. Report an error message

systemctl status jenkins.service 

2. Problem

There is a problem with the Java environment in Jenkins.

echo $JAVA_HOME

I am using the Java environment / usr / local / java

But need to add / bin / java

III. Solution

  1. Modify the configuration file
vim /etc/init.d/jenkins

Find the specified location to add

  1. Save and start Jenkins
systemctl daemon-reload
systemctl restart jenkins
  1. Successfully launched Jenkins

Intelligent Recommendation

Reids error resolution: Job for redis-server.service failed because the control process exited with error code.

In the morning, when I started Redis, I reported the following error: View error message: There is a key sentence in it: redis-server[29517]: 29517:C 10 May 14:48:08.460 # Fatal error, can't open conf...

Job for Keepalived.service failed Because The Control Process Exited with error code. Error resolution

Project scene: Use the command to start under Linux systemkeepalived service. Problem Description: Command launchkeepalived Service, has already run the following command: The command run results erro...

Docker start error: Job for docker.service failed because the control process exited with error code

Start Docker title the following error: Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe&rd...

After installing docker, start reporting an error Job for docker.service failed because the control process exited with error code. See

After installing docker, start error Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe&rdquo...

HTTPD start (restart) error: Job for httpd.service failed Because The Control Process Exited with error code.

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. When the HTTPD service is tu...

More Recommendation

HTTP start (restart) error: Job for httpd.service failed Because The Control Process Exited with error code.

HTTP boot (restart) error: job for httpd.service failed Because The Control Process Exited with error code. See "Systemctl status httpd.service" and "journalctl-xi" for details. 【p...

Nginx start error: Job for nginx.service failed Because The Control Process Exited with error code

Nginx launch error: Job for nginx.service failed Because The Control Process Exited with error code. See "Systemctl Status Nginx.service" and "journalctl -xe" for details. View err...

Start nginx and report an error Job for nginx.service failed because the control process exited with error code.

【Problem Description】 systemctl start nginx starts nginx and reports an error Job for nginx.service failed because the control process exited with error code.See "systemctl status nginx.service&q...

CentOS7 installation docker failed to start: Job for docker.service failed because the control process exited with error code

After installing docker on a new virtual machine CentOS7, the startup failed and the console reported an error:Job for docker.service failed because the control process exited with error code. See &qu...

Linux failed to start or restart mysql: Job for mysqld.service failed because the control process exited with error code.

Problem Description: 1. Enter the command: systemctl start mysqld or service mysql start or service mysql restart 2. View the status of mysql solution View mysql permissions 2. View the process #ps -a...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top