webmin下apache问题

由 dean 在 10-16-2003 18:45 发表:

webmin下apache问题

我配置好dns后,想起动apache但是启动不成功,webmin显示:

Failed to start apache :

Starting httpd: [Thu Oct 16 18:41:23 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 192.168.0.2 for ServerName

[ OK ]

急死我了。大家帮我看看吧,我在线等大家的回复。


由 vion800 在 10-16-2003 21:08 发表:


你试试nslookup看看你的dns是否正常先

如果正常的话就是你的httpd.conf的问题了


由 dean 在 10-17-2003 12:05 发表:


我看过了,dns正常.我知道httpd.conf有问题,但是不知道出错在哪里?有没有高手给解答一下。


由 dato 在 10-17-2003 12:15 发表:


Failed to start apache :

Starting httpd: [Thu Oct 16 18:41:23 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 192.168.0.2 for ServerName

[ OK ]

应该正常启动了,当我们用win32包的apache时,在开始安装之前就指定了DNS域名,linux下自己编绎的就没有了,它已经说使用192.168.0.2来代替域名了

那就是这个了

ServerName dato.minidns.net:80


http://dato.minidns.net

Webmasterworld -- the next person you help may just be yourself!


由 qing 在 10-17-2003 12:24 发表:


修改/etc/hosts文件

加入

xxxx 192.168.0.2

xxxx你的hostname


离开这里吧。。。。请封号。。删贴。。我先删了一部分。。


由 大熊宝宝 在 10-17-2003 21:48 发表:


然后修改ServerName 为/etc/hosts里的XXX


请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.<br /

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