重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using相关的知识,希望对你有一定的参考价值。
启动apache提示 :
apache2: Could not reliably determine the server‘s fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server‘s fully qualified domain name, using 127.0.1.1 for ServerName
(1)、进入apache的安装目录: cd /etc/apache2/
(2)、编辑http.conf文件,添加ServerName localhost:80
sudo vim httpd.conf
(3)、最后,再次重启apache
sudo /etc/init.d/apache2 restart
以上是关于重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using的主要内容,如果未能解决你的问题,请参考以下文章
apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
Apache2启动错误Could not reliably determine the server's fully qualified domain name
debian Linux下 apache2 出错,不能启动,求助各位大侠
安装启动apache2.4后报Invalid command 'order', perhaps misspelled or defined by a module not includ