Chinaunix

标题: 关于APACHE不能启动的问题 [打印本页]

作者: ztsstz    时间: 2008-01-25 13:36
标题: 关于APACHE不能启动的问题
系统:freebsd 7.0-PRERELEASE
安装apache-2.2.8
#cd /usr/ports/www/apache22
#make install clean
安装过程会有提示,保持默认即可
完成后启动APACHE
#/usr/local/etc/rc.d/apache22 start 没有任何提示
#top 没有httpd进程
接着执行命令
#httpd
报错,提示::“No such file or directory: Failed to enable the 'httpready' Accept Filte”

通过网上搜索此错误提示,解决方法是:
修改/boot/defaults/loader.conf文件,
添加:
accf_data_load="YES"
accf_http_load="YES"
#reboot
执行
#/usr/local/etc/rc.d/apache22 start
或者
#httpd
都没有任何提示
#top(还是没有httpd进程)
通过此方法解决,看来并不成功

最后查看/var/log/httpd-error.log日志
提示mod_unique_id.so有问题
修改/usr/local/etc/apache22/httpd.conf
将LoadModule unique_id_module libexec/apache22/mod_unique_id.so这一行给注销掉
#reboot
#top (出现httpd进程)

到此问题解决


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7576/showart_471177.html




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