LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Francesco Peeters <Francesco@Fampeeters.com>
To : Daryl Tester <Daryl.Tester@iocane.com.au>
Date: Thu, 18 Dec 2003 22:24:24 +0100
Re: /var/log/lastlog way too big!
Daryl Tester wrote:
>Francesco Peeters wrote:
>
>
>
>>My /var/log/lastlog is over 4 GB large, and obviously corrupt (I only
>>have 2 regular logins and a grand total of about 15 accounts)
>>
>>
>
>It isn't big, you just think it is (hint: "du -ks /var/log/lastlog").
>
>
>
>>I have been searching whether I can simply delete it to recover from
>>this oversized lastlog file, but could not find a clear answer...
>>
>>
>
>Google for "sparse file".
>
>
>
>
I forgot about du... Thanks for reminding me...
Anyway...
du tells me it is 25 kbytes (25600 to be exact), but when I try 'lastlog
root' (or even just lastlog), I get:
/var/log/lastlog: File too large
Now that should *not* happen, right?
--FP
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page