apache problems

Miroslav Lachman 000.fbsd at quip.cz
Thu Aug 16 12:15:19 PDT 2007


Jeremy Chadwick wrote:
[...]
>>I'm also getting this error when I do a gracful restart of apache
>>[Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
>>the 'httpready' Accept Filter
>>[Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
>>the 'httpready' Accept Filter
>>
>>and in my /boot/loader.conf I have added
>>accf_data_load="YES"
>>accf_http_load="YES"
> 
> 
> Remove those.  Here's why:
> 
> The apache rc.d startup script automatically will load accf_http.ko.
> I also believe if that fails, Apache will try to load it.  From my
> experiences kldload/kldunload with accf_* is not very friendly; I've
> seen where you can double-load the modules, and where you can't unload
> the modules despite nothing using them.  If you have them built-in to
> your kernel, it gets even worse.

It is not always possible to load modules after OS startup is done - 
when securelevel is 1 or above, you can not load kernel modules.

Miroslav Lachman



More information about the freebsd-stable mailing list