Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  ejabberd not listening on network

Guest
Posted: Fri Feb 16, 2007 7:13 pm Reply with quote
Guest
Hello all,

I've gotten ejabberd installed, and it would start out of the box, but
needed to modify from default configs, and now it starts, but I see
nothing listening on the ports specified. I originally had a syntax
problem in the config file, but that's since been fixed. I can't find
what is causing the issues by the error messages below.

Versions:
# rpm -qa|grep -i -e jabber -e erlang
erlang-R11B-0.1
ejabberd-1.1.3-1


I use this at the end of the config file to ensure changes are
reflected:

override_global.
override_local.
override_acls.



Startup Command:
# erl -pa /usr/var/lib/ejabberd/ebin -sname ejabberd -s ejabberd
-ejabberd config \"/usr/etc/ejabberd/ejabberd.cfg\" log_path
\"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,
\"/var/log/ejabberd/sasl_error_log\"\} -mnesia dir
\"/usr/var/lib/ejabberd/spool\"
Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [hipe]

Eshell V5.5 (abort with ^G)
(ejabberd@chathost)1>
=INFO REPORT==== 16-Feb-2007::14:05:01 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},

{'EXIT',{{badmatch,{aborted,{no_exists,config}}},
[{ejabberd_config,set_opts,1},
{ejabberd_app,start,2},

{application_master,start_it_old,4}]}}}}
type: temporary







sasl_error_log:
=PROGRESS REPORT==== 16-Feb-2007::14:05:01 ===
application: ssl
started_at: ejabberd@chathost

=CRASH REPORT==== 16-Feb-2007::14:05:01 ===
crasher:
pid: <0.40.0>
registered_name: []
error_info: {bad_return,{{ejabberd_app,start,[normal,[]]},

{'EXIT',{{badmatch,{aborted,{no_exists,config}}},
[{ejabberd_config,set_opts,1},
{ejabberd_app,start,2},

{application_master,start_it_old,4}]}}}}
initial_call: {application_master,init,
[<0.5.0>,
<0.39.0>,
{appl_data,
ejabberd,
[ejabberd,
ejabberd_sup,
ejabberd_auth,
ejabberd_router,
ejabberd_sm,
ejabberd_s2s,
ejabberd_local,
ejabberd_listeners,
ejabberd_iq_sup,
ejabberd_service_sup,
ejabberd_s2s_out_sup,
ejabberd_s2s_in_sup,
ejabberd_c2s_sup,
ejabberd_mod_roster,
ejabberd_mod_echo,
ejabberd_mod_pubsub,
ejabberd_mod_irc,
ejabberd_mod_muc,
ejabberd_offline,
random_generator],
undefined,
{ejabberd_app,[]},
[acl,
configure,
cyrsasl,
cyrsasl_digest,
cyrsasl_plain,
ejabberd,
ejabberd_app,
ejabberd_auth,
ejabberd_c2s,
ejabberd_config,
ejabberd_listener,
ejabberd_logger_h,
ejabberd_local,
ejabberd_router,
ejabberd_s2s,
ejabberd_s2s_in,
ejabberd_s2s_out,
ejabberd_service,
ejabberd_sm,
ejabberd_sup,
ejabberd_tmp_sup,
gen_iq_handler,
gen_mod,
jd2ejd,
jlib,
mod_configure,
mod_disco,
mod_echo,
mod_last,
mod_offline,
mod_private,
mod_register,
mod_roster,
mod_stats,
mod_time,
mod_vcard,
mod_version,
randoms,
sha,
shaper,
translate,
xml,
xml_stream],
[],
infinity,
infinity},
normal]}
ancestors: [<0.39.0>]
messages: [{'EXIT',<0.41.0>,normal}]
links: [<0.39.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 21
reductions: 2041
neighbours:



Post recived from mailinglist
Guest
Posted: Sat Feb 17, 2007 12:58 am Reply with quote
Guest
Clearing out the mnesia databases (in: /usr/var/lib/ejabberd/spool) did
the trick. I didn't put the "override" options in the config file until
after first start, so that's likely why things were not working.

I hope this helps someone!

On Fri, 2007-02-16 at 14:13 -0500, xyon wrote:
> Hello all,
>
> I've gotten ejabberd installed, and it would start out of the box, but
> needed to modify from default configs, and now it starts, but I see
> nothing listening on the ports specified. I originally had a syntax
> problem in the config file, but that's since been fixed. I can't find
> what is causing the issues by the error messages below.
>
> Versions:
> # rpm -qa|grep -i -e jabber -e erlang
> erlang-R11B-0.1
> ejabberd-1.1.3-1
>
>
> I use this at the end of the config file to ensure changes are
> reflected:
>
> override_global.
> override_local.
> override_acls.
>
>
>
> Startup Command:
> # erl -pa /usr/var/lib/ejabberd/ebin -sname ejabberd -s ejabberd
> -ejabberd config \"/usr/etc/ejabberd/ejabberd.cfg\" log_path
> \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,
> \"/var/log/ejabberd/sasl_error_log\"\} -mnesia dir
> \"/usr/var/lib/ejabberd/spool\"
> Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [hipe]
>
> Eshell V5.5 (abort with ^G)
> (ejabberd@chathost)1>
> =INFO REPORT==== 16-Feb-2007::14:05:01 ===
> application: ejabberd
> exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
>
> {'EXIT',{{badmatch,{aborted,{no_exists,config}}},
> [{ejabberd_config,set_opts,1},
> {ejabberd_app,start,2},
>
> {application_master,start_it_old,4}]}}}}
> type: temporary
>
>
>
>
>
>
>
> sasl_error_log:
> =PROGRESS REPORT==== 16-Feb-2007::14:05:01 ===
> application: ssl
> started_at: ejabberd@chathost
>
> =CRASH REPORT==== 16-Feb-2007::14:05:01 ===
> crasher:
> pid: <0.40.0>
> registered_name: []
> error_info: {bad_return,{{ejabberd_app,start,[normal,[]]},
>
> {'EXIT',{{badmatch,{aborted,{no_exists,config}}},
> [{ejabberd_config,set_opts,1},
> {ejabberd_app,start,2},
>
> {application_master,start_it_old,4}]}}}}
> initial_call: {application_master,init,
> [<0.5.0>,
> <0.39.0>,
> {appl_data,
> ejabberd,
> [ejabberd,
> ejabberd_sup,
> ejabberd_auth,
> ejabberd_router,
> ejabberd_sm,
> ejabberd_s2s,
> ejabberd_local,
> ejabberd_listeners,
> ejabberd_iq_sup,
> ejabberd_service_sup,
> ejabberd_s2s_out_sup,
> ejabberd_s2s_in_sup,
> ejabberd_c2s_sup,
> ejabberd_mod_roster,
> ejabberd_mod_echo,
> ejabberd_mod_pubsub,
> ejabberd_mod_irc,
> ejabberd_mod_muc,
> ejabberd_offline,
> random_generator],
> undefined,
> {ejabberd_app,[]},
> [acl,
> configure,
> cyrsasl,
> cyrsasl_digest,
> cyrsasl_plain,
> ejabberd,
> ejabberd_app,
> ejabberd_auth,
> ejabberd_c2s,
> ejabberd_config,
> ejabberd_listener,
> ejabberd_logger_h,
> ejabberd_local,
> ejabberd_router,
> ejabberd_s2s,
> ejabberd_s2s_in,
> ejabberd_s2s_out,
> ejabberd_service,
> ejabberd_sm,
> ejabberd_sup,
> ejabberd_tmp_sup,
> gen_iq_handler,
> gen_mod,
> jd2ejd,
> jlib,
> mod_configure,
> mod_disco,
> mod_echo,
> mod_last,
> mod_offline,
> mod_private,
> mod_register,
> mod_roster,
> mod_stats,
> mod_time,
> mod_vcard,
> mod_version,
> randoms,
> sha,
> shaper,
> translate,
> xml,
> xml_stream],
> [],
> infinity,
> infinity},
> normal]}
> ancestors: [<0.39.0>]
> messages: [{'EXIT',<0.41.0>,normal}]
> links: [<0.39.0>,<0.5.0>]
> dictionary: []
> trap_exit: true
> status: running
> heap_size: 987
> stack_size: 21
> reductions: 2041
> neighbours:
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
--
xyon

-------------------------------------------------------------------------
"They who can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." --Benjamin Franklin
-------------------------------------------------------------------------



Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum