手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

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

linux
相关资讯       Ubuntu知识 
本文评论   查看全部评论 (1)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 1 楼
* 匿名 发表于 2013/8/27 15:51:33
不管用呢