Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 15:47:49 +0200
From:      Maciej Wierzbicki <mwierzbicki@media4u.pl>
To:        apache@FreeBSD.org
Subject:   [apache22] startup script error for graceful restart?
Message-ID:  <4ABB7885.7060901@media4u.pl>

next in thread | raw e-mail | index | archive | help
Hello

I have apache22 instalation in jail on 7.2/amd64 boxes. Here is relevant 
part of rc.conf for it:
apache22_enable="YES"
apache22_http_accept_enable="YES"

I have such options in my kernel:
options         ACCEPT_FILTER_HTTP
options         ACCEPT_FILTER_DATA

kldstat confirms:
# kldstat -v | grep accf_http
	120 accf_http

Normal apache22 start - no problems, everything works as expected:

root      72596  0.0  0.4 149168 16648  ??  SsJ   3:41PM   0:00.20 
/usr/local/sbin/httpd
www       72623  0.0  0.4 150192 18388  ??  SJ    3:42PM   0:00.03 
/usr/local/sbin/httpd
www       72626  0.0  0.4 150192 18032  ??  SJ    3:42PM   0:00.02 
/usr/local/sbin/httpd
www       72635  0.0  0.4 150192 18384  ??  SJ    3:42PM   0:00.03 
/usr/local/sbin/httpd
www       72646  0.0  0.4 150192 18436  ??  SJ    3:42PM   0:00.03 
/usr/local/sbin/httpd
www       72653  0.0  0.4 150192 18384  ??  SJ    3:42PM   0:00.02 
/usr/local/sbin/httpd
www       72654  0.0  0.4 150192 18384  ??  SJ    3:42PM   0:00.02 
/usr/local/sbin/httpd
www       72657  0.0  0.4 150192 18384  ??  SJ    3:42PM   0:00.02 
/usr/local/sbin/httpd
www       72668  0.0  0.4 150192 18200  ??  SJ    3:43PM   0:00.01 
/usr/local/sbin/httpd
[...]

However, graceful restart produces two wrong log warnlines:

[Thu Sep 24 15:40:55 2009] [notice] Graceful restart requested, doing 
restart
[Thu Sep 24 15:40:55 2009] [warn] (22)Invalid argument: Failed to enable 
the 'dataready' Accept Filter
[Thu Sep 24 15:40:55 2009] [warn] (22)Invalid argument: Failed to enable 
the 'httpready' Accept Filter
[Thu Sep 24 15:40:55 2009] [notice] Digest: generating secret for digest 
authentication ...
[Thu Sep 24 15:40:55 2009] [notice] Digest: done
[Thu Sep 24 15:40:56 2009] [notice] Apache/2.2.13 (FreeBSD) 
mod_ssl/2.2.13 OpenSSL/0.9.8e PHP/5.2.10 mod_auth_pgsql/2.0.3 configured 
-- resuming normal operations

These warns about failing to enable httpready/dataready accept filters - 
could be that its just a problem with apachectl/httpd -k graceful? If 
yes, how to fix, to NOT get these warns to errorlog?

Regards
-- 
*   Maciej Wierzbicki * At paranoia's poison door  *
*   VOO1-RIPE   *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABB7885.7060901>