加入收藏
网站地图
网站搜索
阅读内容

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

[日期:2010-07-18] 来源:Ubuntu社区  作者:jordy

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 就不会提示上述错误了。




相关资讯       Ubuntu知识 
本文评论       全部评论
发表评论

请您注意:
遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。
LinuxIDC.com拥有管理笔名和留言的一切权利。

点评: 字数
姓名: