您的位置: 首页 > IT文章 > centos7启动httpd服务失败:Job for httpd.service failed because the control process exited with error code. centos7启动httpd服务失败:Job for httpd.service failed because the control process exited with error code. 分类: IT文章 • 2022-07-26 15:27:14 centos7启动httpd命令有两个可以用service httpd start systemctl start httpd.service 如果出现如下报错Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details. 应该是端口被占用,查看端口netstat -antlp | grep 80 是nginx占用了端口systemctl stop nginx.service 停用nginx即可 如果想开机关闭nginx则输入命令 systemctl disable nginx