Re: logrotate does not finish(work)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I deleted the file:
/var/lib/logrotate.status
and now logrotate is working again.

I upgraded from RH7.3 to RH9, maybe that caused some trouble.
Also, I deleted some daemons that where in /etc/logrotate.d/, so there
where entries in /var/lib/logrotate.status that where deleted.
Maybe is a bug in logrotate? Don't know

HTH
Oliver


Oliver Schulze L. wrote:


Hi,
I'm having a problem with logrotate.
It does not finish, it keep running for hours.

I try running in debug mode like this:
# logrotate -d /etc/logrotate.conf
and the program never exit or finish.

This is what I see:
# logrotate -d /etc/logrotate.conf reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file cups
reading config info for /var/log/cups/*_log
reading config file ftpd
reading config info for /var/log/xferlog
reading config file httpd
reading config info for /var/log/httpd/*log
reading config file mgetty
reading config info for /var/log/mgetty.log.tty[^.] /var/log/mgetty.log.tty[^.][^.] /var/log/mgetty.log.tty[^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.][^.] /var/log/mgetty.log.tty[^.][^.][^.][^.][^.][^.][^.][^.][^.][^.] /var/log/mgetty.log.unknown /var/log/mgetty.callback
reading config file mysqld
reading config info for /var/log/mysqld.log
reading config file named
reading config info for /var/log/named.log
reading config file rpm
reading config info for /var/log/rpmpkgs
reading config file samba
reading config info for /var/log/samba/*.log
reading config file snmpd
reading config info for /var/log/snmpd.log
reading config file squid
reading config info for /var/log/squid/access.log
reading config info for /var/log/squid/cache.log
reading config info for /var/log/squid/store.log
reading config file syslog
reading config info for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
reading config file up2date
reading config info for /var/log/up2date
reading config file uucp
reading config info for /var/log/uucp/Log
reading config info for /var/log/uucp/Debug
reading config info for /var/log/uucp/Stats
reading config file vsftpd.log
reading config info for /var/log/vsftpd.log


and then nothing more.
I have to kill logrotate in order to finish with:
# killall logrotate

Anyone is having this problem?

Thanks
Oliver


-- Oliver Schulze L. <oliver@xxxxxxxxxxxxx>






[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux