Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-03-2008, 04:16 PM   #1
LQ Newbie
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Rep: Reputation: 0
logwatch cache files are not clearing out on RHEL 5.0 build.

There are some very large directories building up in the /var/cache/logwatch directory of an RHEL 5.0 system. These directories go back to the build date and are about 3000 blocks in size. Other log rotations are going fine at the 4 week setting in logrotate.conf.

The files in /etc/logwatch/conf all have nothing but the headers. Logwatch.conf and overide.conf have a header line and nothing else. sendmail is disabled.

Is there any way to rotate out these log files? I have been doing on-line research and have not had much luck.
Old 11-03-2008, 04:21 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Just delete them or use something like tmpwatch to clear them out on occasion.
Old 11-04-2008, 12:22 PM   #3
LQ Newbie
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Original Poster
Rep: Reputation: 0

Worked like a champ. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
clearing CD cache grayFalcon Programming 1 09-21-2006 05:55 PM
logwatch on RHEL keeps saying files have changed laggerific Linux - Software 2 02-23-2006 02:46 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 01:02 PM
DNS cache clearing n.antonio Linux - Software 0 05-11-2003 09:44 PM
clearing cache waxiem Linux - General 1 03-02-2003 10:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration