On Thu, Mar 11, 2010 at 04:08:10PM +0200, Ozgur Kazancci wrote:
>When apachectl issuing a restart, it sends a SIGHUP signal to httpd,
>and when httpd receives this signal, it doesn't exit from its chroot.
>So, "apachectl restart" becomes unfunctional when you have external
>modules via LoadModule in your httpd.conf.
That's a documented 'feature' in man apachectl:
restart Restart httpd(8) by sending it a SIGHUP. If the daemon is
not running, it is started. This command automatically
checks the configuration files via configtest before initi-
ating the restart to make sure httpd(8) doesn't die. If
httpd runs chrooted (default in OpenBSD) and 3rd party mod-
ules are loaded, restart may fail due to path inconsisten-
cy. Completely stop and start the daemon instead.