Chinaunix

标题: 求助!apache安装配置并成功启动apache服务,但不能访问! [打印本页]

作者: hellojan    时间: 2008-05-16 15:31
标题: 求助!apache安装配置并成功启动apache服务,但不能访问!
已解决,因为防火墙的原因

[ 本帖最后由 hellojan 于 2008-5-16 15:59 编辑 ]
作者: hy0kl    时间: 2008-05-19 12:17
楼主能否分享一下解决问题的经验.

PS:在下也遇到了同样的问题.
www# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
无法访问到.
作者: hy0kl    时间: 2008-05-19 17:04
终于搞定了!

原文地址:http://www.linuxdiyf.com/viewarticle.php?id=76813

No such file or directory: Failed to enable the 'httpready' Accept Filter

决方法是:

#kldload accf_http
并将/boot/defaults/loader.conf中,以便下次启动自动装载模块

accf_data_load="YES"
accf_http_load="YES"

/usr/local/etc/rc.d/apapche22 start httpd 不启动,同时/var/log/httpd-error.log 显示

:[Sun Apr 15 20:22:48 2007] [alert] (EAI hostname nor

servname provided, or not known: mod_unique_id: unable to find IPv4 address o
Configuration Failed

解决方法:

注释掉 /usr/local/etc/apache22/httpd.conf 中的mod_unique_id 模块

作者: chengxiaowei    时间: 2008-05-21 16:15
我用的方法是service iptables stop就搞定了,呵呵

估计下次弄到防火墙的时候,也会用到这个的。谢谢




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2