You are not logged in.
Pages: 1
Hey everyone,
I have a small issue with ejabberdctl. Running
# ejabberdctl startand afterwards
# ejabberdctl statusgives me
The node ejabberd@localhost is started with status: started
ejabberd 0.0 is running in that nodewhich is fine except that it's running under root (the node says localhost because I'm running the daemon only locally). The systemd service corrects this by setting user to a designated user called ejabberd. However this brings up new issues since
# systemctl start ejabberd
# ejabberdctl statusnow gives me
Failed RPC connection to the node ejabberd@localhost: nodedownand an entry in /var/log/error.log
Connection attempt from disallowed node 'ctl-ejabberd@localhost'which is less than perfect. Ejabberd actually starts just fine under the user ejabberd but it only seems to be usable under this user, e.g. this works just fine:
# runuser -u ejabberd ejabberdctl statusI'm not sure where the issue lies, I'd have thought root can do just about anything. I checked the forums and searched the net but didn't find an answer. Some posts mentioned there might be some issue with erlang's cookies but I really didn't understand it. I'd expect this to be a general issue, then again it might just be me doing something wrong.
Any help is appreciated in advance.
Offline
Pages: 1