httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert G. Fischer" <herb...@trama.com>
Subject Re: [users@httpd] rotatelogs and cronolog don't die!
Date Tue, 18 Nov 2003 22:29:02 GMT
The problem is not directly with cronolog because I'm having the same
problem with rotatelogs.

I think that is something with Apache related to the standard libs from
Slackware 9.1 because on Suse 7.3 PPC + Apache + Cronolog I don't have this
problem.

The same problem was reproduced on another machine with Slack 9.1 and Apache
2.0.47.

I'm trying to understand Apache source to do some tests but I'm getting very
confused.

I discovered that attaching strace to the main apache process and stoping
apache, all "piped log programs" stops, maybe because Apache has some
slowdown by the strace debug.

Thanks for your help.

I already had posted a bug report but I got no answers there.

----- Original Message ----- 
From: "Jez Hancock" <jez.hancock@munk.nu>
To: <users@httpd.apache.org>
Sent: Tuesday, November 18, 2003 8:23 PM
Subject: Re: [users@httpd] rotatelogs and cronolog don't die!


> On Tue, Nov 18, 2003 at 10:19:13PM +0000, Jez Hancock wrote:
> > On Tue, Nov 18, 2003 at 08:00:19PM -0200, Herbert G. Fischer wrote:
> > > I activated debug on Apache and discovered the following errors:
> > >
> > > piped log program '/usr/local/sbin/cronolog
> > > /usr/local/sites/default/logs/access.%Y-%m-%d.log' failed unexpectedly
> > > piped log program '/usr/local/sbin/cronolog
> > > /usr/local/sites/portal/logs/access.%Y-%m-%d.log' failed unexpectedly
> > Are you sure you have the "|/path/to/cronolog" part in the customlog
> > line?  It sounds as though you're piping the errorlog directly to the
> > file (template) /usr/local/sites/portal/logs/access.%Y-%m-%d.log instead
of:
> > /path/to/cronolog /usr/local/sites/portal/logs/access.%Y-%m-%d.log
> <snip>
> Apologies I misread your last post :(  Have you tried rebuilding
> cronolog? Sounds suspiciously like there's a problem with cronolog not
> dealing with the output as it should.
>
> -- 
> Jez Hancock
>  - System Administrator / PHP Developer
>
> http://munk.nu/
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message