1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Watchdog + Qmail?

Discussion in 'Plesk for Linux - 8.x and Older' started by TehPropheT, Sep 16, 2005.

  1. TehPropheT

    TehPropheT Guest


    past few nights ive been getting messages:

    [Fri, 16 Sep 2005 10:44:13 +0100] qmail on wpc1953.amenworld.com: Connection failed.
    'qmail' failed protocol test [SMTP] at INET[localhost:25].

    Then when i go into plesk and check, SMTP has stopped for some reason!!! I enable SMTP and then get this messaged:

    [Fri, 16 Sep 2005 11:09:16 +0100] qmail on wpc1953.amenworld.com: Connection passed.
    'qmail' connection passed

    For time being ive disabled Watchdog on SMTP, will this fix it? Are there any issues which i should address, im failing to see why SMTP would stop at the same time everyday.
  2. death

    death Guest


    please check, if some crontab is running at this time (crontab -l), also check if any backup runs at this time.

    Greets stefan
  3. TehPropheT

    TehPropheT Guest

    AS ROOT:

    14 5 * * * /usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1
    7 4 * * * /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1
    30 * * * * /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1
    17 7 * * * /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto daily >/dev/null 2>&1
    17 7 * * 1 /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto weekly >/dev/null 2>&1
    17 7 1 * * /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto monthly >/dev/null 2>&1
    47 * * * * /usr/sbin/ntpdate -b -s time.windows.com > /dev/null 2>&1

    I run my own backup scripts which are wrote in perl and use NET FTP to transfer to my backup storage servers. Im unsure what plesk backups by default, and to be honest i would like to disable them.
  4. death

    death Guest

    30 * * * * /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1

    This looks like PSA backup manager is runned every hour at xx:30

    What entries in /var/log/maillog,messages,etc. do you have for this time (Fri, 16 Sep 2005 10:44:13 +0100) ?
  5. TehPropheT

    TehPropheT Guest

    Sep 16 10:44:14 wpc1953 qmail: qmail-send shutdown succeeded
    Sep 16 10:44:15 wpc1953 qmail: Starting qmail: failed

    seems watchdog shuts it down then trys to start it again?

    EDIT: yes your right every half an hour it does this:

    Sep 16 03:38:28 wpc1953 qmail: qmail-send shutdown succeeded
    Sep 16 03:38:29 wpc1953 qmail: Starting qmail: succeeded

    atleast once every 24 hours it fails to start it again though. Any suggestions?
  6. death

    death Guest

    It looks like backup manager is shutting down qmail and wpc tries to restart it. You said every 24hour it doesn't work?

    Just guessing: You're running a bigger backup all 24hours (makes sense). Watchdog tries to restart qmail before backup has finished?

    As I said, this is just a guess.