当前位置: > Linux服务器 > apache >

ubuntu下Apache重启错误:Could not reliably determin解决办法

时间:2014-06-26 01:33来源:linux.it.net.cn 作者:IT网

Ubuntu下Apache重启出现错误提示:Could not reliably determin

错误信息:
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

解决方法:
sudo gedit /etc/apache2/apache2.conf

在文件后面加上:
#Server Name
ServerName 127.0.0.1

(责任编辑:IT)
------分隔线----------------------------