Install Bandersnatch to log Messages

Warning: this tutorial is not yet complete. Disclaimer: This article provided AS IS. Author is not responsible for any damages, upsets or idiosyncrasies caused by this article.
  1. Install Net::Jabber

    Get the latest Net::Jabber with all requirements. There are several ways, use your favourite:

    • apt on debian

      apt-get install libnet-jabber-perl
    • FreeBSD

      cd /usr/ports/net/p5-Net-Jabber && make all install clean
  2. Get Bandersnatch

    svn co
    cd bandersnatch
  3. Configure ejabberd

    Edit ejabberd.cfg and add this line to the 'modules' section:

    {mod_service_log, [{loggers, [""]}]},

    Add this to 'listen' section to make ejabberd listen for Bandersnatch connections:

    {5526, ejabberd_service, [{ip, {127, 0, 0, 1}}, {access, all}, 
                              {hosts, [""], 
                              [{password, "secret"}]}]},
  4. Create Bandersnatch database

    Read doc/bandersnatch.html and create database:

    mysql -u root -pPASSWORD bandersnatch < bandersnatch.sql
  5. Configure Bandersnatch

    Check config.xml to make sure that we're going to use the same name/secret/port as in ejabberd.cfg.

  6. Restart ejabberd

  7. Start Bandersnatch

    Run the script:

    perl bandersnatch config.xml

Related Links

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Bandersnatch dead?

It looks like bandersnatch is dead: wrote:

NOTICE: This domain name expired on 11/28/2010 and is pending renewal or deletion

bandersnatch package was removed from debian in 2008 -

Is there any alternative?

Bandersnatch Alternative

Bandersnatch doesn't seem to be supported anymore. Has another utility taken its place?

I just discovered a Guide to

I just discovered in the Ubuntu forums a guide to Install Bandersnatch and ejabberd under Ubuntu.


Step #3 is deprecated.

Step #3 is deprecated. Also, the source of bandersnatch has been changed to SVN repo:

Host not found

$ host
Using domain server:

Host not found: 3(NXDOMAIN)

Ok, changes done.

Ok, changes done.

Syndicate content