[ejabberd] Adding service, stops ejabberd working

James Tait james.tait at wyrddreams.org
Mon Sep 24 00:46:07 MSD 2007


Hi Denny,

Denny Schierz wrote:
> thanks very much. Have a look to the attached file.
> % Listened ports:
> {listen, [
>       {5222, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536}, {shaper, c2s_shaper}]},
>           %% Use this line to enable SSL:
>           %%{5223, ejabberd_c2s,     [{access, c2s}, {max_stanza_size, 65536}, tls, {certfile, "/opt/ejabberd/conf/server.pem"}]},
>           %% 
>           %% Use those lines instead for TLS support:
>           %%{5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper}, starttls, {certfile, "/opt/ejabberd/conf/server.pem"}]},
>           %%{5223, ejabberd_c2s,     [{access, c2s}, tls, {certfile, "/opt/ejabberd/conf/server.pem"}]},
> 
>           %% Remove this line if you want to prevent s2s connections:
>       {5269, ejabberd_s2s_in,  [{shaper, s2s_shaper}, {max_stanza_size, 131072}]},
>           
>           %% remove http_poll to remove support for http polling
>           %% remove web_admin to disable admin interface:
>       {5280, ejabberd_http,    [http_poll, web_admin]}
>       {5347, ejabberd_service,[{access,all},
>                                {host,["icq.jhell.dyndns.org"],
>                                [{password,"secret"}]}]},
>          ]}.

You appear to have a comma at the end of the wrong line.  There should
be a comma at the end of the 5280 line but not the 5347 line, thus:

       {5280, ejabberd_http,    [http_poll, web_admin]},
       {5347, ejabberd_service,[{access,all},
                                {host,["icq.jhell.dyndns.org"],
                                [{password,"secret"}]}]}
          ]}.

Hope that helps,

JT
-- 
---------------------------------------+--------------------------------
James Tait, BSc                        |    xmpp:jayteeuk at wyrddreams.org
Programmer and Free Software advocate  |       VoIP: +44 (0)870 490 2407
---------------------------------------+--------------------------------


More information about the ejabberd mailing list