ejabberdctl not found in bash Ubuntu(installing ejabberd)
<p>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</p>

<pre><code>sudo  apt-get update
sudo apt-get -y install ejabberd
</code></pre>

<p>it installs ejabberd. But when I try to write the following</p>

<pre><code> ejabberdctl register admin localhost mypassword
</code></pre>

<p>it says ejabberdctl not found. I also tried to restart it with but it is still same.</p>

<pre><code>sudo service ejabberd restart
</code></pre>

<p>Note: I did not install erlang seperately. Can it be the problem?</p>