我已经使用二进制安装程序在Windows 8.1上安装了ejabberd 17.01,但是当我尝试启动服务器时(使用桌面图标,bin目录中的start.cmd和ejabberdctl启动)它会将我带到错误页面并且没有任何反应。
检查状态(使用ejabberdctl状态)显示:
The node ejabberd@localhost is started with status: started
ejabberd is not running in that node
这是我的日志文件:
(ejabberd@localhost)1> 11:29:56.676 [error] Failed to open log file C:/ProgramData/ejabberd/logs/ejabberd.log with error permission denied
11:29:56.676 [error] Failed to open log file c:/ProgramData/ejabberd/logs/error.log with error permission denied
11:29:56.951 [info] Application lager started on node ejabberd@localhost
11:29:56.964 [info] Application crypto started on node ejabberd@localhost
11:29:56.976 [info] Application sasl started on node ejabberd@localhost
11:29:56.999 [info] Application asn1 started on node ejabberd@localhost
11:29:56.999 [info] Application public_key started on node ejabberd@localhost
11:29:57.015 [info] Application ssl started on node ejabberd@localhost
11:29:57.036 [info] Application fast_yaml started on node ejabberd@localhost
11:29:57.067 [info] Application fast_tls started on node ejabberd@localhost
11:29:57.096 [info] Application fast_xml started on node ejabberd@localhost
11:29:57.104 [info] Application p1_utils started on node ejabberd@localhost
11:29:57.111 [info] Application stringprep started on node ejabberd@localhost
11:29:57.113 [info] Application xmpp started on node ejabberd@localhost
11:29:57.137 [info] Application cache_tab started on node ejabberd@localhost
11:29:57.152 [error] Failed to open crash log file c:/ProgramData/ejabberd/logs/crash.log with error: permission denied
11:29:57.181 [info] Application elixir started on node ejabberd@localhost
11:29:57.238 [error] CRASH REPORT Process <0.41.0> with 0 neighbours exited with reason: {aborted,{"Cannot read schema","c:/ProgramData/ejabberd/database/mnesia/schema.DAT",{error,{file_error,"c:/ProgramData/ejabberd/database/mnesia/schema.DAT",eacces}}}} in application_master:init/4 line 134
11:29:57.238 [info] Application ejabberd exited with reason: {aborted,{"Cannot read schema","c:/ProgramData/ejabberd/database/mnesia/schema.DAT",{error,{file_error,"c:/ProgramData/ejabberd/database/mnesia/schema.DAT",eacces}}}}
我认为问题出现在mnesia数据库架构中,任何想法如何解决?
我几乎到处搜索问题,但没有任何与mnesia架构问题相关的内容。
我卸载并重新安装ejabbred 3次但同样的问题 请帮忙解决问题。我是ejabbred的新手 提前谢谢。