PDA

View Full Version : JIT Config


Robse
08-01-2008, 01:33 PM
Hi I need some help configuring icq transport with jabber-jit.

Here's what I did, the problem however is described in the last paragraph.

I first installed jabber and jabber-jit via apt-get.
I then configured xml files according to http://www.debian-administration.org/articles/392

i then did

/etc/init.d/jabberd start

which started jabber and jabber-jit. in my client i saw ICQ as service but "Register" is grayed out.
So i started with -D and that said:

jabberd: symbol lookup error: /usr/lib/jabber/jit/jit.so: undefined symbol: wpxhash_new

Next I googled and found (http://markmail.org/message/ow2mqj2utaiywdus#query:wpxhash_new+page:1+mid:2xie vg7h4cpjjhtb+state:results)
that 1.4.2 cannot attach to jit, and we have to start jit with "wpjabber" or "the jabbered that came with the tarball".

I found a jabber-jit in /etc/jabber/jabber.d, I'm guessing that is the correct one.

After starting jabber-jit, /etc/init.d/jabber start

then gave me:

Starting jabberd: jabberd.
jabber-jit is already running.

Here is my config regions:
in jabber.xml:

<browse>

<!-- Other services her -->

<service type="icq" jid="icq.localhost" name="ICQ Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
<ns>jabber:iq:search</ns>
</service>

</browse>

<service id="icq">
<host>icq.localhost</host>
<accept>
<ip>127.0.0.1</ip>
<port>5234</port>
<secret>mysecret</secret>
<timeout>30</timeout>
</accept>
</service>

in jabber-jit.xml:

<service id="icqlinker">
<host>icq.localhost</host>
<uplink/>
<connect>
<ip>127.0.0.1</ip>
<port>5234</port>
<secret>mysecret</secret>
</connect>
</service>

Now the wpxhash_new error is gone but still "Register" to icq transport is grayed out.
In the log it says "Server Connect failed" - is this the icq server?

What to do next?
Help would be much appreciated

AJxn
08-18-2008, 01:58 AM
Is you jid in the configuration file correct?
It should be icq. (or actually anything you like) prepended to you servers jid. So is you jabber servers jid localhost?

There should be a log file for your icq transport that you should look into.