Help with host/node error

Hi there,
this is my first post to the forums and I understand this question was asked several time but this is my second week workin on the config files still cannot get it going. I really need some help.

OS: FreeBSD 6
ejabberd : 1.0.0
erlang-r10b9,1

hostname -s :jabber
sockstat -4:
ejabberd ssl_esock 529 4 tcp4 127.0.0.1:63844 *:*
ejabberd beam 489 6 tcp4 *:54411 *:*
ejabberd beam 489 7 tcp4 127.0.0.1:61567 127.0.0.1:4369
ejabberd beam 489 10 tcp4 *:5222 *:*
ejabberd beam 489 11 tcp4 *:5223 *:*
ejabberd beam 489 13 tcp4 *:5269 *:*
ejabberd beam 489 14 tcp4 *:5280 *:*
ejabberd beam 489 15 tcp4 *:8888 *:*
ejabberd epmd 473 3 tcp4 *:4369

jabber# ejabberdctl ejabberd@jabber status
Can't get node ejabberd@jabber status: nodedown

=ERROR REPORT==== 9-Feb-2006::22:00:35 ===
** System running to use fully qualified hostnames **
** Hostname jabber is illegal **

jabber# ejabberdctl ejabberd@jabber.tachouconsulting.com status
Can't get node 'ejabberd@jabber.tachouconsulting.com' status: nodedown

=ERROR REPORT==== 9-Feb-2006::22:01:34 ===
Error in process <0.33.0> on node 'ejabberdctl@jabber.tachouconsulting.com' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@jabber"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}

% Host name:
%{hosts, ["localhost"]}.
{hosts, ["jabber.tachouconsulting.com"]}.

Can someone give me a hint?

Thanks

Check the script that starts

Check the script that starts ejabberd, which option does it use, either -name or -sname.

Then check on ejabberd logs what is the final Erlang node name. Something like myejabberd@myhostname.

With all that information, edit your ejabberdctl shell script to use -name or -sname (to match ejabberd start script), and when executing ejabberdctl put the correct Erlang node name.

Note that all this is not related in any way to which Jabber domains do you plan to serve (jabber.myserver.com ...)

Help with host/node error

Hi, thanks for your help but I tried both with -name and -sname

with -name: erlang shows the hostname.domain
with -sname: only hostname

I even tried to replace the hostname in the config file, still out of luck.

Syndicate content