Saturday morning, I ran a yum update on my FC5 server. I believe one of the packages updated in that run was logrotate.
Ever since then, the logrotate job, in /etc/cron.daily, has problems, yielding this output:
/etc/cron.daily/logrotate:
error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.1.3.2: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.1.4: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.2: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error opening /var/log/samba/inmrdmb6535lt01.log: Too many open files error: error opening /var/log/samba/laurie.log: Too many open files error: error opening /var/log/samba/nmbd.log: Too many open files error: error opening /var/log/samba/smbd.log: Too many open files error: error opening /var/log/squid/access.log: Too many open files error: error opening /var/log/squid/cache.log: Too many open files error: error opening /var/log/squid/store.log: Too many open files error: error running postrotate script for /var/log/squid/store.log error: error creating output file /var/log/messages: Too many open files error: error creating output file /var/log/secure: Too many open files error: error creating output file /var/log/maillog: Too many open files error: error creating output file /var/log/spooler: Too many open files error: error creating output file /var/log/boot.log: Too many open files error: error creating output file /var/log/cron: Too many open files error: error running postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron error: error creating state file /var/lib/logrotate.status: Too many open files
The "postrotate script" for named is "/sbin/service named reload", for squid it's "/usr/sbin/squid -k rotate", etc. It doesn't seem to matter, though, what the postrotate script is...it fails to run, regardless, meaning that I now wind up with a lot of "service.log.1", "service.log.2", etc, but no "service.log"
I'm also very confused about the "Too many open files" piece, as I'm not having anything else give me problems with an error of that nature.
Any ideas?
I should also point out that logrotate, although listed in cron.daily, used to only rotate the logs on Sunday mornings. Now it tries to rotate them every day...yet another unexpected behavior.
Saturday morning, I ran a yum update on my FC5 server. I believe one of the packages updated in that run was logrotate.
Ever since then, the logrotate job, in /etc/cron.daily, has problems, yielding this output:
/etc/cron.daily/logrotate:
error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.1.3.2: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.1.4: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.2: Too many open files error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error opening /var/log/samba/inmrdmb6535lt01.log: Too many open files error: error opening /var/log/samba/laurie.log: Too many open files error: error opening /var/log/samba/nmbd.log: Too many open files error: error opening /var/log/samba/smbd.log: Too many open files error: error opening /var/log/squid/access.log: Too many open files error: error opening /var/log/squid/cache.log: Too many open files error: error opening /var/log/squid/store.log: Too many open files error: error running postrotate script for /var/log/squid/store.log error: error creating output file /var/log/messages: Too many open files error: error creating output file /var/log/secure: Too many open files error: error creating output file /var/log/maillog: Too many open files error: error creating output file /var/log/spooler: Too many open files error: error creating output file /var/log/boot.log: Too many open files error: error creating output file /var/log/cron: Too many open files error: error running postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron error: error creating state file /var/lib/logrotate.status: Too many open files
The "postrotate script" for named is "/sbin/service named reload", for squid it's "/usr/sbin/squid -k rotate", etc. It doesn't seem to matter, though, what the postrotate script is...it fails to run, regardless, meaning that I now wind up with a lot of "service.log.1", "service.log.2", etc, but no "service.log"
I'm also very confused about the "Too many open files" piece, as I'm not having anything else give me problems with an error of that nature.
Any ideas?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Wed, 2007-06-27 at 08:52 -0400, Mike Burger wrote:
I should also point out that logrotate, although listed in cron.daily, used to only rotate the logs on Sunday mornings. Now it tries to rotate them every day...yet another unexpected behavior.
Most logs are rotated weekly, but some are not. See the individual specs in /etc/logrotate.d.
Was quoting your *entire* previous message strictly necessary?
My named, maillog and messages logs have never rotated on a daily basis, before.
And no, it wasn't...my apologies...I usually do better. I can only note that my 2 month old was crying as I wrote the second message, and forgot to trim it down before sending it.
On Wed, 2007-06-27 at 08:52 -0400, Mike Burger wrote:
I should also point out that logrotate, although listed in cron.daily, used to only rotate the logs on Sunday mornings. Now it tries to rotate them every day...yet another unexpected behavior.
Most logs are rotated weekly, but some are not. See the individual specs in /etc/logrotate.d.
Was quoting your *entire* previous message strictly necessary?
-- Matthew Saltzman
Clemson University Math Sciences mjs AT clemson DOT edu http://www.math.clemson.edu/~mjs
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Wed, 2007-06-27 at 18:48 -0400, Mike Burger wrote:
My named, maillog and messages logs have never rotated on a daily basis, before.
Are they actually being rotated? Or are they just being checked? My maillog and syslog entries in /etc/logrotate.d don't have any time designators, so they should go by the default in /etc/logrotate.conf. In my case, that says "weekly". Yours should be the same. But the logrotate job runs daily.
Logrotate keeps last-rotated dates in /var/lib/logrotate.status. If you have the runaway rotation problem (see my other post in this thread), it's possible that that's corrupted.
And no, it wasn't...my apologies...I usually do better. I can only note that my 2 month old was crying as I wrote the second message, and forgot to trim it down before sending it.
Accepted 8^).
On Wed, 2007-06-27 at 08:52 -0400, Mike Burger wrote:
I should also point out that logrotate, although listed in cron.daily, used to only rotate the logs on Sunday mornings. Now it tries to rotate them every day...yet another unexpected behavior.
Most logs are rotated weekly, but some are not. See the individual specs in /etc/logrotate.d.
Was quoting your *entire* previous message strictly necessary?
The "current" logs were now being written to as named.log.1, messages.1, maillog.1.
But the files weren't recreated, and the postrotate scripts not run.
I looked in my /var/named/chroot/var/log/named dir, and found tons and tons of logs with oddball numberings. I cleared them and will see how that goes.
-- Mike Burger http://www.bubbanfriends.org
Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
To be notified of updates to the web site, visit:
https://www.bubbanfriends.org/mailman/listinfo/site-update
or send a blank email to:
site-update-subscribe@bubbanfriends.org
On Thu, 28 Jun 2007, Matthew Saltzman wrote:
On Wed, 2007-06-27 at 18:48 -0400, Mike Burger wrote:
My named, maillog and messages logs have never rotated on a daily basis, before.
Are they actually being rotated? Or are they just being checked? My maillog and syslog entries in /etc/logrotate.d don't have any time designators, so they should go by the default in /etc/logrotate.conf. In my case, that says "weekly". Yours should be the same. But the logrotate job runs daily.
Logrotate keeps last-rotated dates in /var/lib/logrotate.status. If you have the runaway rotation problem (see my other post in this thread), it's possible that that's corrupted.
And no, it wasn't...my apologies...I usually do better. I can only note that my 2 month old was crying as I wrote the second message, and forgot to trim it down before sending it.
Accepted 8^).
On Wed, 2007-06-27 at 08:52 -0400, Mike Burger wrote:
I should also point out that logrotate, although listed in cron.daily, used to only rotate the logs on Sunday mornings. Now it tries to rotate them every day...yet another unexpected behavior.
Most logs are rotated weekly, but some are not. See the individual specs in /etc/logrotate.d.
Was quoting your *entire* previous message strictly necessary?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Mike Burger wrote:
The "current" logs were now being written to as named.log.1, messages.1, maillog.1.
But the files weren't recreated, and the postrotate scripts not run.
I looked in my /var/named/chroot/var/log/named dir, and found tons and tons of logs with oddball numberings. I cleared them and will see how that goes.
That sounds like syslogd and the other programs are not getting notified about the log rotation, and are continuing to use the same file, instead of creating/using the new file. This is normally handled by the postrotate script in the logrotate config file for the service. For example, in the case of syslog, the script runs:
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
This sends syslogd a HUP signal so it know to close the log files it is using, and open new ones. If syslogd does not get the signal, it continues to use the file it has open, and you get messages added to files like messages.1 instead of messages. The trick is finding out why this is happening. Do you have more then one copy of logrotate running?
You may want to run "service syslog reload" to get syslog to start using the new files while you are working on this.
Mikkel
On Thu, 2007-06-28 at 19:50 -0400, Mike Burger wrote:
The "current" logs were now being written to as named.log.1, messages.1, maillog.1.
But the files weren't recreated, and the postrotate scripts not run.
I looked in my /var/named/chroot/var/log/named dir, and found tons and tons of logs with oddball numberings. I cleared them and will see how that goes.
It will start over again and work for a while, but eventually you'll see the situation repeat. What's in the file /etc/logrotate.d/named (or any other logrotate file related to named)? Is there a /var/named/chroot/etc/logrotate.d/named? (Not that the latter seems reasonable, just trying to touch all the bases. I don't run named except for caching nameservers.)
On Wed, 2007-06-27 at 08:48 -0400, Mike Burger wrote:
Saturday morning, I ran a yum update on my FC5 server. I believe one of the packages updated in that run was logrotate.
Ever since then, the logrotate job, in /etc/cron.daily, has problems, yielding this output:
/etc/cron.daily/logrotate:
error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error running postrotate script for /var/named/chroot/var/log/named/* error: error creating output file /var/named/chroot/var/log/named/update.log.1.3.2: Too many open files .... error: error running postrotate script for /var/named/chroot/var/log/named/* error: error opening /var/log/samba/inmrdmb6535lt01.log: Too many open files error: error opening /var/log/samba/laurie.log: Too many open files error: error opening /var/log/samba/nmbd.log: Too many open files error: error opening /var/log/samba/smbd.log: Too many open files error: error opening /var/log/squid/access.log: Too many open files error: error opening /var/log/squid/cache.log: Too many open files error: error opening /var/log/squid/store.log: Too many open files error: error running postrotate script for /var/log/squid/store.log error: error creating output file /var/log/messages: Too many open files error: error creating output file /var/log/secure: Too many open files error: error creating output file /var/log/maillog: Too many open files error: error creating output file /var/log/spooler: Too many open files error: error creating output file /var/log/boot.log: Too many open files error: error creating output file /var/log/cron: Too many open files error: error running postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron error: error creating state file /var/lib/logrotate.status: Too many open files
The "postrotate script" for named is "/sbin/service named reload", for squid it's "/usr/sbin/squid -k rotate", etc. It doesn't seem to matter, though, what the postrotate script is...it fails to run, regardless, meaning that I now wind up with a lot of "service.log.1", "service.log.2", etc, but no "service.log"
I'm also very confused about the "Too many open files" piece, as I'm not having anything else give me problems with an error of that nature.
Any ideas?
What do you see if you ls -lR in /var/log and /var/named/chroot/var/log/?
Check the logrotate specs to see if there are any that define the files to be rotated using wildcards. If you find one, file a bug with that package.