I have two different (i386 v AMD) Debian boxes and have the same problem. logrotate won't rotate my logs automatically. It works fine when i force it manually like
/usr/sbin/logrotate -f /etc/logrotate.conf
but it's not okay for me.
Settings wasn't modified (at least i didn't modified them), the AMD box is a fresh install yet won't do it's job.
If you have noticed a similar problem, please help me.
Update (some server output):
logrotate -d http://pastebin.com/e6AshtGq
ls -l /var/log http://pastebin.com/Y2A4Li59
cat /etc/logrotate.conf http://pastebin.com/1h7Uwctr
ls -l /etc/logrotate.d http://pastebin.com/NvUAeszM
...rsyslogd was HUPed...not sure about this means anything. – fabrik Aug 17 '11 at 12:32cron.dailyyet rotating won't happen. – fabrik Aug 17 '11 at 12:34rsyslogdis running. – quanta Aug 17 '11 at 12:43rsyslog was HUPedmeans that it was actually rotated. In/etc/logrotate.d/rsyslogdyou'll find a line statinginvoke-rc.d rsyslog rotateexecute that and you'll see the...was HUPed. That means that logrotate is working, perhaps you should review the modifications ... or it is not time to rotate logs yet (weekly, monthly, etc) – Torian Aug 17 '11 at 13:07log does not need rotatingfor all logs. – fabrik Aug 17 '11 at 13:19