I installed ejabberd on Fedora Core 4 using yum. Edited the ejabberd.cfg file conservatively! Following is what I see in sasl.log. Can you tell what may be wrong please?
=PROGRESS REPORT==== 2-Apr-2007::05:05:04 ===
supervisor: {local,ejabberd_sup}
started: [{pid,<0.146.0>},
{name,stringprep},
{mfa,{stringprep,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 2-Apr-2007::05:05:04 ===
supervisor: {local,ejabberd_sup}
started: [{pid,<0.147.0>},
{name,ejabberd_router},
{mfa,{ejabberd_router,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=CRASH REPORT==== 2-Apr-2007::05:05:04 ===
crasher:
pid: <0.150.0>
registered_name: ejabberd_sm
error_info: {function_clause,[{lists,
foreach,
[#Fun,
undefined]},
{ejabberd_sm,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}
initial_call: {gen,init_it,
[gen_server,
<0.144.0>,
<0.144.0>,
{local,ejabberd_sm},
ejabberd_sm,
[],
[]]}
ancestors: [ejabberd_sup,<0.37.0>]
messages: []
links: [<0.144.0>,<0.63.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 377
stack_size: 21
reductions: 153
neighbours:
=SUPERVISOR REPORT==== 2-Apr-2007::05:05:04 ===
Supervisor: {local,ejabberd_sup}
Context: start_error
Reason: {function_clause,[{lists,
foreach,
[#Fun,
undefined]},
{ejabberd_sm,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}
Offender: [{pid,undefined},
{name,ejabberd_sm},
{mfa,{ejabberd_sm,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=CRASH REPORT==== 2-Apr-2007::05:05:04 ===
crasher:
pid: <0.36.0>
registered_name: []
error_info: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',{function_clause,
[{lists,
foreach,
[#Fun,
undefined]},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
initial_call: {application_master,init,
[<0.5.0>,
<0.35.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.35.0>]
messages: [{'EXIT',<0.37.0>,normal}]
links: [<0.35.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 21
reductions: 2041
neighbours:
Wrong hosts directive
The
hosts
directive in the configuration file is missing or incorrect. It should look likeYou rock! The server is
You rock! The server is running without the error message now. I have an ldap issue now but I will post that as a separate question if I can't find the answer in the forums.