Not able to login to ejabberd (service-unavailable)

Hi:

I started an installation of ejabberd on CentOS 5.2. I have changed Authentication to use Linux PAM. When I try to login using Exodus, it won't let me login.

By increasing the log level, I got the following:

** START
=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.330.0>:ejabberd_receiver:298) : Received XML on stream = ""

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = "<?xml version='1.0'?>"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = "PLAIN"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.330.0>:ejabberd_receiver:298) : Received XML on stream = "admin"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = ""
** END

What could be wrong?

Thanks,
-Kris

Further notes

Sorry. The log did not come out properly. Here are the complete logs

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.330.0>:ejabberd_receiver:298) : Received XML on stream = "<stream:stream to=\"chat.example.com\" xmlns=\"jabber:client\" xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\" >"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = "<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4225400460' from='chat.example.com' version='1.0' xml:lang='en'>"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = "<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms><register xmlns='http://jabber.org/features/iq-register'/></stream:features>"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.330.0>:ejabberd_receiver:298) : Received XML on stream = "<iq id=\"jcl_4\" type=\"get\"><query xmlns=\"jabber:iq:auth\"><username>admin</username></query></iq>"

=INFO REPORT==== 2008-09-15 23:26:07 ===
D(<0.331.0>:ejabberd_c2s:1362) : Send XML on stream = "<iq from='chat.example.com' id='jcl_4' type='error'><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>"

Ejabberd after receiving

Ejabberd after receiving attribute version='1.0' in a stream header offers only SASL authentication. Your debug logs show that Exodus tries to utilise non-SASL authentication and failed. So, either teach Exodus to use SASL or not to send version attribute.

Syndicate content