FreeBSD Apache HTTP Accept Filter Error
When Apache web server is starting up in FreeBSD system, Apache loads succcessfully and web server functioning properly, but the following warning error occurs:
[warn] (2)No such file or directory:
Failed to enable the ‘httpready’ Accept Filter
The resolution to the above problem is to a accf_http module, which function is to buffer incoming connections until a certain complete HTTP requests arrive, into FreeBSD kernel by using kernel linker:
kldload accf_http
To permanently load enable HTTP Accept Filter FreeBSD kernel module (accf_http), add the following line into /boot/loader.conf:
accf_http_load=”YES”
Note: The default settings is located in /boot/defaults/loader.cnf. To see the related settings about accf, use:
grep accf /boot/defaults/loader.conf
which will returns:
accf_data_load=”NO” # Wait for data accept filter
accf_http_load=”NO” # Wait for full HTTP request accept filter
Related Articles
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page
- cPanel WHM Failed to Receive Status Information From Apache Error
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time
- How to Disable and Turn Off Apache (httpd) Access and Error Log










































December 16th, 2009 00:33
Great solution, thank you. However, when I went to copy and paste the line
accf_http_load=”YES”
into my config file, it produced a horrible mess all over my editor. The reason is that you have some fancy directional double quotes, no doubt helpfully supplied by your text editor. When putting in snippets of a config file, however, it would appear that the correct thing to do is always use plain old ascii double quotes.
Thanks
– Alex Aminoff
BaseSpace.net