eJabberd Debug Commands

NAME

       ejabberdctl — a control interface of ejabberd Jabber/XMPP server

SYNOPSIS

       ejabberdctl [--node nodename] [--auth user host password] [command [options]]

DESCRIPTION

       ejabberdctl   is  a  front end to the ejabberd Jabber/XMPP server.  It is designed to help
       the administrator control the functioning of the running ejabberd daemon.

       This command must be run either by a superuser or by the user ejabberd, otherwise it  will
       fail to start or to connect to the ejabberd instance.

OPTIONS

       --node nodename
              Specifies remote Erlang node to connect to. Default value is ejabberd.  If the node
              name does not contain a symbol @ then the actual node name becomes node@host  where
              host is short hostname (usually it coincides with `hostname -s`).  If the node name
              contains a symbol @ and its hostname part is a FQDN  then  ejabberd  will  use  so-
              called long names (see erl(1) manual page and look for options -name and -sname for
              details).

              Examples of --node option:

              ejabberd Connect to locally run ejabberd server at node ejabberd@`hostname -s`.

              ejabberd@otherhost   Connect   to   remotely   run   ejabberd   server   at    node
              ejabberd@otherhost.

              ejabberd@localhost    Connect    to   locally   run   ejabberd   server   at   node
              ejabberd@localhost.

              ejabberdctl honors ERLANG_NODE environment variable from /etc/default/ejabberd, see
              below.

       --auth user host password
              If  restriction  of access to ejabberdctl commands is configured (see the "Restrict
              Execution with AccessCommands" section in the Installation  and  Operation  Guide),
              this  option  must  be  used to authenticate the entity requesting execution of the
              command.  user and host are the respective parts of the entity JID and password  is
              either  a  plain  text  password  to  authenticate that JID or the MD5 hash of that
              password.

       --concurrent
              Due to the way ejabberdctl is implemented, it is normally not possible to  run  two
              instances  of it in parallel–the second one will fail.  This is OK in a common case
              when ejabberdctl is only run manually from time to time by a server  administrator;
              if, conversely, there is a chance for several instances of ejabberdctl to be active
              at the same time (say, automated registration of new  users  on  an  actively  used
              site),  you  can  pass  the --concurrent option to ejabberdctl which will ensure no
              clash will ever occur.

              Usage of  the  --concurrent  option  creates  additional  pressure  on  the  server
              resources,  and  that  is why the behaviour it implements is not the default.  This
              issue is described in more detail in /usr/share/doc/ejabberd/README.Debian

              Note that the semantics of this option can be changed in a future release.

COMMANDS

EXTRA OPTIONS

NOTES

OPTIONS FILE

FILES

SEE ALSO

AUTHORS

Last updated

Was this helpful?