免费注册 查看新帖 |

Chinaunix

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

[Web] httpd -f XXXXX/httpd.conf 提示出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-02 04:52 |只看该作者 |倒序浏览
系统是Red Hat Linux release 9 (Shrike)
装的httpd     httpd-2.0.40-21

[root@mysql root]# apachectl configtest
Syntax OK

[root@mysql root]# /etc/rc.d/init.d/httpd restart
停止  httpd                                           [  确定]
启动  httpd                                            [ 确定 ]

[root@mysql bin]# pstree |grep http
     |-httpd---8*[httpd]

[root@mysql root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mysql
GATEWAY=172.16.1.1

[root@mysql bin]# ./httpd -f /usr/local/XXXXXXXX/cfg/httpd.conf
[Thu Oct  2 01:29:21 2008] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

按照网上所说的,修改/etc/httpd/conf/下的httpd.conf
ServerName 127.0.0.1:80(试过ServerName 172.16.1.212:80,ServerName mysql:80)

还是提示httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
想不出什么解决的办法。

请帮我看一下,谢谢~

论坛徽章:
0
2 [报告]
发表于 2008-10-02 16:15 |只看该作者
Could not determine the server's fully qualified domain name

请设置你的FQDN,也就是你的机器名

论坛徽章:
0
3 [报告]
发表于 2008-10-05 23:55 |只看该作者
怎么设置fqdn呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP