freebsd apache
2010年3月27日
没有评论
1.报错Freebsd: No such file or directory: Failed to enable the ‘httpready’ Accept Filter
载入模块
vivi#kldload accf_http
vivi#kldload accf_data
重启apache就好了
2.vivi# ./apachectl -k start 无提示,80端口未开
查看日志
vivi# cat /var/log/httpd-error.log
[Sat Mar 27 22:09:46 2010] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of “vivi”
编辑/usr/local/etc/apache22/httpd.conf
注释这行 #LoadModule unique_id_module libexec/apache22/mod_unique_id.so
打开/etc/rc.conf设置:
accf_data_load=”YES”
accf_http_load=”YES”
apache22_enable=”YES”