After a recent host update one of my VPS’s, a Debian 6 “Squeeze” container in OpenVZ, started spitting out errors from the logrotate cron like this:
/etc/cron.daily/logrotate:Â syslog-ng: Error setting capabilities, capability management disabled; error=’Operation not permitted’
The solution I found was…
- Edit the default syslog-ng file with vi /etc/default/syslog-ng
- Uncomment the line #SYSLOGNG_OPTS=”–no-caps”
- And then restart the daemon /etc/init.d/syslog-ng restart
No more errors 🙂