[ejabberd] ejabberdctl problems and bulkloading
sgolovan at nm.ru
Mon Dec 6 20:00:15 MSK 2004
On Mon, Dec 06, 2004 at 04:53:42PM -0000, James Tait wrote:
> Are you running ejabberdctl as the same user who is running ejabberd? ISTR
> that I got the same error when the Erlang Cookie for ejabberdctl didn't
> match that for ejabberd.
Yes, I forget about this cookie problem. In Debian ejabberd package
ejabberd runs from user ejabberd (HOME=/var/lib/ejabberd) and ejabberdctl
sets HOME environment variable to /var/lib/ejabberd if it's readable.
> I got around this by copying the file .erlang.cookie from /root into
> /etc/ejabberd, making it readable only by the user who runs ejabberd and
> ejabberdctl (user ejabberd in my case) and modifying my ejabberd start
> script to read the cookie value from there using the -setcookie option.
Sergei 'TeopeTuK' Golovan
More information about the ejabberd