processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.03k stars 1.5k forks source link

Ejabberdctl command not found error returned #4022

Closed Vikram-ksingh closed 1 year ago

Vikram-ksingh commented 1 year ago

I have installed the ejabberd with run package ejabberd-23.01-1-linux-x64.run on ec2 instance. The status is showing active however the commands to create new user is not working. Following command returns error mentioned below

sudo ejabberdctl register admin bkstg adm1npass

sudo: ejabberdctl: command not found

Not sure what is the issue here, it worked properly on the local though. Please help to get it resolved.

licaon-kter commented 1 year ago

where is ejabberdctl installed? Find it :)

Vikram-ksingh commented 1 year ago

@licaon-kter find command showing it under ``/opt/ejabberd-23.01/bin/ejabberdctl

licaon-kter commented 1 year ago

Put that in path, and use it

Vikram-ksingh commented 1 year ago

@licaon-kter I am not much familiar with this, can you please guide with instruction or share an article on how to do it.

licaon-kter commented 1 year ago

Search for linux add a directory to PATH

But, if that's your very first issue you'll have way more problems going forward :(

/close this