FreeBSD亞帕基印第安人HTTP受理過濾器錯誤
當Apache Web Server在FreeBSD系統時起動,亞帕基印第安人裝載得succcessfully和網絡服務器適當地起作用,但以下警告錯誤生成:
[警告] (2)沒有這樣文件或目錄:
沒使能`httpready』受理過濾器
決議到上述問題是到accf_http模塊,作用是緩衝傳入連接,直到某些完全HTTP請求到達,入FreeBSD仁通過使用仁連接器:
kldload accf_http
永久地裝載使HTTP受理過濾器FreeBSD仁模塊(accf_http),增加以下線入/boot/loader.conf :
accf_http_load=」是」
注: 缺省設置位於/boot/defaults/loader.cnf。 要看相關設置關於accf,使用:
grep accf /boot/defaults/loader.conf
哪些意志退回:
accf_data_load=」沒有」 #等待數據受理過濾器
accf_http_load=」沒有」 #等待充分的HTTP請求受理過濾器
重要: 這是現狀提供,不用保單的機器翻譯的頁。 計算機翻譯也許是難瞭解。 參見 原始的英國文章 每當可能。
分享并且貢獻或者得到技術支持并且幫助在 我的數字式生活論壇.
相關文章
- 安裝網絡服務器在FreeBSD 6.0與亞帕基印第安人2.2, MySQL 5.0和PHP 5 -第4部分
- 安裝網絡服務器在FreeBSD 6.0與亞帕基印第安人2.2, MySQL 5.0和PHP 5 -第5部分
- winnt_accept : 異步AcceptEx不合格的錯誤在亞帕基印第安人日誌
- 安裝網絡服務器在FreeBSD 6.0與亞帕基印第安人2.2, MySQL 5.0和PHP 5 -第3部分
- 亞帕基印第安人狀態(whm服務器狀態)在cPanel WebHost經理退回空白頁
- WHM沒的cPanel從亞帕基印第安人錯誤獲得狀態信息
- 開始亞帕基印第安人HTTPD出故障的由於不能開始或這樣沒有mod_bwlimited, mod_log_bytes或mod_bandwidth文件
- 亞帕基印第安人警告NameVirtualHost * :80沒有VirtualHosts錯誤,當開始
- 自動停工和再開始亞帕基印第安人HTTPD服務邪魔在被預先設定的時刻
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD

































May 14th, 2006 20:52
Thanks for posting this article, it saved me alot of time tracking down that error message.
–Chris
May 19th, 2006 10:02
ditto. Good job. Its quite difficult getting information on this one. thanks again.
Bruce
June 10th, 2006 01:17
Thanks for the tip. However, I don’t want to run httpd as root, for security reasons (it’s not a web server just a svn server). If I switch to a non privlaged user this error comes back. Do I have to turn request buffering off?
September 6th, 2006 11:23
thanks!
October 25th, 2006 00:58
TY very much for the info, resolved my issue
November 18th, 2006 02:56
[...] Faça uma visita rápida ao My Digital Life… [...]
January 23rd, 2007 16:44
thankz a lot
April 1st, 2007 22:23
Thanks! That saved me probably a few hours of trouble shooting. This is the ONLY article that Google matched for the httpready accept filter problem.
For those of you who want to run Apache as non-root, make sure that you set the PidFile and LockFile attributes in your httpd.conf to a directory that you non-root account can write to.
April 29th, 2007 07:18
[...] FreeBSD Apache HTTP Accept Filter Error » My Digital Life or directory: Failed to enable the ‘httpready’ Accept Filter /boot/loader.conf: accf_http_load=”YES” [...]
May 16th, 2007 12:57
[...] Courtesy § [...]
May 27th, 2007 21:38
thanks alot, it’s save my work !
May 31st, 2007 19:22
big tx
July 9th, 2007 18:00
[...] is loaded on subsequent reboots (by adding it to the “loader.conf” file). Thanks to My Digital Life too. Posted in Apache, [...]
November 7th, 2007 23:07
Adding to /boot/loader.conf will make the change permanent, but if you fancy testing this change out without rebooting your system, you can run this: -
# kldload accf_http
You can see that it’s been loaded by doing: -
# kldstat
Id Refs Address Size Name
1 5 0xc0400000 6f6544 kernel
2 1 0xc41f6000 2000 accf_http.ko <-- you just loaded this module!
You can now restart Apache and see that your previous error is no longer.
December 4th, 2007 09:57
and if you have your apache running
in a jail, and wish not to touch the
host, what would you recommend?
December 29th, 2007 13:57
awesome, thank you for fixing this problem !!
May 11th, 2008 11:50
thank you thank you ! So happy that you posted this fix !
July 11th, 2008 15:26
You’re a genious!! Solved in 5 minutes instead of 5 hours.
July 12th, 2008 02:32
[...] “[warn] (2)No such file or directory: Failed to enable the ‘httpready’ Accept Filter” error when starting apache with FreeBSD. Fix is here. [...]
July 16th, 2008 17:59
rc.d script for apache now manage this kernel module
Just add
apache22_http_accept_enable=”YES”
to your rc.conf
August 7th, 2008 20:13
[...] http://www.mydigitallife.info/2006/04/23/freebsd-apache-http-accept-filter-error/ [...]
August 8th, 2008 13:27
I just got a new jail on FreeBSD 7.0, and installed apache, I got the error when starting apache, so I tried to follow the advice here, but when I tried to add this line accf_http_load=”YES”
to /boot/loader.conf
I got this error: Read-only file system.
I tried to run the mount command to make the file read/writalbe, but I got
fstab: /etc/fstab:0: No such file or directory
Am I missing fstab file? How do I edit the file?
Thanks,