【问题标题】:How to access ejabberd web console after connecting it to mysql?连接到mysql后如何访问ejabberd Web控制台?
【发布时间】:2014-01-15 22:30:49
【问题描述】:

我是 ejabberd 的新手。我已将 ejabberd 连接到 mysql。用户注册成功,但我无法访问 ejabberd Web 控制台。它在 ejabberdctl live 上给出错误-

W(<0.348.0>:ejabberd_web_admin:224) : Access of "admin" from "127.0.0.1" failed with error:  "bad-password"

我已使用以下命令注册管理员,并且已成功在 mysql 中注册用户。

ejabberdctl register admin localhost password

我更改为连接mysql的ejabberd.cfg文件的行如下-

{auth_method, odbc}.
%% To use both anonymous and internal authentication:
{host_config, "public.example.org", [{auth_method, [odbc, anonymous]}]}.
{odbc_server, "DSN=testing;UID=root;PWD=india"}.
{acl, admin, {user, "admin", "localhost"}}.

{mod_last_odbc,     []},
{mod_offline_odbc,  [{access_max_user_messages, max_user_offline_messages}]},
{mod_privacy_odbc,  []},
{mod_private_odbc,  []},
{mod_pubsub_odbc,   [
              {access_createnode, pubsub_createnode},
              {ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant
              %%{ignore_pep_from_offline, false},  % XEP compliant, but increases resource comsumption
              {last_item_cache, false},
              {plugins, ["flat", "hometree", "pep"]}  % pep requires mod_caps
             ]},
{mod_roster_odbc,   []},
{mod_vcard_odbc,    []},

请回答。我陷入了这个问题。

在使用-ejabberdctl live启动ejabberd时,还会显示以下报告-

=INFO REPORT==== 2013-12-29 16:48:05 ===
I(<0.40.0>:cyrsasl_digest:44) : FQDN used to check DIGEST-MD5 SASL authentication:

它对身份验证有什么影响吗?我正在使用 ejabberd- 2.1.12 和 mysql 5.5

【问题讨论】:

  • 如果您仔细阅读,它会说您的密码错误。在你拔头发之前,请检查你的密码,空格/大写。
  • 我已经检查过了...它是正确的。我不知道为什么它会给出密码错误
  • 我添加了更多有问题的信息...请帮助...

标签: mysql xmpp ejabberd


【解决方案1】:

从源“otp_src_R15B”重新安装 erlang 后,我的问题得到了解决。 erlang 出现问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-05-02
    • 1970-01-01
    • 2020-03-05
    • 1970-01-01
    • 2014-11-26
    • 2023-01-18
    • 2012-09-23
    • 2017-02-21
    相关资源
    最近更新 更多