Greetings!<br><br>I am a newb to RabbitMQ and the whole Erlang thing :) <br><br>I compiled from source and installed RabbitMQ on my server (an Amazon EC2 instance). It was configured to run with CouchDB. <br><br>After that I tried to upgrade by using apt-get install. It did warn me that it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since my database was different, it will take a backup but old settings will be lost. I was fine with it. <br>
<br>Now rabbitmq-server does not start, complaining<br><br>Setting up rabbitmq-server (1.7.2-1ubuntu1) ...<br>Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err<br>rabbitmq-server.<br>invoke-rc.d: initscript rabbitmq-server, action "start" failed.<br>
dpkg: error processing rabbitmq-server (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>Errors were encountered while processing:<br> rabbitmq-server<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>I tried apt-get remove rabbitmq-server and manually deleted the directory /var/lib/rabbitmq and then again tried to do apt-get install but it gives the same error. <br><br>Any help will be much appreciated!<br><br>startup logs are ...<br>
<br># cat /var/log/rabbitmq/startup_err <br>Error: {node_start_failed,normal}<br><br>Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})<br>
<br><br># cat /var/log/rabbitmq/startup_log<br>Starting all nodes...<br>Starting node rabbit@ip-10-252-17-24...<br>{error_logger,{{2012,2,20},{21,12,19}},"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_do_apply,3}]}]}<br>
{error_logger,{{2012,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}<br>
{error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br>
{error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}<br>
{error_logger,{{2012,2,20},{21,12,19}},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,[]]}}}"}<br>
<br><br><br><br clear="all">regards,<br>Abhishek Singh Bailoo,<br>Platform Team<br>Knowlus, FreeSWITCH.<br><br>