免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2277 | 回复: 4
打印 上一主题 下一主题

重启httpd 出现下面的问题 怎么回事啊,如何处理啊! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-07 16:04 |只看该作者 |倒序浏览
重启httpd  出现下面的问题 怎么回事啊,如何处理啊!
启动 httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

论坛徽章:
0
2 [报告]
发表于 2008-03-07 16:09 |只看该作者
原帖由 shijunhyjs 于 2008-3-7 16:04 发表
重启httpd  出现下面的问题 怎么回事啊,如何处理啊!
启动 httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

不是说的很清楚吗 域名问题  尝试用127.0.0.1当servername看看

论坛徽章:
0
3 [报告]
发表于 2008-03-07 16:17 |只看该作者
哦  我一直没理解这句话  不好意思!其实没什么问题 就是看着不爽而已

论坛徽章:
0
4 [报告]
发表于 2008-03-07 22:26 |只看该作者
把你的主机名称和IP地址对应加到/etc/hosts文件中。

论坛徽章:
0
5 [报告]
发表于 2008-05-12 09:51 |只看该作者
apache2: Could not reliably determine the server's fully qualified

domain name, using 127.0.1.1 for ServerName

A:这是一个 warning,出现在apache2启动或重起时。主要是因为在配置

apache2 时,没有指定相应的主机名,即 ServerName。修改

/etc/apache2/httpd.conf , 在最前加入 ServerName localhost:80 即可。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP