The logs kept piling up, so...



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?

Cheers,
Chanchao


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • 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 ... 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)
  • 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)
  • Web-site management + ethics
    ... I have recently started studying PHP and MySQL and I have been ... The logic is that everytime the user logs in from a new IP_ADDRESS ... My reasoning for saving the number of visits from an IP ...
    (comp.lang.php)