在ejabberd 16.06 windows上安装mod_rest

时间:2016-08-17 07:22:41

标签: erlang ejabberd otp ejabberd-module

我在Windows上安装了ejabberd 16.06版本。安装成功,我需要安装mod_rest模块。

我按照以下步骤安装了模块以及可用的模块:

    C:\Program Files\ejabberd-16.06\bin>ejabberdctl modules_update_specs
    ok

    C:\Program Files\ejabberd-16.06\bin>ejabberdctl module_install mod_rest
    Problem 'error {case_clause,volumerelative}' occurred executing the command.
    Stacktrace: [{ejabberd_config,get_absolute_path,1,
                                  [{file,"src/ejabberd_config.erl"},{line,319}]},
                 {ejabberd_config,get_plain_terms_file,2,
                                  [{file,"src/ejabberd_config.erl"},{line,229}]},
                 {ejabberd_config,include_config_file,2,
                                  [{file,"src/ejabberd_config.erl"},{line,516}]},
                 {lists,flatmap,2,[{file,"lists.erl"},{line,1249}]},
                 {ejabberd_config,include_config_files,1,
                                  [{file,"src/ejabberd_config.erl"},{line,496}]},
                 {ejabberd_config,read_file,2,
                                  [{file,"src/ejabberd_config.erl"},{line,150}]},
                 {ejabberd_config,load_file,1,
                                  [{file,"src/ejabberd_config.erl"},{line,168}]},
                 {ext_mod,install,1,[{file,"src/ext_mod.erl"},{line,172}]}]

    C:\Program Files\ejabberd-16.06\bin>ejabberdctl modules_available
    atom_pubsub     Provides access to all PEP nodes via an AtomPub interface
    ejabberd_auth_http      Authentication via HTTP request
    ejabberd_mod_mam        Message Archive Management (XEP-0313)
    ejabberd_trace  Easy tracing of connections made to ejabberd
    ircd    IRC server frontend to ejabberd
    mod_archive     Supports almost all the XEP-0136 version 0.6 except otr
    mod_cron        Execute scheduled commands
    mod_grafite     Publishes Statistics via statsd/grafite
    mod_http_offline        POST offline messages to a web
    mod_log_chat    Logging chat messages in text files
    mod_logsession  Log session connections to file
    mod_logxml      Log XMPP packets to XML file
    mod_message_log Log one line per message transmission in text file
    mod_muc_log_http        Serve MUC logs on the web
    mod_openid      Transform the Jabber Server in an openid provider
    mod_post_log    Logs messages to an HTTP API
    mod_pottymouth  Filter bad words in messages
    mod_profile     User Profile (XEP-0154) in Mnesia table
    mod_rest        HTTP interface to POST stanzas into ejabberd
    mod_restful     RESTful API for ejabberd
    mod_s2s_log     Log all s2s connections in a file
    mod_shcommands  Execute shell commands
    mod_statsdx     Calculates and gathers statistics actively
    mod_webpresence Publish user presence information in the web

当我尝试安装模块时,它会抛出错误。我无法追查出了什么问题。 安装后,服务器不断崩溃,因此我必须删除已安装的模块文件并重新启动它。

0 个答案:

没有答案