From: manuel on 8 Jun 2010 02:50 Hi! recently i've been experiencing problems with logrotate, each time it runs it gets kinda stuck and eats up the systems cpu for days without finishing (i don't have that many/big logfiles to rotate) the output of "logrotate -d -v /etc/logrotate.conf" just stops at "reading config info for /var/log/btmp" the logrotate configuration for /var/log/btmp looks like this: > /var/log/btmp { > missingok > monthly > create 0660 root utmp > rotate 1 > } when i run strace on the logrotate pid i get the following message appearing over and over again.. > stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2211, ...}) = 0 logrotate is running in a linux-vserver-guest version: logrotate-3.7.1-5 kernel: 2.6.26-2-vserver-686 #1 SMP Wed Feb 10 10:39:33 UTC 2010 i686 GNU/Linux i can't really tell what time it has stopped working and what changed at that moment, but it has been working for a while before. thanks in advice regards, manuel hofer -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/bb78a4daff4d433c0c11aa74791e0170(a)10.13.37.3
From: manuel on 9 Jun 2010 07:30 i was able to solve the problem by removing the state-file of logrotate rm /var/lib/logrotate/status regards, manuel On Tue, 08 Jun 2010 08:34:08 +0200, <manuel(a)mhofer.eu.org> wrote: > Hi! > > recently i've been experiencing problems with logrotate, each time it runs > it > gets kinda stuck and eats up the systems cpu for days without finishing (i > don't have that many/big logfiles to rotate) > > the output of "logrotate -d -v /etc/logrotate.conf" just stops at "reading > config info for /var/log/btmp" > > the logrotate configuration for /var/log/btmp looks like this: >> /var/log/btmp { >> missingok >> monthly >> create 0660 root utmp >> rotate 1 >> } > > when i run strace on the logrotate pid i get the following message > appearing > over and over again.. >> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2211, ...}) = 0 > > logrotate is running in a linux-vserver-guest > version: logrotate-3.7.1-5 > kernel: 2.6.26-2-vserver-686 #1 SMP Wed Feb 10 10:39:33 UTC 2010 i686 > GNU/Linux > > i can't really tell what time it has stopped working and what changed at > that > moment, but it has been working for a while before. > > thanks in advice > > regards, > manuel hofer > > > -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/0ef44e64f2387a7c4a7c1237662ad66d(a)10.13.37.3
|
Pages: 1 Prev: The purchase of a new laptop on debian Next: Acer Aspire One wireless issue |