Patrick Erler said at �[expert] strange logfiles�.
[2000-10-04 16:12]

> hello MANDRAKE!
>
> i have such a lot of logfiles in /var/log/mail like
>
>   mail.err.1.gz.1.gz~gz.1.gz.2.gz.2.gz... (goes on for some time)
>
> that i can't even do a rm * (argument too long)
>
> where the hell are they coming from?
>
They are old logs renamed and compressed by the 'logrotate' package.
You can delete them all (everything ending in .gz), and grab the latest
logrotate
from cooker.
The /var/log directory seems to have changed a lot in latest versions...
A suggestion: by the high number of .1.gz's in your files, I guess you
have been accumulating logs for a long time. I suffered from that also, and
the bad thing is that when you have 10k files in a directory and remove
them,
the directory file itself is still VERY big, so I would try to get all the
dirs
under /var/log, for example mail, remove all inside it and ls -l it. If it
is
too big (it's an empty dir), remove the dir and recreate it.

Good luck.

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to