【发布时间】: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
【问题讨论】:
-
如果您仔细阅读,它会说您的密码错误。在你拔头发之前,请检查你的密码,空格/大写。
-
我已经检查过了...它是正确的。我不知道为什么它会给出密码错误
-
我添加了更多有问题的信息...请帮助...