DEV.MD / Developer Network
Search:     Advanced search
Browse by category:
Glossary | Contact Us

FreeBSD Apache HTTP Accept Filter Error

Add comment
Views: 1553
Votes: 1
Comments: 0
Posted: 05 Apr, 2009
by: Zavadschi S.
Updated: 05 Apr, 2009
by: Zavadschi S.

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

Others in this Category
document Mount ISO image in FreeBSD
document Updating the Ports Collection on FreeBSD
document CVsup sources
document IPFW - Configuring Firewalls
document Operating with aliases on Ethernet interfaces
document Identify PCI Devices in FreeBSD
document How to change a MAC address in FreeBSD
document Remove all installed packages and ports on FreeBSD
document Installation and Configuration of Nginx FastCGI PHP
document How can I tell how much RAM is installed on a FreeBSD box?



RSS