ejabberdctl not found in bash Ubuntu(installing ejabberd)
Here is the site I tried to use as a manual:
How To Install eJabberd XMPP Server on Ubuntu | DigitalOcean
I was trying to install ejabberd with applying the tutorials in many site to my VM which is ubuntu but I am stuck in the beginning. After I wrote
sudo apt-get update
sudo apt-get -y install ejabberdit installs ejabberd. But when I try to write the following
ejabberdctl register admin localhost mypasswordit says ejabberdctl not found. I also tried to restart it with but it is still same.
sudo service ejabberd restart 1 Answer
ejabberdctl is owned by root with 550 permissions installed in /usr/sbin meaning that non-root users can not execute the binary. Try:
sudo ejabberdctl register admin localhost mypasswordsudo elevates your privileges to root in that terminal (after entering a password) thus giving you access to the binary.