ejabberdctl
TLDR
Start ejabberd server
SYNOPSIS
ejabberdctl [options] command [args]
DESCRIPTION
ejabberdctl is the command-line administration tool for ejabberd, an open-source XMPP (Jabber) instant messaging server. It manages server operations, user accounts, and configuration.
The tool communicates with the running ejabberd node through Erlang RPC, allowing administration without accessing the web interface. It supports all administrative functions available through the web admin.
PARAMETERS
start
Start ejabberd server.stop
Stop ejabberd server.restart
Restart ejabberd server.status
Show server status.register user host password
Register new user.unregister user host
Remove user.registered_users host
List users on host.connected_users
List online users.kick_user user host
Disconnect user.reload_config
Reload configuration.backup file
Backup database.restore file
Restore database.
CAVEATS
Requires ejabberd to be installed and configured. Some commands need root privileges. Server must be running for most commands. Database changes may require restart. Erlang environment must be properly configured.
HISTORY
ejabberd was developed by Alexey Shchepin starting in 2002, written in Erlang for scalability and fault tolerance. It became one of the most widely deployed XMPP servers, used by WhatsApp and other messaging platforms at scale.
SEE ALSO
prosodyctl(1), ejabberd.yml(5), xmpp(7)


