[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Log Rotate Problem
- Subject: Re: [cobalt-developers] Log Rotate Problem
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Fri Aug 23 17:08:01 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> Can anyone tell me why logrotate is giving the following error message?
> [root cron.daily]# sh logrotate
> error: apache:1 duplicate log entry for /var/log/httpd/access
> I have noticed that the logs within virtual sites have not be updated for
a
> couple of days. Would this be due to the above error with logrotate?
grep access /etc/logrotate.d/*
in /etc/logrotate.d/ you have 2 files that are both trying to rotate the
logs for apache. one called apache and another... (zapache maybe?) YMMV
... just find the extra... and decided on which you want and if there is a
difference between them. This happens when my old stats fixing zapache
trick was applied and apache was updated and the logrotate file is replaced.
This is a no-win thing in cobalt-land
Zeffie
http://www.zeffie.com/