当前位置:   article > 正文

启动Apache服务时报错,Job for httpd.service failed because the control_job for httpd.service failed because the control p

job for httpd.service failed because the control process exited with error c

安装完httpd服务以后,再启动时报错

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

这时我们用systemctl status httpd.service 查看服务的状态,发现80端口被占用

  ps -ef|grep httpd察看占用的进程或者用netstat -lnp|grep 80 

 发现是nginx占用了80端口,找到以后kill 1069

再启动httpd服务就好了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/155325
推荐阅读
相关标签
  

闽ICP备14008679号