[JDEV] Bug in base_accpet?

Gang Liu gang_l at 21cn.com
Tue Feb 20 06:37:23 CST 2001


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







More information about the JDev mailing list