error running shared postrotate script

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Nov 9, 2018.

  1. pawan

    pawan Member HowtoForge Supporter

    I mostly greeted with a message
    you have mail
    when I run -
    cat /var/spool/mail/root
    the contents of the last mail is like;
    From: [email protected] (Cron Daemon)
    To: [email protected]
    Subject: Cron <[email protected]> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
    MIME-Version: 1.0
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: 8bit
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <LOGNAME=root>
    Message-Id: <[email protected]>
    Date: Tue,  6 Nov 2018 06:35:08 +0530 (IST)
    error: error running shared postrotate script for '/var/log/mysql.log /var/log/mysql/*log '
    run-parts: /etc/cron.daily/logrotate exited with return code 1
    How this can be fixed?
    also is it possible to send these mails using smtp?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page