ejabberd fails to start on Debian-lenny

I have run apt-get install ejabberd from the command line (the only access I have to the server). Everything seems to install fine, but the server fails to start. I have also tried to download the latest (2.1.8) binary installer, and it still wouldn't start (both 32 and 64 bit versions, just in case).

[~]$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 5.0.8 (lenny)
Release:        5.0.8
Codename:       lenny

[~]$ uname -a
Linux ps39634 2.6.33.7-vs2.3.0.36.30.4 #23 SMP Tue Sep 28 05:47:35 PDT 2010 x86_64 GNU/Linux

[~]$ sudo /etc/init.d/ejabberd start
Starting jabber server: ejabberd............................................................ failed.

After running the above /etc/init.d/ejabberd start command there are processes that have been started:

[~]$ ps -Af
UID        PID  PPID  C STIME TTY          TIME CMD
...
root     30402     1  0 16:43 ?        00:00:00 /usr/lib/erlang/erts-5.6.3/bin/epmd -daemon
ejabberd 31857     1  0 16:45 ?        00:00:00 /usr/lib/erlang/erts-5.6.3/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -sname ejabberd -pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc "/etc/ejabberd/in
ejabberd 31957 31857  0 16:45 ?        00:00:00 inet_gethost 4
ejabberd 31958 31957  0 16:45 ?        00:00:00 inet_gethost 4

[~]$ sudo /usr/sbin/ejabberdctl status
Killed

There are no errors reported in /var/log/ejabberd/ejabberd.log, but a crash dump at /var/log/ejabberd/erl_crash.dump is generated.

I have found the following links and have tried all the suggested resolutions, to no avail:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516718
http://www.whichgame.com.cn/?p=92

I'm fairly new new to ejabberd (with the exception of getting it installed fine on a WinXP and Ubuntu 10.4 development machines), and I've never touched erlang before, so if there's something I'm missing please let me know.

Any suggestions?

"Everything seems to install

"Everything seems to install fine, but the server fails to start."

Maybe you got this: http://www.ejabberd.im/error/duplicate_name

I don't think that I have the

I don't think that I have the same problem. After running "ps -Af | grep jab". I sudo kill any beam or epmd processes before I try to start ejabberd up again. Is there's a better test?

barhorn wrote: I don't think

barhorn wrote:

I don't think that I have the same problem. After running "ps -Af | grep jab". I sudo kill any beam or epmd processes before I try to start ejabberd up again. Is there's a better test?

The erl_crash.dump that you shared points to what I suggested. Search for processes called "beam", "beam.smp" and "epmd".

Honestly, I gave up trying to

Honestly, I gave up trying to get it work on that server (a VPS on Dreamhost) and just set up another server with ejabberd 1.1.8 and installed Punjab on my main server to redirect. Everything seems to be working OK there.

Is there any chance of including a *NIX init script for Punjab in the future?

barhorn wrote: Is there any

barhorn wrote:

Is there any chance of including a *NIX init script for Punjab in the future?

I see only one way: you experiment, gather knowledge, write the script, test it, and send it to the developer to publish it.

Syndicate content