Logrotate screwing up weekly

So every sunday morning I have my logs rotate. The process successfully renames all the logs to <logfile>.1 and creates the new empty one HOWEVER, logging continues to the original logfile (the renamed .1 one) and if I look in messages, I have a single error:

Jan 1 04:02:11 empire logrotate: ALERT exited abnormally with [1]

now rebooting fixes this and the logging goes back to the correct file. What am I doing wrong here? This is kinda baffling me. From /etc/logrotate.d:

Code:
[root@empire log]# ls -l /etc/logrotate.d
total 116
-rw-r--r--  1 root root 144 Feb 21  2005 acpid
-rw-r--r--  1 root root 250 Jul 30  2003 apache
-rw-r--r--  1 root root  86 Dec 10 19:37 apf
-rw-------  1 root root  65 Dec 10 19:37 bfd
-rw-r--r--  1 root root 136 Dec 10 22:15 clamav
-rwxr-xr-x  1 root root 112 Dec 20 15:23 exim
-rw-r--r--  1 root root  83 Nov 25 18:20 freshclam
-rw-r--r--  1 root root 571 Feb 21  2005 mgetty
-rw-r--r--  1 root root 789 Oct 13 05:08 mysql
-rw-r--r--  1 root root 163 Feb 21  2005 named
-rw-r--r--  1 root root 136 Feb 21  2005 ppp
-rw-r--r--  1 root root 216 Dec  5 22:23 proftpd
-rw-r--r--  1 root root 319 Apr  9  2005 psacct
-rw-r--r--  1 root root  61 Aug 21 21:57 rpm
-rw-r--r--  1 root root 228 Feb 21  2005 syslog
-rw-r--r--  1 root root  32 Feb 22  2001 up2date
-rw-r--r--  1 root root  89 Sep  4 12:43 yum
logrotate.conf

Code:
[root@empire log]# more /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
}

# system-specific logs may be also be configured here.
here's one I found weird, the mgetty logs from logrotate.status

Code:
[root@empire log]# more /var/lib/logrotate.status
logrotate state -- version 2
"/var/log/acpid" 2005-12-25
"/var/log/cups/error_log" 2005-12-4
"/var/log/mgetty.log.tty[^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.][^.][^.]" 2005-12-4
"/var/log/mgetty.log.unknown" 2005-12-4
"/var/log/mgetty.callback" 2005-12-4
"/var/log/ppp/connect-errors" 2005-12-4
"/var/account/pacct" 2005-12-4
"/var/log/rpmpkgs" 2006-1-1
"/var/log/messages" 2006-1-1
"/var/log/secure" 2006-1-1
"/var/log/maillog" 2006-1-1
"/var/log/spooler" 2006-1-1
"/var/log/boot.log" 2006-1-1
"/var/log/cron" 2006-1-1
"/var/log/up2date" 2006-1-1
"/var/log/yum.log" 2005-12-25
"/var/log/wtmp" 2006-1-1
"/var/log/httpd/access_log" 2006-1-1
"/var/log/httpd/agent_log" 2005-12-6
"/var/log/httpd/error_log" 2006-1-1
"/var/log/httpd/referer_log" 2005-12-6
"/var/log/exim/mainlog" 2006-1-1
"/var/log/exim/processlog" 2006-1-1
"/var/log/exim/rejectlog" 2006-1-1
"/var/log/exim/paniclog" 2006-1-1
"/var/lib/mysql/mysqld.log" 2005-12-6
"/var/log/named.log" 2005-12-6
"/var/log/proftpd/access.log" 2006-1-1
"/var/log/proftpd/auth.log" 2006-1-1
"/var/log/proftpd/xferlog.legacy" 2005-12-11
"/var/log/apfados_log" 2005-12-11
"/var/log/apf_log" 2006-1-1
"/var/log/bfd_log" 2006-1-1
"/var/log/clamav/clamd.log" 2006-1-1
"/var/log/clamav/freshclam.log" 2005-12-18
weird wacky stuff. Any ideas?

 

 

 

 

Top