• 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 courier-IMAP not running after latest update

105547111

Silver Pleskian
Anyone experiencing watchdog insisting courier IMAP is not running?

Centos 6 x86_64

It definitely is so what can I do? I restarted courier IMAP it's unchanged.

Thanks!
 
Try to find something useful in /usr/local/psa/var/modules/watchdog/log/monit.log
Also look at Courier-IMAP section of /usr/local/psa/etc/modules/watchdog/monitrc file. Maybe it will help to find a reason.
 
Hi IgorG

I found this in the log..


[EST Sep 19 14:52:36] Collector: communication failure -- aborting message
[EST Sep 19 14:52:36] 'courier_imap' trying to restart
[EST Sep 19 14:52:36] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:52:37] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:52:37] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 14:52:37] Collector: communication failure -- aborting message
[EST Sep 19 14:52:37] 'courier_imap' trying to restart
[EST Sep 19 14:57:39] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 14:57:39] 'courier_imap' trying to restart
[EST Sep 19 14:57:39] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:57:40] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:57:40] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 14:57:40] 'courier_imap' trying to restart
[EST Sep 19 15:02:43] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:02:43] 'courier_imap' trying to restart
[EST Sep 19 15:02:43] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:02:44] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:02:44] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:02:44] 'courier_imap' trying to restart
[EST Sep 19 15:07:46] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:07:46] 'courier_imap' trying to restart
[EST Sep 19 15:07:46] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:07:47] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:07:47] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:07:47] 'courier_imap' trying to restart
[EST Sep 19 15:12:50] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:12:50] 'courier_imap' trying to restart
[EST Sep 19 15:12:50] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:12:51] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:12:51] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:12:51] 'courier_imap' trying to restart
[EST Sep 19 15:17:54] 'courier_imap' service timed out and will not be checked anymore
[EST Sep 19 15:17:54] Collector: communication failure -- aborting message

But it is running, my iPad and iPhone connect to the server.

Also;


[root@server init.d]# /etc/init.d/courier-imap status
couriertcpd (pid 23697 23688 23680 23670) is running...
[root@server init.d]# /etc/init.d/courier-imap restart
Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]
 
Last edited:
Can you connect to port 143 from localhost when Courier-IMAP is started?
 
How can I check this from shell? I could use another machine on the LAN via shell to check. Certainly iPhone, iPad and Thunderbird are working, both on ipv4 and ipv6.
 
We're experiencing this problem in Ubuntu 10.04, too.

POP3 and IMAP ports are open, and server is responding, but watchdog shows service Courier-IMAP stopped.
 
Hi IgorG

Nope it's working fine, definitely a bug:


[root@server ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.

That's plesk 10.3.1 latest version
Centos 6 x86_64
 
Last edited:
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE

ACTUAL RESULT

EXPECTED RESULT

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------

Plesk 10.3.1
Centos 6 x86_64
Watchdog insists courier IMAP is not running, but it is.
Watchdog should say courier IMAP is normal

Happened after a MU update, now watchdog is broken as far as detecting courier IMAP
 
Well. I will try to show and teach everyone, including experts, how report template should be filled correctly. I hope, further all will do so if they wants to receive fast and effective help from Parallels staff.

--------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk 10.3.1, Centos 6 x86_64, Ubuntu 10.04

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
Watchdog insists courier IMAP is not running, but it is.

ACTUAL RESULT
Currently watchdog can't get correct status of Courier-IMAP

EXPECTED RESULT
Watchdog should say courier IMAP is normal

ANY ADDITIONAL INFORMATION
In /usr/local/psa/var/modules/watchdog/log/monit.log:

[EST Sep 19 14:52:36] Collector: communication failure -- aborting message
[EST Sep 19 14:52:36] 'courier_imap' trying to restart
[EST Sep 19 14:52:36] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:52:37] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:52:37] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 14:52:37] Collector: communication failure -- aborting message
[EST Sep 19 14:52:37] 'courier_imap' trying to restart
[EST Sep 19 14:57:39] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 14:57:39] 'courier_imap' trying to restart
[EST Sep 19 14:57:39] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:57:40] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 14:57:40] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 14:57:40] 'courier_imap' trying to restart
[EST Sep 19 15:02:43] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:02:43] 'courier_imap' trying to restart
[EST Sep 19 15:02:43] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:02:44] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:02:44] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:02:44] 'courier_imap' trying to restart
[EST Sep 19 15:07:46] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:07:46] 'courier_imap' trying to restart
[EST Sep 19 15:07:46] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:07:47] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:07:47] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:07:47] 'courier_imap' trying to restart
[EST Sep 19 15:12:50] 'courier_imap' failed protocol test [IMAP] at INET[localhost:993].
[EST Sep 19 15:12:50] 'courier_imap' trying to restart
[EST Sep 19 15:12:50] 'courier_imap' stop: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:12:51] 'courier_imap' start: /usr/local/psa/admin/bin/mailmng
[EST Sep 19 15:12:51] 'courier_imap' failed, cannot open a connection to INET[localhost:143]
[EST Sep 19 15:12:51] 'courier_imap' trying to restart
[EST Sep 19 15:17:54] 'courier_imap' service timed out and will not be checked anymore
[EST Sep 19 15:17:54] Collector: communication failure -- aborting message

Also:

[root@server init.d]# /etc/init.d/courier-imap status
couriertcpd (pid 23697 23688 23680 23670) is running...
[root@server init.d]# /etc/init.d/courier-imap restart
Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Connection to port 143 from localhost is OK:

[root@server ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.

--------------------------------------------------------------

Now I will forward my report to developers for investigation and will keep this thread updated with results.
Thank you.
 
I have the same problem since one of the last microupdates. But I could not resolve it with the replacement of the monit file.

Debian 5 x64
 
Hi IgorG

Replacement of monit on Centos 6 x86_64 100% fixed.

King555 - I suggest you disable watchdog in the panel, then re-enable it as the old binary is still running in memory until its restarted. As soon as I did that my courier IMAP is green!

Let me know if that fixes it for you.
 
Back
Top