public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Logrotate status error
@ 2008-08-09 15:16 Mick
  2008-08-09 16:02 ` [gentoo-user] " Mick
  0 siblings, 1 reply; 2+ messages in thread
From: Mick @ 2008-08-09 15:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Hi All,

I have noticed that the log files on a box of mine are getting larger than 
expected.  I ran logrotate by hand to see if I get any errors and this came 
up:

# logrotate -f /etc/logrotate.conf 
error: line too long in state file /var/lib/logrotate.status
# ls -la /var/lib/logrotate.status 
-rw-r--r-- 1 root root 360448 Dec  9  2007 /var/lib/logrotate.status

Can you explain it?  Should I just remove it before I run logrotate again?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: Logrotate status error
  2008-08-09 15:16 [gentoo-user] Logrotate status error Mick
@ 2008-08-09 16:02 ` Mick
  0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2008-08-09 16:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]


On Saturday 09 August 2008, Mick wrote:
> Hi All,
>
> I have noticed that the log files on a box of mine are getting larger than
> expected.  I ran logrotate by hand to see if I get any errors and this came
> up:
>
> # logrotate -f /etc/logrotate.conf
> error: line too long in state file /var/lib/logrotate.status
> # ls -la /var/lib/logrotate.status
> -rw-r--r-- 1 root root 360448 Dec  9  2007 /var/lib/logrotate.status
>
> Can you explain it?  Should I just remove it before I run logrotate again?

Who knows, perhaps the file in questions had been corrupted.  I moved it and 
logrotate completed without errors.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-09 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 15:16 [gentoo-user] Logrotate status error Mick
2008-08-09 16:02 ` [gentoo-user] " Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox