I wanted to setup a simple jabber server to enable chat with my team. Everything went smoothly until the point I wanted to create conference rooms.
When I run ejabberdctl with no parameters, the option create_room does not appear in the list, and if I run ejabberdctl create_room test I get the following response:
Error: command "create_room" not known.
My config file (/etc/ejabberd/ejabberd.cfg) is as following:
%% Admins of this server are also admins of MUC service:
{access, muc_admin, [{allow, admin}]}.
%% All users are allowed to use MUC service:
{access, muc, [{allow, all}]}.
{mod_muc, [
%%{host, "conference.@HOST@"},
{access, all},
{access_create, all},
{access_persistent, all},
{access_admin, muc_admin},
{max_users, 500}
]},
You need to add
mod_muc_admin: []
to yourejabberd.yml
file. You don't needmod_admin_extra
(but if you wanted that, you'd need to enable it inejabberd.yml
as well). These modules are now included with ejabberd and don't need installing separately.This worked for me on 15.06.