inet_gethost is causing us problems. We can turn it off by using -name instead of -sname in the init script.
Now on Debian x86:
Seems to run fine, using external authentication, check_mysql.pl script. - In the perl script, I had to use absolute reference for the external file reference in the mysql command.
Wow ejabbedb was so much easier to get installed, configured and running on debian.
ejabberd was difficult to get installed on a gentoo box. The ebuilds are too old!
First thing that dawned on me was that Erlang is a programming language. Ejabberd is written in erlang, and is called by erl, the erlang command. The ejabberd and ejabberdctl commands are just shell scripts which call erlang in a compact manner for you.
ejabberd-0.7.5.ebuild on gentoo ~amd64 - no go
ejabberd-1.0.0.ebuild on gentoo ~amd64 - no go, could manually run, but init scripts didn't work, and when manually run, noone else could connect to the node
ejabberd from SVN source checkout - no go
ejabberd binary install - needed libncurses.so.5 compiled for 32bit, which I did, and it works!
trying to install ejabberd on gentoo is maddening. I've resorted to using a binary install but it can't find libncurses.so.5, which is there, but is I guess compiled for 64 bit. argh.
Trying version 5.5....
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS="-L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" ./configure --prefix=/emul/linux/x86 --with-shared --without-debug
Looks like it worked....
Couple of things to remember about ejabberd:
Trying to install ejabberd 0.9.1 on Gentoo 2.6 amd64 Intel XEON