• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Watchdog + Qmail?

T

TehPropheT

Guest
hi,

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.
 
hi

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

Greets stefan
 
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.
 
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) ?
 
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?
 
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.
 
Back
Top