![httpd.service 的作业失败,因为控制进程退出并出现错误代码。请参阅“systemctl status httpd.service”和“journalctl -xe”](https://linux22.com/image/223313/httpd.service%20%E7%9A%84%E4%BD%9C%E4%B8%9A%E5%A4%B1%E8%B4%A5%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%8E%A7%E5%88%B6%E8%BF%9B%E7%A8%8B%E9%80%80%E5%87%BA%E5%B9%B6%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81%E3%80%82%E8%AF%B7%E5%8F%82%E9%98%85%E2%80%9Csystemctl%20status%20httpd.service%E2%80%9D%E5%92%8C%E2%80%9Cjournalctl%20-xe%E2%80%9D.png)
我遇到了 apache 重启的问题
我们正在使用 CWPPro 管理面板来管理 CWPPro 中托管的多个域。阿帕奇不工作。显示失败状态。重启后,错误信息如下:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
获取日志文件后出现以下错误:
Aug 09 06:18:39 bweb systemd[1]: Starting Web server Apache...
Aug 09 06:18:39 bweb apachectl[27117]: AH00112: Warning: DocumentRoot [/home/afridian/public_html] does not exist
Aug 09 06:18:39 bweb apachectl[27117]: AH00112: Warning: DocumentRoot [/home/afridian/public_html] does not exist
Aug 09 06:18:39 bweb apachectl[27117]: AH00112: Warning: DocumentRoot [/home/thebriti/public_html] does not exist
Aug 09 06:18:39 bweb apachectl[27117]: AH00112: Warning: DocumentRoot [/home/thebriti/public_html] does not exist
Aug 09 06:18:39 bweb systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 09 06:18:39 bweb systemd[1]: Failed to start Web server Apache.
Aug 09 06:18:39 bweb systemd[1]: Unit httpd.service entered failed state.
Aug 09 06:18:39 bweb systemd[1]: httpd.service failed.