[ejabberd] No Connection Attempts to LDAP Server

Jiann-Ming Su su_js1 at yahoo.com
Sat Apr 14 10:50:14 MSK 2012


Just downloaded and installed 2.1.10 on a 32-bit RH5.7 server.  I've configured ejabberd.cfg to use ldap.  However, it's timing out.  When I run tcpdump, I see no connection attempts to the LDAP server or DNS lookups for the LDAP server IP address.  I've pasted the relevant output from ejabberd.log.  I should point out that this is also generating a erl_crash_*.dump file.  What am I doing wrong?  Thanks for any tips.


=ERROR REPORT==== 2012-04-14 02:44:32 ===
** State machine 'eldap_#Ref<0.0.0.10459>' terminating
** Last event in was timeout
** When State == connecting
**      Data  == {eldap,3,
                        ["myldap.mydomain.bogus","myldap.mydomain.bogus"],
                        null,"636",undefined,none,[],null,
                        "my_root_dn","my_root_dn_passwd",
                        0,undefined,
                        {dict,0,16,16,8,80,48,
                              {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                               []},
                              {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                []}}},
                        {[],[]}}
** Reason for termination =
** {function_clause,[{inet_tcp,getserv,["636"]},
                     {gen_tcp,connect1,4},
                     {gen_tcp,connect,4},
                     {eldap,connect_bind,1},
                     {eldap,connecting,2},
                     {gen_fsm,handle_msg,7},
                     {proc_lib,init_p,5}]}

=ERROR REPORT==== 2012-04-14 02:44:32 ===
** State machine 'eldap_#Ref<0.0.0.10269>' terminating
** Last event in was timeout
** When State == connecting
**      Data  == {eldap,3,
                        ["myldap.mydomain.bogus"],
                        null,"636",undefined,none,[],null,
                        "my_root_dn","my_root_dn_passwd",
                        0,undefined,
                        {dict,0,16,16,8,80,48,
                              {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                               []},
                              {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                []}}},
                        {[],[]}}
** Reason for termination =
** {function_clause,[{inet_tcp,getserv,["636"]},
                     {gen_tcp,connect1,4},
                     {gen_tcp,connect,4},
                     {eldap,connect_bind,1},
                     {eldap,connecting,2},
                     {gen_fsm,handle_msg,7},
                     {proc_lib,init_p,5}]}

=ERROR REPORT==== 2012-04-14 02:44:32 ===
** State machine 'eldap_#Ref<0.0.0.10222>' terminating
** Last event in was timeout
** When State == connecting
**      Data  == {eldap,3,
                        ["myldap.mydomain.bogus"],
                        null,"636",undefined,none,[],null,
                        "my_root_dn","my_root_dn_passwd",
                        0,undefined,
                        {dict,0,16,16,8,80,48,
                              {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                               []},
                              {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                []}}},
                        {[],[]}}
** Reason for termination =
** {function_clause,[{inet_tcp,getserv,["636"]},
                     {gen_tcp,connect1,4},
                     {gen_tcp,connect,4},
                     {eldap,connect_bind,1},
                     {eldap,connecting,2},
                     {gen_fsm,handle_msg,7},
                     {proc_lib,init_p,5}]}

=INFO REPORT==== 2012-04-14 02:44:32 ===
I(<0.354.0>:eldap:983) : LDAP connection on myldap.mydomain.bogus:"636"

=INFO REPORT==== 2012-04-14 02:44:32 ===
I(<0.356.0>:eldap:983) : LDAP connection on myldap.mydomain.bogus:"636"

=INFO REPORT==== 2012-04-14 02:44:32 ===
I(<0.357.0>:eldap:983) : LDAP connection on myldap.mydomain.bogus:"636"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20120413/da395688/attachment.html>


More information about the ejabberd mailing list