[JDEV] Bug in base_accpet?
Gang Liu
gang_l at 21cn.com
Wed Feb 21 02:18:12 CST 2001
Hi,
Thanks for your info. But That can not slove this problem.
I have installed two jabber servers in our internal network.One is vista.internal, the other is go.internal.
The jabber server of go.internal is simple without any transport.The vista.internal is simple too.
But I host the xdb_file of vista.internal in another linux box used base_accept.
I use jabberIM to login to vista.internal and use winjab to go.internal.Then user at vista.internal try to add the user at go.internal to his contract list. user at go.internal recv his request very quickly and permit it. Now user at vista.internal can not recv the presence msg from user at go.internal. I go to see console of vista.internl.Just like I posted before.The jabberd can not get xdb responses and xdb_file in another linux box can not recv jabberd xdb requests.Use tcpdump I see nothing. The xdb_file suddenly recv many xdb requests when wait a long time.
----- Original Message -----
From: Keith Minkler<kminkler at jabber.com>
To: jdev<jdev at jabber.org>
Sent: 2001-2-20 17:01:00
Subject: Re: [JDEV] Bug in base_accpet?
>Change the <host/> tag in your <service/> section to an <uplink/> and that should fix your problem.
>
>The reason for this is that <service/> only routes iq, message, presence, or route tags, not xdb or log..
>if you want xdb and log routed to this service, you need the <uplink/> which will send ANY undelivered
>packet to that instance. (which is why it replaces the <host/> tag)
>
>Keith Minkler
>
>On Tue, Feb 20, 2001 at 08:37:23PM +0800, Gang Liu wrote:
>> Hi,
>>
>> I use base_accpet to setup xdb_file in another linux box. Jabber server is 1.4 release.Linux is RedHat 6.1.But jabberd often hang up in xdb request..I also use tcpdump to see network traffic.When jabberd do something like below, nothing is captured by tcpdump.
>> Thanks for your help.
>>
>> Tue Feb 20 20:24:00 2001 deliver.c:460 DELIVER 2:vista.internal <xdb type='get'
>> to='amx at vista.internal' from='sessions' ns='jabber:iq:roster' id='61'/>
>> Tue Feb 20 20:24:00 2001 deliver.c:649 delivering to instance 'xdb.vista..intern
>> al'
>> Tue Feb 20 20:24:00 2001 mio.c:898 mio_write called on x: 81D4850 buffer: (null
>> )
>> Tue Feb 20 20:24:00 2001 xdb.c:201 xdb_get() waiting for amx at vista.internal jab
>> ber:iq:roster
>> Tue Feb 20 20:24:15 2001 users.c:82 checking users for host vista.internal
>> Tue Feb 20 20:24:15 2001 usercount 1 total users
>> Tue Feb 20 20:24:19 2001 deliver.c:460 DELIVER 2:vista.internal <xdb type='get'
>> to='amx at vista.internal' from='sessions' ns='jabber:iq:roster' id='61'/>
>> Tue Feb 20 20:24:19 2001 deliver.c:649 delivering to instance 'xdb.vista..intern
>> al'
>> Tue Feb 20 20:24:19 2001 mio.c:898 mio_write called on x: 81FC930 buffer: (null
>> )
>> Tue Feb 20 20:24:30 2001 deliver.c:460 DELIVER 2:vista.internal <xdb type='get'
>> to='amx at vista.internal' from='sessions' ns='jabber:iq:roster' id='61'/>
>> Tue Feb 20 20:24:30 2001 deliver.c:649 delivering to instance 'xdb.vista..intern
>> al'
>> Tue Feb 20 20:24:30 2001 mio.c:898 mio_write called on x: 81F8D00 buffer: (nu
>>
>>
>> Jabber Server config:
>>
>> ....
>> <xdb id="xdb.vista.internal">
>> <host/>
>> <accept>
>> <ip/>
>> <port>5280</port>
>> <secret>secret</secret>
>> </accept>
>> </xdb>
>> ....
>>
>>
>>
>> xdb_file config:
>>
>> <jabber>
>>
>> <service id="xdb.vista.internal">
>> <host/>
>> <connect>
>> <ip>192.168.0.1</ip>
>> <port>5280</port>
>> <secret>secret</secret>
>> </connect>
>> </service>
>>
>> <log id='xdblog'>
>> <host/>
>> <format>%d: [%t] (%h): %s</format>
>> <file>./xdb-error.log</file>
>> <stderr/>
>> </log>
>>
>> <xdb id="xdb_handler">
>> <host>vista.internal</host>
>> <load><xdb_file>./xdb_file/xdb_file.so</xdb_file></load>
>> <xdb_file xmlns="jabber:config:xdb_file"><spool>./spool</spool></xdb_file>
>> </xdb>
>>
>> </jabber>
>>
>>
>> Regards,
>>
>> - Lg
>>
>> 2001-2-20 20:22:14
>>
>> --
>> Gang Liu / Vista Team / ShenZhen City / China
>> Email: gang_l at 21cn.com & gang_l at hotmail.com
>> Phone: +86 13923425035
>> ICQ: 70670666 Jabber: gang_l at jabber.org
>>
>>
>>
>>
>> _______________________________________________
>> jdev mailing list
>> jdev at jabber.org
>> http://mailman.jabber.org/listinfo/jdev
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.4 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE6kulFmQjXLBmX48wRAh90AJ0VzDSlovEqXV+PovrsPNXvm1YcngCfeGmg
>UW0IiphfxeVlR5D4nTD39Mk=
>=XkG/
>-----END PGP SIGNATURE-----
Regards,
- Lg
2001-2-21 15:15:04
--
Gang Liu / Vista Team / ShenZhen City / China
Email: gang_l at 21cn.com & gang_l at hotmail.com
Phone: +86 13923425035
ICQ: 70670666 Jabber: gang_l at jabber.org
More information about the JDev
mailing list