ejabberdctl命令"create_room"未知 [英] ejabberdctl command "create_room" not known

查看:184
本文介绍了ejabberdctl命令"create_room"未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设置一个简单的jabber服务器来与我的团队聊天.一切进展顺利,直到我要创建会议室为止.

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.

当我不使用任何参数运行ejabberdctl时,选项create_room不会出现在列表中,并且如果我运行 ejabberdctl create_room测试,我将得到以下响应:

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:

错误:命令"create_room"未知.

Error: command "create_room" not known.

我的配置文件(/etc/ejabberd/ejabberd.cfg)如下:

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

推荐答案

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

You need to add mod_muc_admin: [] to your ejabberd.yml file. You don't need mod_admin_extra (but if you wanted that, you'd need to enable it in ejabberd.yml as well). These modules are now included with ejabberd and don't need installing separately.

这对我来说适用于15.06.

This worked for me on 15.06.

这篇关于ejabberdctl命令"create_room"未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆