After upgrade to 6.0.9 I got this message in admin inbox from the cron daemon:
Code:
/etc/cron.daily/logrotate:
error: zimbra:5 unknown user 'USER'
error: found error in /var/log/zimbra.log , skipping
error: zimbra:17 unknown user 'USER'
error: found error in /var/log/zimbra-stats.log , skipping
Looking in /etc/logrotate.d/zimbra I see the file starts with:
Code:
/var/log/zimbra.log {
daily
missingok
notifempty
create 0644 USER GROUP
postrotate
killall -HUP syslogd 2> /dev/null || true
su - zimbra -c "/opt/zimbra/bin/zmswatchctl restart" > /dev/null 2>&1 || true
endscript
compress
}
/var/log/zimbra-stats.log {
daily
missingok
notifempty
create 0644 USER GROUP
postrotate
killall -HUP syslogd 2> /dev/null || true
su - zimbra -c "/opt/zimbra/bin/zmlogswatchctl restart" > /dev/null 2>&1 || true
endscript
rotate 0
} I think there must have been something wrong with the install(er) that caused "USER GROUP" to appear in lines 5 and 17 instead of "zimbra zimbra". Would someone who has a recent pre-6.0.9 install please post the relevant lines of their /etc/logrotate.d/zimbra?