我在centOS apache服务器上使用了“service httpd restart”命令,发生以下错误:
Job for httpd.service Failed because the control process exited with error code. See “systemctl status httpd.service and “journalctl -xe” for details.
解决方法
Job for httpd.service Failed because the control process exited with error code. See “systemctl status httpd.service and “journalctl -xe” for details.
(empahsis mine)
How do I solve this error?
>仔细阅读错误消息,请注意它提供了有关如何收集更多信息的有用信息,特别是它提到了应该运行的2个命令
> systemctl status httpd.service
> journalctl -xe
>运行有用的错误消息中提到的命令(后者可能最有用),但同时查看两者.>仔细阅读命令提供的信息内容.它将包含可用于解决问题的信息.