[jadmin] ejabberd-0.9.8 + bandersnatch + pyICQt

Renato Botelho rbgarga at gmail.com
Tue Oct 11 11:14:25 CDT 2005


Hello all

I installed a ejabberd-0.9.8 server, and now need to make py-ICQt and
bandersnatch work with it, but I'm having a lot of problems.

About bandersnatch, I'm trying version 0.3 and 0.4RC1. 0.4-RC1 doesn't
start, 0.3 starts but doesn't log anything.

I got it

XML::Stream: new: hostname = (srv1.news.galle.com.br)
XML::Stream: SetCallBacks: tag(node) func(CODE(0x875a778))
XMPP::Conn: SetCallBacks: tag(message) func(CODE(0x807aa2c))
XMPP::Conn: SetCallBacks: tag(presence) func(CODE(0x875a940))
XMPP::Conn: SetCallBacks: tag(iq) func(CODE(0x875a8ec))
XMPP::Conn: SetDirectXPathCallBacks:
xpath(/[@xmlns="urn:ietf:params:xml:ns:xmpp-tls"])
func(CODE(0x875abec))
XMPP::Conn: SetDirectXPathCallBacks:
xpath(/[@xmlns="urn:ietf:params:xml:ns:xmpp-sasl"])
func(CODE(0x875ac7c))
XMPP::Conn: SetCallBacks: tag(iq) func(CODE(0x873f1b8))
XMPP::Conn: SetCallBacks: tag(receive) func(CODE(0x872b110))
XMPP::Conn: SetCallBacks: tag(presence) func(CODE(0x873e810))
XMPP::Conn: SetCallBacks: tag(message) func(CODE(0x87363d4))
XMPP::Conn: Connect: host(localhost:5526) namespace(jabber:component:accept)
XMPP::Conn: Connect: timeout(10)
XML::Stream: Connect: type(tcpip)
XML::Stream: Connect: Got a connection
XML::Stream: Send: (<?xml version='1.0'?><stream:stream version='1.0'
xmlns:stream='http://etherx.jabber.org/streams'
xmlns='jabber:component:accept' to='srv1.news.galle.com.br'
from='srv1.news.galle.com.br' xml:lang='en' >)
XML::Stream: Read: buff(<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams'
xmlns='jabber:component:accept' id='3603795246'
from='jabber.galle.com.br'>)
XMPP::Conn: Connect: connection made
XML::Stream: SetCallBacks: tag(node) func(CODE(0x875a928))
[13:18:29] Bandersnatch: Connected to Jabber server (localhost) ...
    DBI::db=HASH(0x87db580) trace level set to 0x0/2 (DBI @ 0x0/0) in
DBI 1.48-nothread (pid 12845)
[13:18:29] Bandersnatch: Connected to MySQL database
(bandersnatch1 at data.galle.com.br) ...
    -> prepare for DBD::mysql::db (DBI::db=HASH(0x87bebac)~0x87db580
'UPDATE user SET user_status = 'offline'')
dbd_st_prepare calling count_params (counting params emulation)
    <- prepare= DBI::st=HASH(0x87db6c4) at bandersnatch line 365
    -> execute for DBD::mysql::st (DBI::st=HASH(0x87db6c4)~0x87db7a8)
    -> dbd_st_execute for 087db7d8
---> parse_params with statement UPDATE user SET user_status =
'offline' num params 0
mysql_st_internal_execute
    <- dbd_st_execute returning imp_sth->row_num 0
    <- execute= '0E0' at bandersnatch line 366
[13:18:29] Bandersnatch: Startup: Setting all users to offline in user table
    -> DESTROY for DBD::mysql::st (DBI::st=HASH(0x87db7a8)~INNER)
    <- DESTROY= undef at bandersnatch line 179
XML::Stream: Send: ( )

the last line repeats a lot of times.

About pyICQt, I got this:

root at news:/var/pkg/bandersnatch-0.3# 10/11/05 - 13:19:19 -  Debug
logging enabled.
10/11/05 - 13:19:20 -  Debug logging enabled.
10/11/05 - 13:19:20 -  Config: Created configuration entity
10/11/05 - 13:19:20 -  Reading config option jid = icq.jabber.galle.com.br
10/11/05 - 13:19:20 -  Reading config option spooldir = /tmp
10/11/05 - 13:19:20 -  Reading config option pid = /var/jabberd/pid/pyicq2.pid
10/11/05 - 13:19:20 -  Reading config option mainServer = 127.0.0.1
10/11/05 - 13:19:20 -  Reading config option port = 5348
10/11/05 - 13:19:20 -  Reading config option secret = xpto
10/11/05 - 13:19:20 -  Reading config option websecret = letmein
10/11/05 - 13:19:20 -  Reading config option lang = en
10/11/05 - 13:19:20 -  Reading config option encoding = iso-8859-1
10/11/05 - 13:19:20 -  Reading config option icqServer = login.icq.com
10/11/05 - 13:19:20 -  Reading config option icqPort = 5238
10/11/05 - 13:19:20 -  Reading config option disableRegister =
10/11/05 - 13:19:22 -  PyTransport: Service starting up
10/11/05 - 13:19:22 -  Discovery: Created discovery manager
10/11/05 - 13:19:22 -  Discovery: Adding feature support
"http://jabber.org/protocol/disco" "None"
10/11/05 - 13:19:22 -  Discovery: Adding identity "gateway" "icq" "ICQ
Transport"
10/11/05 - 13:19:22 -  Discovery: Adding feature support
"jabber:iq:gateway" "<bound method GatewayTranslator.incomingIq of
<misciq.GatewayTranslator instance at 0x852d82c>>"
10/11/05 - 13:19:22 -  Discovery: Adding feature support
"jabber:iq:version" "<bound method VersionTeller.incomingIq of
<misciq.VersionTeller instance at 0x852daac>>"
10/11/05 - 13:19:22 -  PyTransport: Disconnected from main Jabberd server
10/11/05 - 13:19:24 -  PyTransport: Disconnected from main Jabberd server

Anybody have this working? I made a lot of different things and
nothing happens, i'm going crazy... =)

thanks a lot
--
Renato Botelho
ICQ: 54596223
AIM: RBGargaBR



More information about the JAdmin mailing list