Job for httpd.service failed because the control process exited with error code. See “systemctl stat

tags: Wrong  centos  linux

illustrate

At the same time, HTTPD and Nginx are installed, the default port is 80, conflict error.

Wrong

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

solve

  • View the port is occupied
[root@centos1905 Code]# netstat -ntulp |grep 80
tcp6       0      0 :::80                   :::*                    LISTEN      33498/httpd 

1. Modify one of the default ports

  • Nginx
# Open NGINX configuration file
vi /etc/nginx/nginx.conf
#       Server listen 88
server {
        listen       8088 default_server;
        listen       [::]:8088 default_server;
  • Httpd
# Open httpd configuration file
vi /etc/httpd/conf/httpd.conf
# Modify the listening port of the HTTPD service
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

2, uninstall one of the services that are not available

Intelligent Recommendation

Job for postfix.service failed because the control process exited with error code. See "systemctl st

Centos7 failed to start postfix Try to solve Modify the settings of /etc/postfix/main.cf...

Job for docker.service failed because the control process exited with error code. See “systemctl sta

Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journa lctl -xe” for details. If there is the same ...

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

There was a problem :When I started to operate Docker, I reported this error after the installation started Job for docker.service failed because the control process exited with error code. See "...

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

The docker startup error is: [root@iz8vb4rhbik3h93v48ztfvz docker]# systemctl restart docker.service Job for docker.service failed because the control process exited with error code. See "systemc...

Job for jenkins.service failed because the control process exited with error code. See "systemctl st

systemctl status jenkins.service I see the reason because: Solution: Solution: 1> View current Java environment variables echo $JAVA_HOME 2> Copy the Java environment variable address, edit the ...

More Recommendation

Job for network.service failed because the control process exited with error code. See “systemctl st

Virtual machine networking issues Restart the network card and report the following error: Job for network.service failed because the control process exited with error code. See “systemctl statu...

Job for jenkins.service failed because the control process exited with error code. See “systemctl st

Record a Jenkins startup error Jenkins has been booting up all the time, and the boot access failed today, so check it out and try to restart: Reported the above error, prompt to use the command:syste...

Job for tomcat.service failed because the control process exited with error code. See “systemctl sta

CentOS 7 Configures Tomcat Self-Start Times The following error usesystemctl status tomcat.serviceCommand view error message The error message is lacking the Java_Home or JRE_HOME environment variable...

Solve Job for Docker.service Failed Because The Control Process Exited with error code. See "Systemctl S

Installing the installation of Docker Docker daemon in Ubuntu16.04 can't afford it, and report the following error: Job for docker.service failed because the control process exited with error code. Se...

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

Top