[ejabberd] Cannot run ejabberdctl as root on 17.07

Michael Guerrero 4mguerrero at gmail.com
Sun Jul 23 02:09:27 MSK 2017


llo everyone I live in the United States and I can only keep the server jabber for two days after it falls ,node down.

Sent from my iPhone

> On Jul 16, 2017, at 5:19 PM, Marvin Gülker <m-guelker at phoenixmail.de> wrote:
> 
> Hi,
> 
> today I updated ejabberd from 17.04 straight to 17.07 (which by the way
> was not announced on this mailinglist, only on the blog[1]) and now I'm
> unable to run the `ejabberdctl' command as root.
> 
> I compiled ejabberd with the option `--enable-user=ejabberd', so I tried
> to run the command as user `ejabberd', and that works. I'm puzzled by
> that. Is this a bug?
> 
> Sample invocation:
> 
>    # ejabberdctl status
>    ERROR: This command can only be run by root or the user ejabberd
>    # whoami
>    root
> 
> I *am* root. The very same command succeeds if run as user ejabberd:
> 
>    $ ejabberdctl status
>    The node ejabberd at localhost is started with status: started
>    ejabberd 17.07 is running in that node
>    $ whoami
>    ejabberd
> 
> Any hints are appreciated.
> 
> Marvin
> 
> [1]: https://blog.process-one.net/ejabberd-17-07/
> 
> -- 
> Blog: https://www.guelkerdev.de
> PGP/GPG ID: F1D8799FBCC8BC4F
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd


More information about the ejabberd mailing list