Re: The logs kept piling up, so...



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


Relevant Pages

  • The logs kept piling up, so...
    ... I fixed it for apache2, but mysql I'll probably have to ... I did recreate a 'mysql' folder in /var/log ... Is there a better way to stop logs from piling up and suffocating ...
    (Ubuntu)
  • Re: The logs kept piling up, so...
    ... lot of packages don't like this at all and are unable to recreate their ... but mysql I'll probably have to ... I did recreate a 'mysql' folder in /var/log ... Is there a better way to stop logs from piling up and suffocating ...
    (Ubuntu)
  • Re: The logs kept piling up, so...
    ... lot of packages don't like this at all and are unable to recreate their ... but mysql I'll probably have to ... I did recreate a 'mysql' folder in /var/log ... They can recreate their own _logs_ but you deleted the directories ...
    (Ubuntu)
  • [opensuse] What happened to mysql? Broken after latest update from BS::/server/database.
    ... MySQL died on my laptop after the latest package update. ... I think they are just the old logs and don't show much: ... 090410 03:48:14 mysqld_safe Starting mysqld daemon with databases from ... Looking at the installed mysql packages, something is definitely out of whack: ...
    (SuSE)
  • Re: The logs kept piling up, so...
    ... but mysql I'll probably have to ... I did recreate a 'mysql' folder in /var/log ... Is there a better way to stop logs from piling up and suffocating ... Campagne du ruban texte brut contre les courriels en HTML, ...
    (Ubuntu)