The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Logwatch Issue?

Discussion in 'General Discussion' started by czerdrill, Mar 15, 2012.

  1. czerdrill

    czerdrill Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    I keep getting these emails:

    /etc/cron.daily/0logwatch:

    You have old files in your logwatch tmpdir (/var/cache/logwatch):
    logwatch.8tI2nN
    logwatch.iNqy2
    logwatch.7dr
    logwatch.RcY2l
    logwatch.DgvxB5
    logwatch.JK3Row
    logwatch.eJ_ZEF
    logwatch.iHDnXd
    logwatch.Myfb_R
    logwatch.OeK5Yu
    logwatch.838

    The directories listed above were most likely created by a
    logwatch run that failed to complete successfully. If so, you
    may delete these directories.

    What does this mean exactly?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure anyone can explain why a run failed, but you might check the dates on those files to see if you an recall anything out of the ordinary on those dates. If they're old you should be able to kill them. On the other hand, if the dates (you show 11 of them) are for each of the last 11 days consecutively, you might have an ongoing problem that you need to look into.

    Open each of the files up and read whats inside them for clues.
     
  3. Nick57

    Nick57 Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi, you can safely remove these files, the reason why ? it might be good to check your log files for errors
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Logwatch is a system log analyzer/watcher. You can safely remove the older logwatch temporary files to avoid receiving that warning message. If you continue to receive similar files building up each day, then as InfoPro mentioned, it's worth investigating the cause of that.

    Thank you.
     
  5. czerdrill

    czerdrill Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Thanks everyone, they were all old files as you guys mentioned, back from 2009! I've removed them and have not received a notification again.
     
Loading...

Share This Page