LinHES Forums http://forums.linhes.org/ |
|
Root partition full, GDM won't let mythtv log in. http://forums.linhes.org/viewtopic.php?f=17&t=10273 |
Page 1 of 1 |
Author: | RichardBronosky [ Tue May 30, 2006 8:39 am ] |
Post subject: | Root partition full, GDM won't let mythtv log in. |
I ran into a problem this weekend where my system froze several times, and then GDM wouldn't let user mythtv log in. Turns out the my / partition was full. I used du to find the heaviest items. They were, 1. The MySQL logs, and 2. The Kernel source. The MySQL log was over 6GB. I elected to fix it by doing this from the MySQL log directory: Code: tail -n 1000 mysql.log > /mythtv/mysql.log; rm mysql.log; mv /mythtv/mysql.log .
I elected not to delete the un-tared kernel source, since I can't remember what I was doing when I un-tared it. After a reboot all was well. This does, however, beg the question: What is the recommended KnoppMyth maintenance schedule? Is there something that I should me doing on a regular basis, or that my machine should have known to do to itself? I'd like this thread to develop into something that newbies can refer to for guidance on keeping their system healthy. Engage. |
Author: | ceenvee703 [ Tue May 30, 2006 9:00 am ] |
Post subject: | |
This has been discussed in a couple of different threads: http://mysettopbox.tv/phpBB2/viewtopic. ... =mysql+log http://mysettopbox.tv/phpBB2/viewtopic. ... =mysql+log There are multiple solutions listed; the one that sounds most promising is the one where there's something keeping the logrotate scripts from running, and deleting an extraneous script allows it to run without an error. |
Author: | RichardBronosky [ Tue May 30, 2006 2:29 pm ] |
Post subject: | |
ceenvee703 wrote: This has been discussed in a couple of different threads
Thanks for the lead. After verifying with "diff /etc/logrotate.d/hiber*", I did a "sudo rm /etc/logrotate.d/hibernate-script" which should fix that problem. I posted the topic not just for the mysql log issue, but for general maintenance discussion. I hope that once these crons work correctly, this topic should be unnecessary. We'll see. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |