cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd