[JDEV] Service unavailable
Ben Piercey
ben.piercey at nuance.com
Thu Feb 1 16:52:07 CST 2001
I am experiencing the same problem. I downloaded the Jabber2
code from cvs yesterday, and it seems messaging is broken.
Just sending a chat or normal message fails with Service Unavailable
regardless
of where the two parties exist in the network. (on the same server, or both
on separate servers).
Here are the results of my limited debugging effort.
The deliver_local function calls js_session passing a udata (for the
destination user) and
a string resource that it gets from the incoming packet (p->to->resource).
However, js_session finds that resource to be NULL and returns a NULL
session to deliver_local.
Because it could find a session for this user, the message ends up on the
offline thread.
The offline handling tries to invoke the e_OFFLINE mapi calls and fails,
thus
firing of the Service Unavailable Message. <gasp>
That's as far as I went with my poking around. I don't think it's a
configuration
thing. I used the stock standard config file from cvs (with appropriate
domain modifications of course) and it just dinna work.
Any help or further explaination would be great.
Ben.
----- Original Message -----
From: "Ted Rolle" <TRolle at uwgrocers.com>
To: <jdev at jabber.org>
Sent: Thursday, February 01, 2001 11:25 AM
Subject: RE: [JDEV] Service unavailable
> Ted,
>
> Can you identify/provide the relevant errors from your debug output
> ("jabberd -D")? There are a number of possible explanations for your
> error. Also, could you attach your jabber.xml? How are you starting the
> jabberd daemon?
>
> John Hebert
>
> Following your advice I started it with "jabberd/jabberd -D >0 2>&1" from
> /home/opt/Jabber/jabber-1.2/
>
> Here's a portion of the log:
>
> Thu Feb 1 08:12:13 2001 deliver.c:84 (8082A10)incoming packet <route
> to='teddy
> @198.140.216.68/81B8EB0' from='14 at c2s/81B5AE0'><message id='JCOM_2'
> to='ted at 198.
> 140.216.68'
> type='chat'><thread>CD679976E663233B8C385A5D18FB83C9</thread><body>H
> i.</body></message></route>
> Thu Feb 1 08:12:13 2001 users.c:147
> js_user(teddy at 198.140.216.68/81B8EB0,80EFC
> 38)
> Thu Feb 1 08:12:13 2001 mtq 80F0570 entering from pth
> Thu Feb 1 08:12:13 2001 mtq 80F0570 queue call 81BAB00
> Thu Feb 1 08:12:13 2001 sessions.c:289 THREAD:SESSION:FROM received a
> packet!
> Thu Feb 1 08:12:13 2001 modules.c:124 mapi_call 1
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 81B91E0
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 81B91F0
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 81B9210
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 81B9238
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 81B9248
>
> Everything seems OK to here.
>
> Thu Feb 1 08:12:13 2001 modules.c:163 mapi_call returning unhandled
> Thu Feb 1 08:12:13 2001 deliver.c:262
> deliver(to[ted at 198.140.216.68],from[tedd
> y at 198.140.216.68/Work],type[1],packet[<message id='JCOM_2'
> to='ted at 198.140.216.6
> 8' type='chat'
> from='teddy at 198.140.216.68/Work'><thread>CD679976E663233B8C385A5D
> 18FB83C9</thread><body>Hi.</body></message>])
> Thu Feb 1 08:12:13 2001 users.c:147 js_user(ted at 198.140.216.68,80EFC38)
> Thu Feb 1 08:12:13 2001 deliver.c:44 delivering locally to
> ted at 198.140.216.68
> Thu Feb 1 08:12:13 2001 modules.c:124 mapi_call 3
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 80B5C60
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 80B5E40
> Thu Feb 1 08:12:13 2001 modules.c:163 mapi_call returning unhandled
> Thu Feb 1 08:12:13 2001 deliver.c:282 psending to 80B8E38 packet 81BAB00
> Thu Feb 1 08:12:13 2001 mtq 80F0570 leaving to pth
> Thu Feb 1 08:12:13 2001 offline.c:64 THREAD:OFFLINE received
> ted at 198.140.216.6
> 8's packet: <message id='JCOM_2' to='ted at 198.140.216.68' type='chat'
> from='teddy
>
@198.140.216.68/Work'><thread>CD679976E663233B8C385A5D18FB83C9</thread><body
> >Hi.
> </body></message>
> Thu Feb 1 08:12:13 2001 modules.c:124 mapi_call 1
> Thu Feb 1 08:12:13 2001 modules.c:147 MAPI 80B5CF0
> Thu Feb 1 08:12:13 2001 modules.c:163 mapi_call returning unhandled
> Thu Feb 1 08:12:13 2001 deliver.c:262
> deliver(to[teddy at 198.140.216.68/Work],fr
> om[ted at 198.140.216.68],type[1],packet[<message id='JCOM_2'
> to='teddy at 198.140.216
> .68/Work' type='error'
> from='ted at 198.140.216.68'><thread>CD679976E663233B8C385A5
> D18FB83C9</thread><body>Hi.</body><error code='503'>Service
> Unavailable</error><
> /message>])
> Thu Feb 1 08:12:13 2001 users.c:147
> js_user(teddy at 198.140.216.68/Work,80EFC38)
> Thu Feb 1 08:12:13 2001 deliver.c:44 delivering locally to
> teddy at 198.140.216.6
> 8/Work
> Thu Feb 1 08:12:13 2001 modules.c:124 mapi_call 3
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list