ejabberd - Comments for "Installation on Debian Etch" https://www.ejabberd.im/node/4074 en Problem Solved! https://www.ejabberd.im/node/4074#comment-55826 <p>I killed epmd, ensured that only one host was configured in /etc/ejabberd/ejabberd.cfg and restarted. Everything works well! Thanks for pointing me in the right direction!</p> Fri, 28 May 2010 16:49:39 +0000 zvan comment 55826 at https://www.ejabberd.im Known error message https://www.ejabberd.im/node/4074#comment-55823 <div class="quote-msg"> <div class="quote-author"><em>zvan</em> wrote:</div> <p>This is what ejabberd spits out when running in the foreground:</p> <p>/etc/init.d# ejabberd start<br /> {error_logger,{{2010,5,27},{0,7,44}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},</p> <p>Any advice you may have would be most appreciated.</p></div> <p>See <a href="http://www.ejabberd.im/error/duplicate_name" title="http://www.ejabberd.im/error/duplicate_name">http://www.ejabberd.im/error/duplicate_name</a></p> Fri, 28 May 2010 09:01:01 +0000 mfoss comment 55823 at https://www.ejabberd.im Crash Dump https://www.ejabberd.im/node/4074#comment-55815 <p>Thanks for the advice on how to move forward.</p> <p>This is what ejabberd spits out when running in the foreground:</p> <p>/etc/init.d# ejabberd start<br /> {error_logger,{{2010,5,27},{0,7,44}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}<br /> {error_logger,{{2010,5,27},{0,7,44}},crash_report,[[{pid,&lt;0.20.0&gt;},{registered_name,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_server,&lt;0.17.0&gt;,&lt;0.17.0&gt;,{local,net_kernel},net_kernel,{ejabberd,shortnames,15000},[]]}},{ancestors,[net_sup,kernel_sup,&lt;0.8.0&gt;]},{messages,[]},{links,[#Port&lt;0.8&gt;,&lt;0.17.0&gt;]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,21},{reductions,412}],[]]}<br /> {error_logger,{{2010,5,27},{0,7,44}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[ejabberd,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br /> {error_logger,{{2010,5,27},{0,7,44}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}<br /> {error_logger,{{2010,5,27},{0,7,44}},crash_report,[[{pid,&lt;0.7.0&gt;},{registered_name,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{application_master,init,[&lt;0.5.0&gt;,&lt;0.6.0&gt;,{appl_data,kernel,[application_controller,erl_reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,error_logger,file_server_2,fixtable_server,global_group,global_name_server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,application_controller,application_master,application_starter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error_logger,file,file_server,file_io_server,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,kernel,kernel_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,infinity},normal]}},{ancestors,[&lt;0.6.0&gt;]},{messages,[{'EXIT',&lt;0.8.0&gt;,normal}]},{links,[&lt;0.6.0&gt;,&lt;0.5.0&gt;]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,21},{reductions,2079}],[]]}<br /> {error_logger,{{2010,5,27},{0,7,44}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}<br /> {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}</p> <p>Crash dump was written to: /var/log/ejabberd/erl_crash.dump<br /> Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})</p> <p>And here is the <noindex><a href="https://zeitgeistvancouver.com/erl_crash.dump" rel="nofollow" >generated crash dump</a></noindex>. </p> <p>Any advice you may have would be most appreciated.</p> Thu, 27 May 2010 07:25:34 +0000 zvan comment 55815 at https://www.ejabberd.im Re: Installation on Debian Etch https://www.ejabberd.im/node/4074#comment-55814 <p>Try this:</p> <p>1) See if it dropped an Erlang crash dump file (under /var/log/ejabberd).</p> <p>2) Edit /etc/init.d/ejabberd, locate a line which starts the Erlang emulator -- it should look something like this:<br /> <code>su $EJABBERDUSER -c &quot;$EJABBERD -noshell -detached&quot;</code><br /> and temporarily remove these <code>-noshell -detached</code> options, save and attempt to start ejabberd again, having checked that no instance is running (kill any <code>beam</code> or <code>beam.smp</code> process running).<br /> Without these options, ejabberd will run in foreground, and if it crashes, you'll be able to scroll its output up and look for error message.</p> <p>So, if/when you have a crash dump and/or the error message, publish them for further analysis.</p> Wed, 26 May 2010 22:10:10 +0000 kostix comment 55814 at https://www.ejabberd.im