尝试启用 mod_proxy65 后,ejabberd 拒绝启动

尝试启用 mod_proxy65 后,ejabberd 拒绝启动

尝试使用以下设置启用 mod proxy_65 后,我无法启动 ejabberd:

{mod_proxy65,  [
                  {host, "secusrvr.com"},
                  {ip, {0,0,0,0}},
                  {hostname, "secusrvr.com"},
                 ]},

我收到以下语法错误,但我看不出任何错误:

=ERROR REPORT==== 2016-05-21 12:41:44 ===
E(<0.37.0>:ejabberd_config:187) : The following lines from your configuration file might be relevant to the error:
529:   %%{mod_muc_log,[]},
530:   {mod_offline,  [{access_max_user_messages, max_user_offline_messages}]},
531:   {mod_ping,     []},
532:   %%{mod_pres_counter,[{count, 5}, {interval, 60}]},
533:   {mod_privacy,  []},
534:   {mod_private,  []},
535:   {mod_proxy65,  [
536:              {host, "secusrvr.com"},
537:              {ip, {0,0,0,0}},
538:              {hostname, "secusrvr.com"},
539:             ]},
540:   {mod_pubsub,   [
541:              {access_createnode, pubsub_createnode},
542:              {ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant

=ERROR REPORT==== 2016-05-21 12:41:44 ===
E(<0.37.0>:ejabberd_config:106) : Problem loading ejabberd config file /etc/jabber/ejabberd.cfg approximately in the line 539: syntax error before: ']'

答案1

你确实有语法错误。你的配置文件是错误的。删除第 538 行末尾的逗号。

相关内容