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]

Re: CRONOLOG: cronolog without /bin/sh



On Wed, Apr 09, 2003 at 01:43:10AM +0200, Sven Khler wrote:
> >I'm trying to find the best way to run cronolog without having to keep a 
> >copy
> >of /bin/sh in my Apache chroot.  Since Apache's external logging mechanism
> >requires it be there, |cronolog doesn't really work for me.  The two 
> >options
> 
> Are you sure?
> That would mean, that i should have /bin/sh within my pstree, but apache 
> seems to be the _direct_ parent of my cronlog processes, so no /bin/sh 
> is running.
Yes, the error_log_child function in 1.3.27's http_log.c will show
you what it's doing.  You can also test quickly - move /bin/sh to
/bin/notsh or somesuch and start Apache, you'll get a "broken pipe"
error.  Apache 2.0 does it too, unfortunately.
-David

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