Apache 启动时候的问题!

由 wallace888 在 02-04-2004 01:58 发表:

Apache 启动时候的问题!

我在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

如何解决呢?谢谢大家了!


由 Snoopy 在 02-04-2004 04:53 发表:


这个提示出后,你的apache是否已经启动了?我想是的,只是你主机名问题而已

修改/etc/hosts,将自己ip和主机名加进去就不会了


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 wallace888 在 02-04-2004 10:47 发表:


兄弟还是不好用啊

[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

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus