<div>Dear all:</div><div><br></div><div>I have never met this issue before, and I searched but no result was found so far.</div><div><br></div><div>I tried to install rabbitmq-server on ubuntu 11.04, but I got following error:</div>
<div><br></div><div> Starting rabbitmq-server: TIMEOUT - check /var/log/rabbitmq/startup_{log,err}</div><div> rabbitmq-server.</div><div> invoke-rc.d: initscript rabbitmq-server, action "start" failed.</div>
<div> dpkg: error processing rabbitmq-server (--configure):</div><div> subprocess installed post-installation script returned error exit status 1</div><div> No apport report written because MaxReports is reached already</div>
<div> Errors were encountered while processing:</div><div> rabbitmq-server</div><div> E: Sub-process /usr/bin/dpkg returned an error code (1)</div><div><br></div><div>I looked into the file /var/log/rabbitmq/startup_log:</div>
<div><br></div><div> {error_logger,{{2012,10,9},{20,20,34}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,etimedout}},[{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_do_apply,3}]}]}</div>
<div> {error_logger,{{2012,10,9},{20,20,34}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,510}],[]]}</div>
<div> {error_logger,{{2012,10,9},{20,20,34}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[rabbitmq_multi7006,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}</div>
<div> {error_logger,{{2012,10,9},{20,20,34}},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}]}]}</div>
<div> {error_logger,{{2012,10,9},{20,20,34}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}</div><div> {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}</div>
<div><br></div><div>in the file /var/log/rabbitmq/startup_err:</div><div><br></div><div> Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})</div><div>
<br></div><div>I honestly do not have much knowledge about using rabbitmq, and I did many installations before and were all working fine. I looked up a little and found <a href="http://www.mentby.com/Group/rabbitmq-discuss/having-trouble-installing-on-ubuntu.html">this</a> and <a href="http://serverfault.com/questions/225795/error-when-installing-rabbitmq-server-on-ubuntu-10-10">this</a>, and they addressed that it might be the DNS that caused the problem. I looked into /etc/hosts and shows like this:</div>
<div><div>127.0.0.1 localhost localhost.localdomain</div><div>184.106.149.253 NopSec</div></div><div><br></div><div>So what seems to be the problem? Non of the results that I found seem to provide useful information, please help, thanks.</div>