ejabberd + Bandersnatch?

Kirk Strauser kirk at strauser.com
Fri Dec 16 14:27:36 PST 2005


I have ejabberd (version 0.9.8 from ports) running inside a jail on my
FreeBSD 6-STABLE server.  I'm trying to get Bandersnatch to run inside
the same jail, but logging to a MySQL database inside a different jail.

I've verified that I can use the mysql command line client to connect to
the server, and triple-checked Bandersnatch's config.xml, but when I try
to run it, I get some rather unhelpful error messages:

# ./bandersnatch2.pl config.xml
2 -> _start (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Kernel.pm at 1246)
2 -> _child (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Kernel.pm at 1256)
    DBI::db=HASH(0x87c3524) trace level set to 0x0/2 (DBI @ 0x0/0) in DBI 1.49-nothread (pid 40431)
Server Error: read: 0 ->
2 -> error_event (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Component/Jabber/Client/J2.pm at 447)
Connected to MySQL database (bandersnatch at jail1.daycos.com) ...Socket error: read, 0,
2 -> error_event (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Component/Jabber/Client/J2.pm at 194)
We got disconneted
2 -> _child (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Resource/Sessions.pm at 493)
2 -> _stop (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Resource/Sessions.pm at 483)
!   -> DESTROY for DBD::mysql::db (DBI::db=HASH(0x87c3524)~INNER)
&imp_dbh->mysql: 806e060
!   <- DESTROY= undef during global destruction


I can't make heads or tails of this.  Is that a MySQL error?  A ejabberd
error?  A Bandersnatch bug?

My next step is to hit the Bandersnatch mailing list, but I thought I'd see
if anyone else running FreeBSD had worked through this error already.

Thanks,
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051216/980b22a4/attachment.bin


More information about the freebsd-questions mailing list