LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 839|回复: 3

Apache 启动时候的问题!

[复制链接]
发表于 2004-2-4 01:58:00 | 显示全部楼层 |阅读模式
我在RH8.0中安装了httpd-2.0.47.tar.gz的包。现在一切都安装好了,在编译的时候没有任何的错误提示。我以前在RH8.0中的apache没有卸载。我用
#service httpd stop将它停掉了。
我现在用
#/opt/apache/bin/apachectl start 启动apache提示

httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
如何解决呢?谢谢大家了!
发表于 2004-2-4 04:53:30 | 显示全部楼层
这个提示出后,你的apache是否已经启动了?我想是的,只是你主机名问题而已

修改/etc/hosts,将自己ip和主机名加进去就不会了
 楼主| 发表于 2004-2-4 10:47:57 | 显示全部楼层
兄弟还是不好用啊
[root@wallace bin]# ./apachectl start
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.211 for ServerName
我已经修改了啊!
[root@wallace bin]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.1.211           wallace localhost.localdomain localhost
发表于 2004-2-4 12:04:26 | 显示全部楼层
修改ServerName 为你的主机名
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表