also sprach Paul Martin <p...@debian.org> [2014-01-11 23:58 +1300]:
> What's in /etc/logrotate.d/rsyslog and /etc/logrotate.conf?

They are unmodified from the package.

> Running with -d (--debug) doesn't change anything. If you want to
> watch a forced rotation, use -v (--verbose).

Weird, but okay. This reveals:

  rotating pattern: /var/log/syslog
  forced from command line (7 rotations)
  empty log files are not rotated, old logs are removed
  considering log /var/log/syslog
    log needs rotating
  rotating log /var/log/syslog, log->rotateCount is 7
  dateext suffix '-20140112'
  glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
  compressing log with: /bin/gzip
  error: error creating output file /var/log/syslog.1.gz: File exists
  log /var/log/syslog.8.gz doesn't exist -- won't try to dispose of it

(and analogous for all the other logfiles managed by logrotate)

> Have you checked root's mailbox to see if logrotate is crashing
> before reaching rsyslog? (It shouldn't be, as it's updated the
> status file, but you never know.)

There are no mails to root.

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"they redundantly repeated themselves over and over,
 incessantly without end and ad infinitum"
                                                             -- ibid

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to