[apache22] startup script error for graceful restart?

View: New views
2 Messages — Rating Filter:   Alert me  

[apache22] startup script error for graceful restart?

by Maciej Wierzbicki-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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   *
_______________________________________________
freebsd-apache@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "freebsd-apache-unsubscribe@..."

Re: [apache22] startup script error for graceful restart?

by hexabit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

system: apache22, FreeBSD 7.2/amd64.

I have exactly the same problem with graceful and reload commands.

For a short time i loaded modules http_ready, http_data by kldload, then
i compiled them into the kernel thouth this will solve the problem, but it
doesn't change anything. Althrough when i do

apachectl stop
apachectl start

there is no warning message in the httpd-error.log.

Regards
--
hexabit