|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: CRONOLOG: apache restart hangs with cronolog
- To: <cronolog-users@xxxxxxxxxxxxxxxxxx>
- Subject: RE: CRONOLOG: apache restart hangs with cronolog
- From: "Paul Robert Saxman" <saxman@xxxxxxxxxxxxxxx>
- Date: Fri, 28 Jun 2002 13:33:00 -0400
- Thread-index: AcIeuQsHtvFzfksWQJe4uFyDcUIVtAADNA5A
- Thread-topic: CRONOLOG: apache restart hangs with cronolog
I've experienced this on our Solaris 8/Sparc servers also which are running Apache HTTPD versions 1.3.22 through 1.3.26. Our configurations don't use vhosts but do use a similar logging format. A graceful restart works fine on our servers, but a hard restart causes the root httpd process to hang.
PRS
-----Original Message-----
From: Staf Wagemakers [mailto:staf.wagemakers@xxxxxxxxxxx]
Sent: Friday, June 28, 2002 11:05 AM
To: cronolog-users@xxxxxxxxxxxxxxxxxx
Subject: CRONOLOG: apache restart hangs with cronolog
Hi list,
I'm using cronolog ( 1.6.2 ) to rotate the access and errorlog on
my webserver ( apache 1.3.26 on solaris 8/sparc ) for a few virtual
hosts.
Every virtual host has his own access and error log which are
rotated by cronolog.
ErrorLog "|/usr/local/cronolog/sbin/cronolog \
/var/log/apache/hostname_error.%Y%m%d"
CustomLog "|/usr/local/cronolog/sbin/cronolog \
/var/log/apache/hostname_access.%Y%m%d" combined
This works fine, but when I restart apache with "apachectl restart",
the parent http daemon and the cronologs processes hang and I've to
kill the apache daemon with "kill -9".
If I disable cronolog in the httpd.conf, the "apachectl restart" command
works fine.
Does someone have a solution to this problem?
--
Staf Wagemakers
email: staf.wagemakers@xxxxxxxxxxx
homepage: http://staf.patat.org
|