12月8

httpd: Could not reliably determine the server's fully qualified domain name

| |
15:47FreeBSD  
今天在FreeBSD上安装了apache,安装完成以后,执行apachectl start,却发现启动不了,报错了:
httpd: Could not reliably determine the server's fully qualified domain name.
[Thu Dec 08 15:43:05 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter

解决方案:

修改httpd.conf里的计算机名称:#vi /usr/local/etc/apache22/httpd.conf

将里面的#ServerName www.example.com:80注释掉即可。

再执行apachectl start就可以正常启动apache了。

可以通过客户端访问http://ip,如果页面显示“It works!”,即表示apache已安装并启动成功。

阅读(3587) | 评论(0) | 引用(0)