[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] rotating logs (raq3)
- Subject: Re: [cobalt-users] rotating logs (raq3)
- From: Døug MacAdam <admac@xxxxxxxxxxxx>
- Date: Wed May 31 05:58:19 2000
Graham,
Likewise(`/usr/local/sbin/split_logs web < /var/log/httpd/access`
is coming back with "Broken Pipe").....please let me know if you come to
some sort of resolve!
Doug
----- Original Message -----
From: "Matthews, Graham" <gmatthews@xxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 30, 2000 7:39 PM
Subject: RE: [cobalt-users] rotating logs (raq3)
Hi, I was the other person Dan mentioned who was having troubles.
Those site specific logrotate files all look good on my system
(I have 9 vsites btw.).
I'm pretty sure that the problem is not really with the logrotate,
but with split_logs, which dies after a couple of hundred lines
into my access log:
`/usr/local/sbin/split_logs web < /var/log/httpd/access`
is coming back with "Broken Pipe".
I've ruled out memory as being a problem, by running top while
doing split_logs, and there is always plenty of memory (and
inodes) available.
I'm running the latest patched split_logs (it was busted before
and after applying the patch).
- Graham
> -----Original Message-----
> From: Paul Ramsey [mailto:pramsey@xxxxxxxxxxxxxxx]
> Sent: Friday, 26 May 2000 15:14
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] rotating logs (raq3)
>
>
> In your /etc/logrotate.d directory, are there site1, site2, etc config
> files for the sites you want the logs rotated for? If so, do they have
> the right info as far as the location and names of your logs?
>
> Dan Heller wrote:
> >
> > someone said that their RaQ3 isn't rotating logs. I found
> > the same thing to be true on my system. Looking around, I see
> > that the cron.daily has what it needs:
> > % cat cron.daily/logrotate
> > #!/bin/sh
> >
> > /usr/sbin/logrotate /etc/logrotate.conf
> >
> > ---
> > I assume this is sufficient. The logrotate.conf has:
> >
> > % cat logrotate.conf
> > # rotate log files weekly
> > weekly
> >
> > # keep 4 weeks worth of backlogs
> > rotate 1
> >
> > # send errors to root
> > errors root
> >
> > # create new (empty) log files after rotating old ones
> > create
> >
> > # uncomment this if you want your log files compressed
> > compress
> >
> > # Put in a generic size limit so things don't go wild
> > size 1M
> >
> > # RPM packages drop log rotation information into this directory
> > include /etc/logrotate.d
> >
> > So, the question is, why arne't the logs rotated? My web server
> > access log is over 70M now.
> >
> > --
> > --dan
> >
> > Photo Gallery: http://www.danheller.com/
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users