Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron Emails from Upcp, backup adnd other processing missing

Discussion in 'E-mail Discussion' started by Belaird, May 25, 2007.

  1. Belaird

    Belaird Well-Known Member

    Jun 24, 2004
    Likes Received:
    Trophy Points:
    Most of my daily and periodic reports from my cron jobs, such as upcp, backup, rkhunter, etc have been missing since the update to Cpanel 11. I reviewed the cron log, and these jobs are running, but no reports. I tried modifying cron, via crontab -e with a MAILTO statement with little effect, a few reports appeared for that day, but after the next nightly cycle they stopped. I don't see any other warnings, errors or problems in my exim, message or security logs.

    I can run these scripts manually without error, so I don't think they are failing.

    So I am kinda stuck now trying to figure out what to do next, short of opening an incident request. Anyone have a suggestion what to try next?
  2. kernow

    kernow Well-Known Member

    Jul 23, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    A new logwatch which fixes this problem has been released.
    rpm -Uvh
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wkdwich

    wkdwich Well-Known Member

    Apr 11, 2005
    Likes Received:
    Trophy Points:
    Not receiving log watch notices here either.. Updated as prescribed:

    drwxr-xr-x 2 root root 4096 Jul 20 14:04 logwatch-7.3.6/

    # Default person to mail reports to. Can be a local account or a
    # complete email address. Variable Print should be set to No to
    # enable mail feature.
    MailTo =
    # WHen using option --multiemail, it is possible to specify a different
    # email recipient per host processed. For example, to send the report
    # for hostname host1 to, use:
    #Mailto_host1 =
    # Multiple recipients can be specified by separating them with a space.

    # Default person to mail reports from. Can be a local account or a
    # complete email address.
    MailFrom = Logwatch

    # If set to 'Yes', the report will be sent to stdout instead of being
    # mailed to above person.
    Print = No

    # The default detail level for the report.
    # This can either be Low, Med, High or a number.
    # Low = 0
    # Med = 5
    # High = 10
    Detail = 5

    # The 'Service' option expects either the name of a filter
    # (in /usr/share/logwatch/scripts/services/*) or 'All'.
    # The default service(s) to report on. This should be left as All for
    # most people.
    Service = All
    # You can also disable certain services (when specifying all)
    Service = "-zz-network" # Prevents execution of zz-network service, which
    # prints useful network configuration info.
    Service = "-zz-sys" # Prevents execution of zz-sys service, which
    # prints useful system configuration info.
    Service = "-eximstats" # Prevents execution of eximstats service, which
    # is a wrapper for the eximstats program.
    # If you only cared about FTP messages, you could use these 2 lines
    # instead of the above:
    #Service = ftpd-messages # Processes ftpd messages in /var/log/messages
    #Service = ftpd-xferlog # Processes ftpd messages in /var/log/xferlog
    # Maybe you only wanted reports on PAM messages, then you would use:
    #Service = pam_pwdb # PAM_pwdb messages - usually quite a bit
    #Service = pam # General PAM messages... usually not many

    I ran logwatch from the command line and it ran but still not report in my mail.. so now what??

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice