"ejabberdctl start" does not work

Hey,

I can't get ejabberd to run anymore.

I've purged the current installation:
aptitude purge ejabberd

and then reinstalled it
aptitude install ejabberd

After that everything is running finde:

ejabberdctl status
The node ejabberd@euve22547 is started with status: started
ejabberd 2.1.5 is running in that node

Now I stop the whole thing, because I want to make some changes at the config file:

ejabberdctl stop
ejabberdctl status
Failed RPC connection to the node ejabberd@euve22547: nodedown

and if I try to start:

ejabberdctl start
Failed RPC connection to the node ejabberd@euve22547: nodedown

Why?

In Debian package,

In Debian package, ejabberdctl is not quite the same thing as in stock Process-One package, namely, it only can be used to access a running server. To start/stop the server you should use the regular OS methods:

# /etc/init.d/ejabberd {start|stop|restart}
or
# invoke-rc.d ejabberd {start|stop|restart}

Here are two answers,

Here are two answers, depending on your OS - Linux or Windows.

For Linux it is probably because you are executing ejabberdctl in a non-root acct. You ought to try: sudo ejabberdctl ....

For Windows: Check to see if you have ejabberd running as a service. If so, ejabberdctl will not work. What I do is make running ejabberd "manual" in the admin service screen. Then I stop it from inside the admin service screen. Afterward I can start, stop and control ejabberd using ejabberdctl.

Peace.

Syndicate content