jenkins failed to start: Job for jenkins.service failed because the control process exited with error code. See

tags: Operation and maintenance

After installing and deploying jenkins, the problem of startup failure

Error code: Jenkins prompts to run systemctl status jenkins.service to view the location of the jenkins error

Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.

systemctl status jenkins.service

jenkins requires jdk. Starting Jenkins bash: /usr/bin/java There is no such file directory

solution
1. View current Java environment variables echo $JAVA_HOME
There is nothing to run ** Execute source /etc/profile


2. Copy the environment variables of Java, vim/etc/init.d/jenkins file, find the specified location and add
/usr/local/jdk/jdk1.8.0_251/bin/javaAttach /bin/java to the suffix

then restart the jenkins service

systemctl start jenkins

As a result, a warning appears: and it prompts to run: systemctl daemon-reload to reload

systemctl daemon-reload

systemctl restart jenkins

Intelligent Recommendation

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...

Start docker, when newspaper Job for docker.service failed because the control process exited with error code. See "

1. When using systemctl start docker.service startup error error message: Job for docker.service failed because the control process exited with error code See "systemctl status docker.service&quo...

Docker Start Job for Docker.Service Failed Because The Control Process Exited with error code. See "SYST

Since my Docker is installed on the virtual machine, because the computer has not shutdown to Taika, he restarted the machine today, but the Docker did not restart, so it will be implemented.systemctl...

Docker startup failed Job for docker.service failed because the control process exited with error code. See "s

Docker startup failed Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. vim ...

Docker launch failed Job for Docker.Service Failed Because The Control Process Exited with error code. See "S

Docker launched a failing job for docker.service failed Because The Control Process EXITED WITROR CODE. See "Systemctl Status docker.service" and "journalctl-xi" for details. Cento...

More Recommendation

The centOS7 network card failed to start, and an error was reported: Job for network.service failed because the control process exited with error code.

An error is reported when starting the network card: [root@hadoop103 su]# systemctl start network Job for network.service failed because the control process exited with error code. See “systemct...

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...

Start at the Linux environment to start httpd service error: job for httpd.service failed Because the Control Process Exited with Error Code.

I want to open in the Linux environmenthttpd service implement After the command showReport an error It may be the default port of the HTTP service -port 80 is occupied Execute the following command U...

docker error:. Job for docker.service failed because the control process exited with error code See "sy ...

centos start docker Service error: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for ...

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

Top