Re: The logs kept piling up, so...
- From: James Gray <james@xxxxxxxxxxxxxxxx>
- Date: Mon, 1 May 2006 01:21:50 +1000
On Mon, 1 May 2006 01:05, Chanchao wrote:
I noticed all the crap piling up in /var/log and /var/cache pretty much
uncontrolled, so I did a ' sudo rm -r /var/log/* ' but it turns out a
lot of packages don't like this at all and are unable to recreate their
own logs! I fixed it for apache2, but mysql I'll probably have to
reinstall as it keeps giving me errors when starting mysqld, even though
I did recreate a 'mysql' folder in /var/log
Is there a better way to stop logs from piling up and suffocating
everything?
man 8 logrotate
As for the mess you created...good luck :)
James
--
"Where shall I begin, please your Majesty?" he asked. "Begin at the
beginning,"
the King said, gravely, "and go on till you come to the end: then stop."
Alice's Adventures in Wonderland, Lewis Carroll
Attachment:
pgpbeqA6l9Pfd.pgp
Description: PGP signature
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- The logs kept piling up, so...
- From: Chanchao
- The logs kept piling up, so...
- Prev by Date: Re: "/var/log/cups/access_log" - Permission denied
- Next by Date: Re: "/var/log/cups/access_log" - Permission denied
- Previous by thread: The logs kept piling up, so...
- Next by thread: Re: The logs kept piling up, so...
- Index(es):
Relevant Pages
|