Hi,

I have 2 virtual servers at s1.mydomain and s2.mydomain both
resolved to my ip (where jabberd is running).  I have 3 XDB
sections and I can't login (or create an account) to second
virtual server:

  <xdb id="s1.xdb_java">
    <host>s1.mydomain</host>
    <ns>jabber:iq:auth</ns>
    <ns>jabber:iq:roster</ns>
    <ns>vcard-temp</ns>
    <accept>
    ...
    </accept>
  </xdb>

  <xdb id="s1.xdb_file">
    <host>s1.mydomain</host>
    <ns/>
    <load>
        <xdb_file>./libs/xdb_file.dll</xdb_file>
    </load>
    ...
  </xdb>

  <xdb id="s2.xdb_file">
    <host>s2.mydomain</host>
    <ns/>
    <load>
        <xdb_file>./libs/xdb_file.dll</xdb_file>
    </load>
    ...
  </xdb>

I can login to s1.mydomain but I can't login nor register to
s2.mydomain.  I get the following in server logs:
  Fri Jan  3 16:04:55 2003  xdb.c:52 xdb_results checking xdb packet
    <xdb type='error' to='s2.sessions' from='[EMAIL PROTECTED]'
      ns='jabber:iq:auth' id='4'
      error='Unable to deliver, destination unknown'>
      <password xmlns='jabber:iq:auth'>someone</password>
    </xdb>
and similar entries in error.log file:
  'bouncing a routed packet to [EMAIL PROTECTED] from s2.sessions:
   Unable to deliver, destination unknown'
While trying to register as a new user it leaves however some data
corresponding to 'jabber:iq:last'.

It works fine if I remove <xdb id="s1.xdb_java">
or <xdb id="s1.xdb_file">.
It doesn't work if I join 2nd and 3rd one into common section as
follows:

  <xdb id="xdb_file">
    <host>s1.mydomain</host>
    <host>s2.mydomain</host>
    <ns/>
    <load>
        <xdb_file>./libs/xdb_file.dll</xdb_file>
    </load>
    ...
  </xdb>


What have I to do to make them work all together?

[jabberd 1.4.2 with Cygwin]


Thanks for any help.


Regards,

Wojciech Dec



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to