ejabberdctl fault....

Aftr having trouble with JWChat for many days, I've begun tracing the source of the problem. ejabberdctl gives the follow fault when I try to exec after a rebuild::

root@sage:/usr/ports/net-im/ejabberd# !ej
ejabberdctl
{"init terminating in
do_boot",{badarg,[{ets,match_object,[ejabberd_ctl_cmds,'_']},{ets,tab2list,1},{e
jabberd_ctl,print_usage,0},{ejabberd_ctl,start,0},{init,start_it,1},{init,start_
em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

I have the core/dump file on my DNS server. I'm running FBSD 5.5. So far, no other problems. I've rebuilt the compiler once; will try again. I'm trying to get a web-chat page up on my primary nameserver that runs apache-1.3.

thanks for any insights,

gary kline

Solution: provide the node name

I find the same problem, and the solution is to provide the ejabberd node name where you want to execute the command, because depending on the ejabberd node, it could have more or less commands available:

$ ./ejabberdctl
{"init terminating in do_boot",{badarg,[{ets,match_object,[ejabberd_ctl_cmds,'_']},{ets,tab2list,1},{ejabberd_ctl,print_usage,0},{ejabberd_ctl,start,0},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


$ ./ejabberdctl ejabberd2@localhost
Usage: ejabberdctl node command

Available commands:
...
Syndicate content