Apache HTTP Server(httpd.service)启动失败问题求助
大家好,我们现在碰到个头疼的问题:httpd.service 死活启动不起来,试了一些办法都没搞定,真心希望有懂行的朋友能支支招!
具体情况是这样的:启动Apache时一直失败,系统提示控制进程退出时带有错误代码。我们已经尝试过在sudo nano /etc/apache2/apache2.conf文件末尾添加ServerName 127.0.0.1,但这个方法并没有解决问题。
下面是相关的操作日志,供大家排查参考:
[root@freepbx ~]# sudo systemctl restart 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.[root@freepbx ~]# sudo 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.[root@freepbx ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server Loaded: ...
如果有任何解决思路或者可行的方法,麻烦告知一下,真的非常感谢!
备注:内容来源于stack exchange,提问作者Sergey Milovskiy

