[ejabberd] Problem with user connections on Ubuntu 6.10, ejabberd 1.1.1

Peter Whysall peter.whysall at ntlworld.com
Fri Oct 27 15:47:13 MSD 2006


I had a functional ejabberd server running on Ubuntu 6.06 Dapper  
Drake, and recently upgraded the distribution to 6.10 Edgy Eft. In  
the following log extracts, "mydomain.org" has been used where my  
fully qualified domain name would be.

Now, whenever a user attempts to connect, the connection attempt  
fails and I see the following in /var/log/ejabberd/ejabberd.log:

=INFO REPORT==== 2006-10-27 12:42:25 ===
I(<0.2653.0>:ejabberd_listener:90): (#Port<0.3675>) Accepted  
connection {{64,53,181,95},5344} -> {{10,200,1,50},5222}

=ERROR REPORT==== 2006-10-27 12:42:26 ===
** State machine <0.3176.0> terminating
** Last event in was {xmlstreamelement,
                          {xmlelement,"response",
                                      [{"xmlns",
                                        "urn:ietf:params:xml:ns:xmpp- 
sasl"}],
                                      [{xmlcdata,
                                            
<<"dXNlcm5hbWU9IlllbmRvciIscmVhbG09Imd1aWxkZW5zdGVybi5keW5kbnMub3JnIixub 
25jZT0iMjA3NDAyMTE2OSIsY25vbmNlPSIzZWU4ZTVlZDExNjE5NDkzNDU1OTUyZTM5YiIsb 
mM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9ndWlsZGVuc3Rlcm4uZHluZ 
G5zLm9yZyIscmVzcG9uc2U9MTVhOTEzMGVmZGYzMDMyYzY0YmM3ZmZlYWRhOGIzY2MsY2hhc 
nNldD11dGYtOA==">>}]}}
** When State == wait_for_sasl_response
**      Data  == {state,{tlssock,#Port<0.3675>,#Port<0.3677>},
                         <0.3177.0>,
                         tls,
                         "4262668089",
                         {sasl_state,"jabber",
                                     "mydomain.org",
                                     [],
                                     #Fun<ejabberd_c2s.1.114093548>,
                                     #Fun<ejabberd_c2s.2.66069937>,
                                     cyrsasl_digest,
                                     {state,
                                         3,
                                         "2074021169",
                                         undefined,
                                         undefined,
                                         #Fun<ejabberd_c2s. 
1.114093548>}},
                         c2s,
                         c2s_shaper,
                         false,
                         true,
                         false,
                         true,
                         [{certfile,"/etc/ssl/certs/ejabberd.pem"}],
                         false,
                         undefined,
                         [],
                         "mydomain.org",
                         [],
                         undefined,
                         {0,nil},
                         {0,nil},
                         {0,nil},
                         {0,nil},
                         undefined,
                         undefined,
                         undefined,
                         false,
                         none,
                         []}
** Reason for termination =
** {badarg,[{ets,lookup,[crypto_server_table,port]},
             {crypto,control,2},
             {cyrsasl_digest,response,6},
             {cyrsasl_digest,mech_step,2},
             {cyrsasl,server_step,2},
             {ejabberd_c2s,wait_for_sasl_response,2},
             {gen_fsm,handle_msg,7},
             {proc_lib,init_p,5}]}

And I see the following in /var/log/ejabberd/sasl.log:

=CRASH REPORT==== 27-Oct-2006::12:45:10 ===
   crasher:
     pid: <0.3183.0>
     registered_name: []
     error_info: {badarg,[{ets,lookup,[crypto_server_table,port]},
                           {crypto,control,2},
                           {sha,sha,1},
                           {ejabberd_auth_internal,check_password,5},
                           {lists,any,2},
                           {ejabberd_c2s,wait_for_auth,2},
                           {gen_fsm,handle_msg,7},
                           {proc_lib,init_p,5}]}
     initial_call: {gen,init_it,
                       [gen_fsm,
                        <0.2645.0>,
                        <0.2645.0>,
                        ejabberd_c2s,
                        [{gen_tcp,#Port<0.3681>},
                         [{access,c2s},
                          starttls,
                          {certfile,"/etc/ssl/certs/ejabberd.pem"},
                          {shaper,c2s_shaper}]],
                        []]}
     ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.2446.0>]
     messages: []
     links: [<0.2645.0>]
     dictionary: []
     trap_exit: false
     status: running
     heap_size: 1597
     stack_size: 21
     reductions: 1334
   neighbours:

=SUPERVISOR REPORT==== 27-Oct-2006::12:45:10 ===
      Supervisor: {local,ejabberd_c2s_sup}
      Context:    child_terminated
      Reason:     {badarg,[{ets,lookup,[crypto_server_table,port]},
                           {crypto,control,2},
                           {sha,sha,1},
                           {ejabberd_auth_internal,check_password,5},
                           {lists,any,2},
                           {ejabberd_c2s,wait_for_auth,2},
                           {gen_fsm,handle_msg,7},
                           {proc_lib,init_p,5}]}
      Offender:   [{pid,<0.3183.0>},
                   {name,undefined},
                   {mfa,{ejabberd_c2s,start_link,
                                      [{gen_tcp,#Port<0.3681>},
                                       [{access,c2s},
                                        starttls,
                                        {certfile,
                                            "/etc/ssl/certs/ 
ejabberd.pem"},
                                        {shaper,c2s_shaper}]]}},
                   {restart_type,temporary},
                   {shutdown,brutal_kill},
                   {child_type,worker}]





More information about the ejabberd mailing list