Ejabberdctl doesn't work

Hello,
It's the first time I install a Jabber server. I'm on Debian 3.1 and I compiled erlang and ejabberd 1.0 lately. I'm able to start the server and it works perfectly (I can connect through a client). But unfortunately, I've got some problems of host I think.

When I try to execute ejabberctl, it does that

Master01:/var/lib/ejabberd/ebin# sh ejabberdctl ejabberd@maximead.is-a-geek.com status
Can't get node 'ejabberd@maximead.is-a-geek.com' status: nodedown

Quote:

=ERROR REPORT==== 8-Jan-2006::10:21:45 ===
** System NOT running to use fully qualified hostnames **
** Hostname maximead.is-a-geek.com is illegal **

Okay, that's cool. I searched on the web and found that I have to say the hostname that «hostname -s» return.

So:

Quote:

Master01:/var/lib/ejabberd/ebin# hostname -s
localhost

So:

Quote:

Master01:/var/lib/ejabberd/ebin# sh ejabberdctl ejabberd@localhost status
Can't get node ejabberd@localhost status: nodedown

=ERROR REPORT==== 8-Jan-2006::10:24:10 ===
Error in process <0.34.0> on node 'ejabberdctl@localhost' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@localhost.localdomain"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}

Now I don't know what to do. If someone could help me, it would be cool :)!
Thanks

Ok, I know the solution: I

Ok, I know the solution:
I executed ejabberd with the command :

Quote:

erl -pa /var/lib/ejabberd/ebin -name ejabberd -s ejabberd

but it needs

Quote:

erl -pa /var/lib/ejabberd/ebin -sname ejabberd -s ejabberd

Maxime Amyot-Desmarais
http://maximead.is-a-geek.com:8080/maximead

Syndicate content