logrotate and bzip2, bz2 on woody stable rotation problem
Hi, I've a problem with logrotate and bzip2,
logrotate wont rotate my file !...
$ logrotate -v :
rotating file /var/log/syslog
log needs rotating
compressing previous log with: /usr/bin/bzip2 --best '/var/log/syslog.1'
bzip2: Output file /var/log/syslog.1.bz2 already exists.
failed to compress previous log /var/log/syslog.1
file /var/log/syslog.401.bz2 doesn't exist -- won't try dispose of it
logrotate.conf :
# uncomment this if you want your log files compressed
compress
delaycompress
compresscmd /usr/bin/bzip2
compressoptions --best
compressext .bz2
/var/log/syslog {
rotate 400
size=10M
compress
}
ii logrotate 3.5.9-8 Log rotation utility
any clues ?
thanks
--
xavier
Reply to: