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

[cobalt-users] error logrotate



I'm looking in the archive but i can't find the problem, running
/etc/cron.daily/logrotate
I get the error error: apache.bak:1 duplicate log entry for
/var/log/httpd/access
My apche.bak file that hs the access line  looks like
/var/log/httpd/access {
    prerotate
        /usr/local/sbin/split_logs web < /var/log/httpd/access
    endscript
    missingok
    postrotate
        /usr/bin/killall -HUP httpd 2> /dev/null || true
    endscript
daily
}
my /etc/cron.daily/logrotate looks like
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
any idees
Steffan
Netherlands