Subject: pkg/29661: rc-script of apache2 fails on reload (w/o error message)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@macfinity.net>
List: pkgsrc-bugs
Date: 03/11/2005 20:38:00
>Number:         29661
>Category:       pkg
>Synopsis:       rc-script of apache2 fails on reload (w/o error message)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 20:38:00 +0000 2005
>Originator:     Timo Schoeler
>Release:        NetBSD 2.0.1/i386
>Organization:
//macfinity
>Environment:
>Description:
after a /etc/rc.d/apache reload i see apache ignoring any new entries in it's config file or the config file of php (i had an addition in its 'extension=blahblah' list), i see the following in apache's error_log:

[Fri Mar 11 21:24:35 2005] [notice] Graceful restart requested, doing restart
[Fri Mar 11 21:24:35 2005] [warn] (51)Network is unreachable: connect to listener
[Fri Mar 11 21:24:40 2005] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 11 21:24:40 2005] [notice] Digest: done

doing a restart via /etc/rc.d/apache stop followed by /etc/rc.d/apache start which results in following lines in above mentioned file:

[Fri Mar 11 21:25:10 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Mar 11 21:25:12 2005] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 11 21:25:12 2005] [notice] Digest: done
[Fri Mar 11 21:25:13 2005] [notice] Apache configured -- resuming normal operations

apache runs as expected (i.e., reread the files and runs the added features).
>How-To-Repeat:
change a setting in httpd.conf or another config file which has an effect on apache's behaviour, reload apache. try it. watch it fail. stop and start apache, try again ;)
>Fix:
nope.