You are not logged in.
Hi,
I'm getting two strange errors on my server every day when cron is running logrotate:
error: httpd:6 unknown option 'notifyempty' -- ignoring line
error: httpd:7 unknown option 'shredscripts' -- ignoring line
Anybody got an idea how to resolve that or what might be wrong? Google didn't reveal any secrets...
My logrotate file looks like that:
/var/log/httpd/*/*log {
missingok
rotate 52
compress
delaycompress
notifyempty
shredscripts
postrotate
/bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}
Last edited by schneida (2012-01-25 18:22:15)
Offline
You just misspelled the options. The correct ones are: notifempty and sharedscripts (you might want to check what the actually do in man logrotate)
Offline
Oh no! How embarrassing, I'm sorry bothering you!
You're right, I probably should look them up in the logrotate manual,...
Offline