Erlang ejabberd服务器未在windows中启动

Erlang ejabberd服务器未在windows中启动,erlang,xmpp,ejabberd,mnesia,Erlang,Xmpp,Ejabberd,Mnesia,我已经使用二进制安装程序在windows 8.1上安装了ejabberd 17.01,但当我尝试启动服务器时(使用桌面图标、bin dir中的start.cmd和ejabberdctl start),它会将我带到错误页面,但什么也没有发生 检查状态(使用ejabberdctl status)显示: The node ejabberd@localhost is started with status: started ejabberd is not running in that node

我已经使用二进制安装程序在windows 8.1上安装了ejabberd 17.01,但当我尝试启动服务器时(使用桌面图标、bin dir中的start.cmd和ejabberdctl start),它会将我带到错误页面,但什么也没有发生

检查状态(使用ejabberdctl status)显示:

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}}}}  
(ejabberd@localhost)1> 11:29:56.676[错误]无法打开日志文件C:/ProgramData/ejabberd/logs/ejabberd.log,错误权限被拒绝
11:29:56.676[错误]无法打开日志文件c:/ProgramData/ejabberd/logs/error.log,错误权限被拒绝
11:29:56.951[信息]节点上的应用程序已启动ejabberd@localhost  
11:29:56.964[信息]已在节点上启动应用程序加密ejabberd@localhost  
11:29:56.976[信息]应用程序sasl已在节点上启动ejabberd@localhost  
11:29:56.999[信息]应用程序asn1已在节点上启动ejabberd@localhost  
11:29:56.999[信息]应用程序公钥已在节点上启动ejabberd@localhost  
11:29:57.015[信息]应用程序ssl已在节点上启动ejabberd@localhost  
11:29:57.036[信息]节点上已启动应用程序fast\u yamlejabberd@localhost  
11:29:57.067[信息]节点上已启动应用程序快速\u tlsejabberd@localhost  
11:29:57.096[信息]节点上已启动应用程序快速xmlejabberd@localhost  
11:29:57.104[信息]节点上已启动应用程序p1\u utilsejabberd@localhost  
11:29:57.111[信息]已在节点上启动应用程序stringprepejabberd@localhost  
11:29:57.113[信息]节点上已启动应用程序xmppejabberd@localhost  
11:29:57.137[信息]节点上已启动应用程序缓存\u选项卡ejabberd@localhost  
11:29:57.152[错误]无法打开崩溃日志文件c:/ProgramData/ejabberd/logs/crash.log,错误为:权限被拒绝
11:29:57.181[信息]节点上已启动应用程序elixirejabberd@localhost  
11:29:57.238[错误]具有0个邻居的崩溃报告进程退出,原因是:{应用程序主机:init/4第134行中的{已中止,{“无法读取架构”,“c:/ProgramData/ejabberd/database/mnesia/schema.DAT”,“c:/ProgramData/ejabberd/database/mnesia/schema.DAT”,“eacces}}}}}}
11:29:57.238[信息]应用程序ejabberd退出,原因为:{中止,{“无法读取架构”,“c:/ProgramData/ejabberd/database/mnesia/schema.DAT”,“错误,{file_error”,“c:/ProgramData/ejabberd/database/mnesia/schema.DAT”,eacces}
我认为问题出在mnesia数据库模式中,你知道如何解决吗

我几乎到处寻找这个问题,但与记忆模式问题无关

我卸载并重新安装了ejabbred三次,但都是相同的问题。
请帮我修一下。我对ejabbred是新手。

提前感谢。

eacces
建议ejabberd作为运行的用户没有访问
c:/ProgramData/ejabberd/database/mnesia/schema.DAT的权限。可能是这样吗?将ejabberd文件夹的权限更改为完全控制。右键单击属性>安全性>高级>更改权限