您的位置:首页 > 运维架构 > Apache

Ubuntu Apache2重启提示could not reliably determine the server’e fully…问题解决

2014-03-24 13:49 453 查看

Ubuntu Apache2重启提示could not reliably determine the server’e fully…问题解决

Ubuntu 环境,当apache2重启提示:

* Starting web server apache2

apache2: Could not reliably determine the server's fully qualified domain name,

... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName



解决的问题是:

sudo vim /etc/apache2/sites-available/default

打开default文件后,在default文件顶端加入:

ServerName 127.0.0.1

重启apache2 就不会提示上述错误了。

转自: http://www.linuxidc.com/Linux/2010-07/27144.htm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐