LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-05-2011, 03:34 PM   #1
grob115
Member
 
Registered: Oct 2005
Posts: 542

Rep: Reputation: 32
Old files in logwatch tmpdir


Hi, just got this in the e-mail from my server. Not sure what it's about. Is there a tutorial online where I can learn more about this? Not sure what a logwatch run is.

Code:
/etc/cron.daily/0logwatch:

You have old files in your logwatch tmpdir (/var/cache/logwatch):
	logwatch.u0f2N5EL
	logwatch.yUgJSXY4
The directories listed above were most likely created by a logwatch run that failed to complete successfully.  If so, you may delete these directories.
 
Old 09-05-2011, 03:44 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by grob115 View Post
Not sure what a logwatch run is.
Logwatch ('man logwatch') reads system and daemon log files and reports usually by email. It's a good way to find out about any anomalies, access violations and other warnings that you then can act on. Wrt the temp logs just change to /var/cache/logwatch and see if there's any reports in the logwatch.u0f2N5EL and logwatch.yUgJSXY4 directory. If so read them to find out why Logwatch failed to complete successfully. Afterwards just delete these directories.
 
Old 09-06-2011, 11:53 AM   #3
grob115
Member
 
Registered: Oct 2005
Posts: 542

Original Poster
Rep: Reputation: 32
Thanks. This is the first time I'm getting e-mails from the logwatch daemon. Is there a way to check if it's turned on for e-mailing the output, and the schedule at which it does?
 
Old 09-07-2011, 12:48 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
It's in the configuration file or in the cronjob that runs it.
 
Old 03-07-2012, 02:31 AM   #5
Aule
LQ Newbie
 
Registered: Feb 2012
Distribution: Opensuse
Posts: 11

Rep: Reputation: Disabled
I'm getting the following message every minute from cron

Code:
You have old files in your logwatch tmpdir (/var/cache/logwatch):
	logwatch.XXXXXXXXX
The directories listed above were most likely created by a
logwatch run that failed to complete successfully.  If so, you
may delete these directories.
the exact name (XXXXXXXXX) is always different

The subject of the mail is: Cron <root@foo> /usr/sbin/logwatch --service dmeventd

I have checked /var/cache/logwatch and it is totally empty.

What is the reason for this?
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to disable logwatch on our RHEL servers to stop the logwatch mail svik Linux - Enterprise 10 08-27-2009 02:51 PM
Does logwatch run automatically? How can I reset logwatch? abefroman Linux - Software 4 06-17-2009 02:17 AM
logwatch cache files are not clearing out on RHEL 5.0 build. sombre1 Linux - General 2 11-04-2008 11:22 AM
logwatch clpl1980 Fedora 5 12-05-2006 07:31 AM
logwatch on RHEL keeps saying files have changed laggerific Linux - Software 2 02-23-2006 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 AM.

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