- 论坛徽章:
- 0
|
系统是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
想不出什么解决的办法。
请帮我看一下,谢谢~ |
|