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
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...
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...
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 "systemctl status docker.service" and "journalctl -xe" for details. vim ...
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...
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...
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...
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...
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...
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 ...