LinHES Forums
http://forums.linhes.org/

MythTV Logs
http://forums.linhes.org/viewtopic.php?f=17&t=9448
Page 1 of 1

Author:  IceburgIV [ Sun Apr 02, 2006 6:58 pm ]
Post subject:  MythTV Logs

My KnoppMyth partition was set at 5GB's by default. Its up to 90% due to logging, can anyone tell me how to control the logs, auto zip, not keep as much or something?

Or can I move them to my other drive somehow? (400GB)

-Nick

Author:  undy [ Sun Apr 02, 2006 7:33 pm ]
Post subject: 

I think that logrotate is used to manage logs - this is normally configured in /etc/logrotate.conf.

Normally the logrotate is started via cron or anacron - make sure that it has actually been running.

There is a thread on logrotate here:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=4853

Cheers,
undy

Author:  neutron68 [ Sun Apr 05, 2009 10:57 am ]
Post subject:  anacron

Is anacron installed on our Knoppmyth boxes? It looks like it is being called in the /etc/crontab file:
Code:
 /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#

I searched the hard drive for anacron and don't find it. Do we need to download and install it?

Eric

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/