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

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by 105547111, Sep 18, 2011.

  1. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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!
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    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.
     
  3. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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: Sep 19, 2011
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Can you connect to port 143 from localhost when Courier-IMAP is started?
     
  5. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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.
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    You can login to sever as root via ssh and run something like

     
  7. vmonroigv

    vmonroigv New Pleskian

    13
    35%
    Joined:
    Sep 9, 2011
    Messages:
    14
    Likes Received:
    0
    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.
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
  9. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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: Sep 19, 2011
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Can you fill mentioned template?
     
  11. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    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:

    Also:

    Connection to port 143 from localhost is OK:

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

    Now I will forward my report to developers for investigation and will keep this thread updated with results.
    Thank you.
     
  13. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
  14. vmonroigv

    vmonroigv New Pleskian

    13
    35%
    Joined:
    Sep 9, 2011
    Messages:
    14
    Likes Received:
    0
    Thanks, IgorG, for the template and workaround.
     
  15. King555

    King555 Regular Pleskian

    22
    90%
    Joined:
    Jan 5, 2011
    Messages:
    177
    Likes Received:
    3
    Location:
    Germany
    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
     
  16. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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.
     
  17. King555

    King555 Regular Pleskian

    22
    90%
    Joined:
    Jan 5, 2011
    Messages:
    177
    Likes Received:
    3
    Location:
    Germany
    Thanks, that works!
     
  18. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    Thanks for the feedback King555. Looks like this issue is resolved with the fix.
     
Loading...