Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 16:27:28 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   ejabberd + Bandersnatch?
Message-ID:  <200512161627.31571.kirk@strauser.com>

next in thread | raw e-mail | index | archive | help
--nextPart3218093.BhiVzUTnNM
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have ejabberd (version 0.9.8 from ports) running inside a jail on my
=46reeBSD 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 124=
6)
2 -> _child (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Kernel.pm at 125=
6)
    DBI::db=3DHASH(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/J=
abber/Client/J2.pm at 447)
Connected to MySQL database (bandersnatch@jail1.daycos.com) ...Socket error=
: read, 0,
2 -> error_event (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Component/J=
abber/Client/J2.pm at 194)
We got disconneted
2 -> _child (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Resource/Session=
s.pm at 493)
2 -> _stop (from /usr/local/lib/perl5/site_perl/5.8.7/POE/Resource/Sessions=
=2Epm at 483)
!   -> DESTROY for DBD::mysql::db (DBI::db=3DHASH(0x87c3524)~INNER)
&imp_dbh->mysql: 806e060
!   <- DESTROY=3D 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,
=2D-=20
Kirk Strauser

--nextPart3218093.BhiVzUTnNM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iD8DBQBDoz9T5sRg+Y0CpvERAoBqAJ0Uv36twDYBhiAGGou6UfH6fSx27QCghHlD
p5Tq8ZHxSewjVuQNOzrmY8U=
=6YAQ
-----END PGP SIGNATURE-----

--nextPart3218093.BhiVzUTnNM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512161627.31571.kirk>