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

tags: Linux  httpd

Description Installed Ambari + HDP (CentOS 8, Alibaba Cloud Server), made a local yum source, after installing httpd, an error is reported

Job for httpd.service failed because the control process exited with error code.see “systemctl status httpd.service” and “journalctl -xe” for details.

This reminder will let you check the current status log. When viewing the status log, you will basically find that some services are in the fail state, basically the httpd service fails

Here are some solutions:

Solution: This is a very common error, there are two possible causes


1. Just kill this process:


First ps –aux | grep http
The second line number is the process pid number
Kill -9 pid number to kill the process
After killing, restart reboot and then ps –aux | grep http to ensure that the httpd process is killed. If it is found that the process cannot be killed, look down

2. If the process is killed, the restart process still exists, which means that it has become a zombie process, and reinstall Had httpd

Proceed as follows:
First uninstall httpd and mod_wsgi with yum,
Command: yum remove httpd mod_wsgi;
Then install yun -y install httpd mod_wsgi
After the installation is complete, service httpd restart is enough. The problem is basically eliminated

 

 

Intelligent Recommendation

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

This is the original version 7.4 In order to keep the version consistent, first uninstall the openssh-client, then sudo apt-get install openssh-server and then install it, and then update the version ...

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

I encountered a problem during the startup mysql today.Job for mysqld.service failed because the control process exited with error codeThe error is recorded as follows. premise Before starting, in/etc...

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

Install and configure the bind server: yum install bind-chroot           -y Three key files: Main configuration file (/etc/named.conf) Regional configuration file (/etc/n...

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

Starting jenkins (via systemctl): Job for jenkins.service failed because the control process exited with error code. See “systemctl status jenkins.service” and “journalctl -xe”...

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

Job for network.service failed because the control process exited with error code background Open a centOS7 in vmware, it can be used at the beginning. After two days, turn on the virtual machine and ...

More Recommendation

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

Starting nginx package error "Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for de...

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

root@xiakaibi-PC:~# service jenkins restart Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe...

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

Restarting docker after modifying the /etc/docker/daemon.json file raises the following exception At the time, my /etc/docker/daemon.json file was as follows solution: Delete the comment, and then res...

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

The error message is as follows Obviously this means that port 80 has been occupied, indicating that there is a corresponding process running, just find the process and close it! In the above picture,...

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

Problem Description: Jenkins reported when using the service jenkins start to start Jenkins The error message is as follows: Cause Analysis: The reason here is because there is no error in JDK paths i...

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

Top