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

Discussion in 'General Discussion' started by sh4ka, Sep 30, 2005.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I've heard about Logwatch already comes with the system.. If it does, can anyone tell me how to configure it fo recieve email reportes (maybe trough cron job)? Is it recommend to run into RHAS+cPanel boxes?

    thkz!
     
    #1 sh4ka, Sep 30, 2005
    Last edited: Sep 30, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It should already be running as a cron job in:
    /etc/cron.daily/0logwatch

    If you don't have that file, try creating a symlink to get it working:

    cd /etc/cron.daily
    ln -s ../log.d/scripts/logwatch.pl 0logwatch


    Alternatively, upgrade your logwatch rpm using the the latest distribution on the developers site.
     
  3. Fernis

    Fernis Well-Known Member

    Joined:
    Oct 28, 2006
    Messages:
    192
    Likes Received:
    1
    Trophy Points:
    18
    How would I go about upgrading Logwatch? What is the command?

    I'm using CentOs
     
    #3 Fernis, Jan 1, 2007
    Last edited: Jan 1, 2007
  4. Danny_T

    Danny_T Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    181
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Netherlands
    I upgraded (on FC3) logwatch to get the FC6 src rpm and rebuilded on the FC3 box and that created a nice fc3 rpm. After install you have 2 symlinks in the cron.daily. remove the 00logwatch symlink and it just starts once (the new one is called 0logwatch).

    I guess the same can be done on centos.

    Danny.
     
  5. Fernis

    Fernis Well-Known Member

    Joined:
    Oct 28, 2006
    Messages:
    192
    Likes Received:
    1
    Trophy Points:
    18
    Thanks Danny_T
     

Share This Page