2

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}
         ]},
4

2 回答 2

3

您需要添加mod_muc_admin: []到您的ejabberd.yml文件中。你不需要mod_admin_extra(但如果你想要,你也需要启用它ejabberd.yml)。这些模块现在包含在 ejabberd 中,不需要单独安装。

这在 15.06 对我有用。

于 2015-07-19T09:35:25.537 回答
1

您需要启用 mod_admin_extra。

此外,如果您运行 15.04 之前的 ejabberd 版本,您还需要手动安装和编译该模块。

于 2015-06-27T09:08:06.660 回答