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 Question

Discussion in 'General Discussion' started by Angel78, Dec 13, 2003.

  1. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    --------------------- sendmail Begin ------------------------


    ERROR: Could not open /etc/mail/local-host-names

    ERROR: Could not open /etc/mail/access


    Message Size Distribution:
    Range # Msgs KBytes
    0 - 10k 0 0
    10k - 20k 0 0
    20k - 50k 0 0
    50k - 100k 0 0
    100k - 500k 0 0
    500k - 1Mb 0 0
    1Mb - 2Mb 0 0
    2Mb - 5Mb 0 0
    5Mb - 10Mb 0 0
    10Mb+ 0 0
    ----------------------------------
    TOTAL 0 0

    ---------------------- sendmail End -------------------------


    Is there something special to add into .conf file when you use Cpanel/Exim?
     
  2. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    no one using LogWatch 5.0 ?
     
  3. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    I use it and it works fine on a Redhat 9 box with the latest stable release. What do you have mailer pointed to in the conf?
     
  4. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    Hi, it's

    mailer = /bin/mail


    (RH 7.3)
     
  5. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    Same as mine. The only things I changed were the mailto (desired address) and detail lines (desired log report level) and it works.

    It is a great script saves a ton of time digging in the logs - hope you get it working.
     
  6. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    did you set your Details as High?
     
  7. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    I currently have it set at medium (5).
     
  8. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    that's it if you set it to lower than High, it will not try to read the email logs, trey seting it to High (you get more information)

    pico -w /etc/log.d/conf/logwatch.conf

    and then

    perl /etc/log.d/scripts/logwatch.pl


    and you will also get this error about email-logs
     
  9. iquest

    iquest Active Member

    Joined:
    Mar 16, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    pico -w /etc/log.d/logwatch.conf

    go to the line (probably line# 79) where you selected
    'Service = All' (you will see the following line)
    # You can also disable certain services (when specifying all)
    now, you need to uncomment the option below
    and disable the sendmail since the default MTA for cPanel is EXIM

    Service = -sendmail

    then

    CTRL + X

    then type

    Y
    Enter
     
  10. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    what version does cpanel use for logwatch?

    and if its older .. how much better is the latest logwatch version (5?)
     
Loading...

Share This Page