Ejabberd in Windows - getting started

I am using Exodus as my jabber client. Whenever I try signing on, and it doesn't matter if I try signing on as a new user or not, I can't get connected. In my Erlang screen, I am getting several:

=ERROR REPORT==== 23-Jun-2006::08:58:59 ===
Mnesia(ejabberd@vlaytonxp560l): ** WARNING ** Mnesia is overloaded: {dump_log,
time_threshold}

followed by a single instance of:

=INFO REPORT==== 23-Jun-2006::09:30:06 ===
I(<0.224.0>:ejabberd_listener:90): (#Port<0.351>) Accepted connection {{127,0,0,
1},3134} -> {{127,0,0,1},5222}

=ERROR REPORT==== 23-Jun-2006::09:30:07 ===
** Generic server <0.675.0> terminating
** Last message in was {tcp,#Port<0.351>,
<<" ient\" xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\" >">>}
** When Server state == {state,#Port<0.351>,
gen_tcp,
none,
<0.674.0>,
infinity,
{xml_stream_state,
<0.674.0>,
#Port<0.352>,
[],
0,
infinity},
infinity}
** Reason for termination ==
** {badarg,[{erlang,binary_to_term,
[<<0,0,0,0,131,108,0,0,0,1,104,2,97,0,104,2,107,0,13,115,116
,114,101,97,109,58,115,116,114,101,97,109,108,0,0,0,4,104,2,107,0,2,116,111,107,
0,9,108,111,99,97,108,104,111,115,116,104,2,107,0,5,120,109,108,110,115,107,0,13,106,97,98,98,101,114,58,99,108,105,101,110,116,104,2,107,0,12,120,109,108,110,1
15,58,115,116,114,101,97,109,107,0,32,104,116,116,112,58,47,47,101,116,104,101,1
14,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114,101,97,109,115,104,
2,107,0,7,118,101,114,115,105,111,110,107,0,3,49>>]},
{xml_stream,parse,2},
{ejabberd_receiver,process_data,2},
{ejabberd_receiver,handle_info,2},
{gen_server,handle_msg,6},
{proc_lib,init_p,5}]}

I have no clue what is going on or where to begin solving this problem.

Thanks for any advice anyone can give me!

ejabberd-1.1.1-windows built with Erlang R10B

This issue seems to keep coming up. For example:

http://www.ejabberd.im/node/852
http://www.ejabberd.im/node/854

I'm going to guess that you're running ejabberd under Windows 2K/XP, and that more than likely you downloaded/installed Erlang R11B-0 and ejabber 1.1.1 using their binary installers.

The issue is that the current Windows binary of ejabberd--still ejabberd-1.1.1-windows (released 2006-04-28) as I write this--was built with Erlang R10-B it seems. The error message

...
** Reason for termination ==
** {badarg,[{erlang,binary_to_term...
...

is the tipoff it seems.

Anyway, your solution for now, especially if you're on Windows, is to either uninstall Erlang R11B-0 and install R10B-10, or to download the source code for ejabberd and compile it with R11B-0. The former is your best bet if you're not inclined to compile your own code; the latter if you are. At least until the Windows binary installer of ejabberd is recompiled using Erlang R11B.

Hope this helps.

RE: ejabberd-1.1.1-windows built with Erlang R10B

Thank you so much, fseesink! This did fix the problem. I had actually downloaded Erlang R10B based off of http://www.ejabberd.im/node/854, but I neglected to uninstall Erlang R11B and change where ejabberd looked for Erlang, so I still ran into the same problem. If anyone out there is as computer ignorant as I am, it is going to be easier to uninstall everything you just downloaded (including ejabberd) and start over, making sure that this time you download Erlang R10B-10 instead of the latest version, unless they fix ejabberd 1.1.1 to work with the latest Erlang.

I hope this helps future users. :)

I've temporary changed the

I've temporary updated the download URL so that it directly points to a working Erlang binary.

--
sander

Syndicate content