ejabberdctl command not found

In this troubleshooting guide we learn how to fix ejabberdctl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ejabberdctl: command not found

or when using sudo you get the following error message

sudo: ejabberdctl: command not found

Solutions to ejabberdctl: command not found

How To Fix ejabberdctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ejabberdctl is provided by ejabberd package.

ejabberd is:

ejabberd is a Jabber/XMPP + MQTT + SIP server written in Erlang, featuring:

  • distributed operation with load-balancing across a cluster;
  • fault-tolerant database replication and storage on multiple nodes, allowing nodes to be added or replaced “on the fly”;
  • virtual hosting (several virtual domains can be served using a single ejabberd instance);
  • XMPP compliance;
  • MQTT 5 compliance;
  • SIP service;
  • web-based administration;
  • SSL/TLS support;
  • conferencing via Multi-User Chat;
  • Jabber Users Directory, based on users’ vCards;
  • service discovery;
  • shared roster.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ejabberd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ejabberd.

sudo apt -y install ejabberd

Or if you have aptitude installed you can use the following command.

sudo aptitude install ejabberd

Summary

In this tutorial we learn how to fix ejabberdctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.