Hi all !
My ejabberd server worked well but since I have restarted my ejabberd daemon yesterday after one month of uptime it doesn't start, writing some output to ejabberd/sasl.log. While the
daemon was up I updated erlang to erlang-R12B, but after downgrading it the
problem still occurs.
Here's the log :
=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.48.0>},
{name,alarm_handler},
{mfa,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.49.0>},
{name,overload},
{mfa,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.47.0>},
{name,sasl_safe_sup},
{mfa,{supervisor,
start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.50.0>},
{name,release_handler},
{mfa,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
application: sasl
started_at: ejabberd@gen1=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.54.0>},
{name,dets_sup},
{mfa,{dets_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.55.0>},
{name,dets},
{mfa,{dets_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_sup}
started: [{pid,<0.63.0>},
{name,mnesia_event},
{mfa,{mnesia_sup,start_event,[]}},
{restart_type,permanent},
{shutdown,30000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.65.0>},
{name,mnesia_monitor},
{mfa,{mnesia_monitor,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.66.0>},
{name,mnesia_subscr},
{mfa,{mnesia_subscr,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.67.0>},
{name,mnesia_locker},
{mfa,{mnesia_locker,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.68.0>},
{name,mnesia_recover},
{mfa,{mnesia_recover,start,[]}},
{restart_type,permanent},
{shutdown,180000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.73.0>},
{name,disk_log_sup},
{mfa,{disk_log_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.74.0>},
{name,disk_log_server},
{mfa,{disk_log_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.91.0>},
{name,timer_server},
{mfa,{timer,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.69.0>},
{name,mnesia_tm},
{mfa,{mnesia_tm,start,[]}},
{restart_type,permanent},
{shutdown,30000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.92.0>},
{name,mnesia_checkpoint_sup},
{mfa,{mnesia_checkpoint_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.93.0>},
{name,mnesia_snmp_sup},
{mfa,{mnesia_snmp_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.94.0>},
{name,mnesia_controller},
{mfa,{mnesia_controller,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.95.0>},
{name,mnesia_late_loader},
{mfa,{mnesia_late_loader,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,mnesia_sup}
started: [{pid,<0.64.0>},
{name,mnesia_kernel_sup},
{mfa,{mnesia_kernel_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
application: mnesia
started_at: ejabberd@gen1=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,crypto_sup}
started: [{pid,<0.126.0>},
{name,crypto_server},
{mfa,{crypto_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
application: crypto
started_at: ejabberd@gen1=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,ssl_sup}
started: [{pid,<0.132.0>},
{name,ssl_server},
{mfa,{ssl_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,ssl_sup}
started: [{pid,<0.133.0>},
{name,ssl_broker_sup},
{mfa,{ssl_broker_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,supervisor}]=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
application: ssl
started_at: ejabberd@gen1=PROGRESS REPORT==== 19-Dec-2007::13:51:17 ===
supervisor: {local,stringprep_sup}
started: [{pid,<0.135.0>},
{name,stringprep},
{mfa,{stringprep,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:18 ===
supervisor: {local,ejabberd_sup}
started: [{pid,<0.156.0>},
{name,ejabberd_hooks},
{mfa,{ejabberd_hooks,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]=PROGRESS REPORT==== 19-Dec-2007::13:51:18 ===
supervisor: {local,ejabberd_sup}
started: [{pid,<0.157.0>},
{name,ejabberd_router},
{mfa,{ejabberd_router,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]=CRASH REPORT==== 19-Dec-2007::13:51:18 ===
crasher:
pid: <0.160.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.155.0>,
<0.155.0>,
{local,ejabberd_sm},
ejabberd_sm,
[],
[]]}
ancestors: [ejabberd_sup,<0.38.0>]
messages: []
links: [<0.155.0>,<0.66.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 377
stack_size: 21
reductions: 153
neighbours:=SUPERVISOR REPORT==== 19-Dec-2007::13:51:18 ===
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==== 19-Dec-2007::13:51:18 ===
crasher:
pid: <0.37.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.36.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.36.0>]
messages: [{'EXIT',<0.38.0>,normal}]
links: [<0.36.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 21
reductions: 2041
neighbours:
Thanks !
Did you 'make clean; make;
Did you 'make clean; make; make install' after removing Erlang R12 and installing R11 again?
I did it with RPM package
I did it with RPM package manager, should I do differently ?
Same here
Hi!
I have the same problem, after installing updates (including erlang - not sure if it's the cause, though), and restarting ejabberd, I cannot log in and ejabberd only logs stuff to sasl log on startup - main ejabberd log is empty.
Have you found a solution?
Found solution
I've found a patch that fixes the issue for me:http://support.process-one.net/browse/EJAB-446
I've also submitted the patch and a fixed SRPM to Fedora's Bugzilla:
Try rebuilding my SRPM and installing it and tell whether it has fixed the problem for you.