centos7啟動httpd服務失敗:Job for httpd.service failed because the control process exited with error code.


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
在這里插入圖片描述


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details Docker服務啟動報錯:Job for docker.service failed because the control process exited with error code. mariadb啟動時報錯Job for mariadb.service failed because the control process exited with error code. Job for nginx.service failed because the control process exited with error code. See “systemctl stat Linux 重啟網卡失敗 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. 【問題管理】 -- RabbitMQ啟動時報錯:Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbl -xe" for details. [linux]DHCP服務器啟動報錯Job for dhcpd.service failed because the control process exited with error code. See “systemctl status dhcpd.service” and “journalctl -xe” for details. Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details. mysql—Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.問題
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM