AH00558: apache2: Could not reliably determine the server's fully

来源:互联网 发布:淘宝联盟怎么登陆 编辑:程序博客网 时间:2024/06/05 14:17

AH00558: apache2: Could not reliably determine the server’s fully
qualified domain name, using 127.0.1.1. Set the ‘ServerName’
directive globally to suppress this message
httpd not running, trying to start
(13)Permission denied: AH00072: make_sock: could not bind to address
(13)Permission denied: AH00072: make_sock: could not bind to address
0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action ‘restart’ failed.
The Apache error log may have more information.

apache 重新启动报如上错误
上面的错误是因为修改了主机名称导致需要再
/etc/apache2/apache2.conf 文件下面添加ServerName 127.0.0.1 即可重启命令

apchectl restart 重启下服务器

0 0
原创粉丝点击