Re: Apache dies silently from log-rotate !?

From: Uwe Dippel (udippel_at_uniten.edu.my)
Date: 12/28/03


Date: Sun, 28 Dec 2003 10:39:12 +0800

On Sun, 28 Dec 2003 02:27:22 +0800, Uwe Dippel wrote:

> [Sun Dec 28 00:00:02 2003] [notice] SIGUSR1 received. Doing graceful restart
> Syntax error on line 199 of /conf/httpd.conf:
> Cannot load /usr/lib/apache/modules/mod_rewrite.so into server: Can't open file

Now I've got to confess that I missed to mention something in my post: as
one *might* expect in OpenBSD, Apache runs chrooted.
>From a chrooted Apache, of course this module is unavailable. But I'd have
to consider it a flaw, if this was the reason; then many a library files
might be missing after logrotatation without a *really* good reason.

I might be completely wrong on the chroot-track for this problem after
all ...