problem s Apache22 na FreeBSD 6.1 a Accept Filter

Miroslav Lachman 000.fbsd at quip.cz
Mon Jul 24 13:20:01 CEST 2006


Pouzivate nekdo Apache 2.2.2 na FreeBSD 6.1 s Accept Filterem v kernelu?
Filter mam natazeny jako modul v /boot/loader.conf
accf_data_load="YES"
accf_http_load="YES"

Apache nespoustim pres rc script, ale pres daemontools - v run scriptu je:
exec /usr/local/sbin/httpd -D NO_DETACH -D SSL 2>> /var/log/httpd-error.log

Start Apache probehne bez problemu, ale pokus o reload mi do errorlogu 
hodi nasledujici:

[Mon Jul 24 13:06:33 2006] [notice] Graceful restart requested, doing 
restart
[Mon Jul 24 13:06:33 2006] [warn] (22)Invalid argument: Failed to enable 
the 'httpready' Accept Filter
[Mon Jul 24 13:06:33 2006] [warn] (22)Invalid argument: Failed to enable 
the 'httpready' Accept Filter
[Mon Jul 24 13:06:33 2006] [warn] (22)Invalid argument: Failed to enable 
the 'httpready' Accept Filter
[Mon Jul 24 13:06:33 2006] [notice] Digest: generating secret for digest 
authentication ...
[Mon Jul 24 13:06:33 2006] [notice] Digest: done
[Mon Jul 24 13:06:33 2006] [notice] Apache configured -- resuming normal 
operations

A to nezavisle na tom, jestli pouziju svc -h (coz by melo zaslat signal 
HUP pro znovunacteni konfigurace a otevreni log souboru), nebo zaslanim 
signalu USR1 primo prikazem kill rodicovskemu procesu Apache.

svc -d /var/service/apache22 a nasledne svc -u /var/service/apache22 
opet probehne bez tech chybovych hlasek.

Napada vas nekoho, v cem muze byt problem a jak ho odstranit?

Kernel je GENERIC z 6.1 release.

# kldstat
Id Refs Address    Size     Name
  1    7 0xc0400000 691928   kernel
  2    1 0xc0a92000 198c     accf_data.ko
  3    1 0xc0a94000 2364     accf_http.ko
  4    1 0xc0a97000 13d00    geom_mirror.ko
  5    1 0xc0aab000 58554    acpi.ko
  6    1 0xc4f34000 2d000    pf.k

Miroslav Lachman



More information about the Users-l mailing list