The logs kept piling up, so...

James Gray james at grayonline.id.au
Sun Apr 30 15:21:50 UTC 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060501/b7d4ffbb/attachment.sig>


More information about the ubuntu-users mailing list