"Connection refused" Error In IMAP Server Log (Doc ID 1441773.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Communications Messaging Server - Version 5.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Oct-2013***
***Checked for relevance on 02-Apr-2015***

Symptoms

User account is enabled but IMAP login returns "Service Temporarily unavailable"

EX: telnet <imap host> <port>

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE XREFRESH AUTH=PLAIN] [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE AUTH=PLAIN] mail.domain.com IMAP4 service (Oracle Communications Messaging Exchange Server 7u4-21.01 64bit (built Feb 16 2011))
. login username password
. NO Service temporarily unavailable





Messaging Servers IMAP log file has error: 
(hostname and IP are modified to generic names in this example)

[20/Mar/2012:18:43:57 +0000] Hostname imapd[24731]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:18:43:57 +0000] Hostname imapd[24731]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:18:43:57 +0000] Hostname imapd[24731]: General Error: (id 3 0x100565e50) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:18:44:03 +0000] Hostname imapd[24731]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:18:44:03 +0000] Hostname imapd[24731]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:18:44:03 +0000] Hostname imapd[24731]: General Error: (id 3 0x100565e50) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:18:44:03 +0000] Hostname imapd[24731]: General Error: (id 3) domain 'domain.com'not found in LDAP (91 Could not connect to the LDAP server)
[20/Mar/2012:18:44:44 +0000] Hostname imapd[24729]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:18:44:44 +0000] Hostname imapd[24729]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:18:44:44 +0000] Hostname imapd[24729]: General Error: (id 3 0x100565f10) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:18:46:38 +0000] Hostname imapd[24728]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:18:46:38 +0000] Hostname imapd[24728]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:18:46:38 +0000] Hostname imapd[24728]: General Error: (id 4 0x100565da0) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:19:42:09 +0000] Hostname imapd[24734]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:19:42:09 +0000] Hostname imapd[24734]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:19:42:09 +0000] Hostname imapd[24734]: General Error: (id 5 0x100565b90) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:19:42:15 +0000] Hostname imapd[24734]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:19:42:15 +0000] Hostname imapd[24734]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:19:42:15 +0000] Hostname imapd[24734]: General Error: (id 5 0x100565b90) connect to host 'ldap.domain.com' error: Connection refused (11 146)
[20/Mar/2012:19:42:15 +0000] Hostname imapd[24734]: General Error: (id 5) domain 'domain.com'not found in LDAP (91 Could not connect to the LDAP server)
[20/Mar/2012:19:43:27 +0000] Hostname imapd[24727]: General Error: tsock_connectbyname(): unable to connect to TCP port 389 of 192.168.0.1; connect() call failed; errno=146; Connection refused
[20/Mar/2012:19:43:27 +0000] Hostname imapd[24727]: General Error: tsock_connectbyname(): unable to connect to ldap.domain.com on port 389
[20/Mar/2012:19:43:27 +0000] Hostname imapd[24727]: General Error: (id 41 0x100565d00) connect to host 'ldap.domain.com' error: Connection refused (11 146)




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms