[ejabberd] Re: ejabberdctl question

Bill Brazell bill.brazell at cingular.com
Fri Aug 12 18:58:18 MSD 2005


Randy Bush <randy <at> psg.com> writes:

> 
> % ejabberdctl ejabberd <at> work0.psg.com registered-users
> Can't get list of registered users on node 'ejabberd 
<at> work0.psg.com': nodedown
> 
> =ERROR REPORT==== 11-Aug-2005::17:38:16 ===
> ** System NOT running to use fully qualified hostnames **
> ** Hostname work0.psg.com is illegal **
> 
> % ejabberdctl ejabberd <at> work0 registered-users
> Can't get list of registered users on node ejabberd <at> work0: nodedown
> 
> hit me with the clue-by-four, please
> 
> randy
> 
#!/bin/sh

export HOME=/home/ejabberd

exec /usr/local/bin/erl -noinput 
-name ejabberdctl 
-s ejabberd_ctl 
-pa /usr/local/ejabberd/src/ -extra $@

Place a copy somewhere in the path such as in
/usr/local/bin and make sure that
the HOME variable points to ejabberd's home.
Also, make sure that you use
-sname if you started ejabberd using short names, 
otherwise, leave it as is
for
FQDN.

Hope that helps!





More information about the ejabberd mailing list