[ejabberd] Create pid file error

Konstantin Khomoutov flatworm at users.sourceforge.net
Fri Dec 30 14:10:31 MSK 2011


On Fri, 30 Dec 2011 16:20:52 +0600
Alexander Kuleshov <kuleshovmail at gmail.com> wrote:

> I try to run ejabberd with pid file:
> 
> sudo ejabberdctl start --write-pid /var/run/ejabberd/ejabberd.pid
> 
> But i get error:
> 
> Failed RPC connection to the node ejabberd at localhost: {'EXIT',
> {badarg, [{ets,lookup, [local_config, ejabberdctl_access_commands]},
> {ejabberd_config,
>   get_local_option,1}, {ejabberd_ctl, get_accesscommands, 0},
> {ejabberd_ctl, process,1}, {rpc, '-handle_call_call/6-fun-0-', 5}]}}
> 
> How can i run ejabberd with pid file?
Do you get the same error with just plain "sudo ejabberdctl start"?


More information about the ejabberd mailing list