Thanks James! My old rabbitmq-server was still running!<br><br>I stopped it, removed everything and apt-get install works just fine. Along the way, I picked up some commands using rabbitmqctl :)<br><br>Cheers!<br><br clear="all">

regards,<br>Abhishek Singh Bailoo,<br>Platform Team<br>Knowlus, FreeSWITCH.Message: 27<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Date: Mon, 20 Feb 2012 13:28:35 -0800<br>
From: James Aimonetti &lt;<a href="mailto:james@2600hz.com">james@2600hz.com</a>&gt;<br>
Subject: Re: [rabbitmq-discuss] Starting rabbitmq-server: FAILED<br>
To: &lt;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4F42BB03.9030403@2600hz.com">4F42BB03.9030403@2600hz.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;ISO-8859-1&quot;<br>
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Salient error: {error,duplicate_name}<br>
<br>
Another rabbitmq is running. Check your process list. Perhaps you have a<br>
monit/bluepill type watchdog restarting it?<br>
<br>
<br>
On 02/20/2012 01:21 PM, Abhishek Singh Bailoo wrote:<br>
&gt; Greetings!<br>
&gt;<br>
&gt; I am a newb to RabbitMQ and the whole Erlang thing :)<br>
&gt;<br>
&gt; I compiled from source and installed RabbitMQ on my server (an Amazon EC2<br>
&gt; instance). It was configured to run with CouchDB.<br>
&gt;<br>
&gt; After that I tried to upgrade by using apt-get install. It did warn me that<br>
&gt; it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since<br>
&gt; my database was different, it will take a backup but old settings will be<br>
&gt; lost. I was fine with it.<br>
&gt;<br>
&gt; Now rabbitmq-server does not start, complaining<br>
&gt;<br>
&gt; Setting up rabbitmq-server (1.7.2-1ubuntu1) ...<br>
&gt; Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err<br>
&gt; rabbitmq-server.<br>
&gt; invoke-rc.d: initscript rabbitmq-server, action &quot;start&quot; failed.<br>
&gt; dpkg: error processing rabbitmq-server (--configure):<br>
&gt; �subprocess installed post-installation script returned error exit status 1<br>
&gt; Errors were encountered while processing:<br>
&gt; �rabbitmq-server<br>
&gt; E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
&gt;<br>
&gt; I tried apt-get remove rabbitmq-server and manually deleted the directory<br>
&gt; /var/lib/rabbitmq and then again tried to do apt-get install but it gives<br>
&gt; the same error.<br>
&gt;<br>
&gt; Any help will be much appreciated!<br>
&gt;<br>
&gt; startup logs are ...<br>
&gt;<br>
&gt; # cat /var/log/rabbitmq/startup_err<br>
&gt; Error: {node_start_failed,normal}<br>
&gt;<br>
&gt; Crash dump was written to: erl_crash.dump<br>
&gt; Kernel pid terminated (application_controller)<br>
&gt; ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})<br>
&gt;<br>
&gt;<br>
&gt; # cat /var/log/rabbitmq/startup_log<br>
&gt; Starting all nodes...<br>
&gt; Starting node rabbit@ip-10-252-17-24...<br>
&gt; {error_logger,{{2012,2,20},{21,12,19}},&quot;Protocol: ~p: register error:<br>
&gt; ~p~n&quot;,[&quot;inet_tcp&quot;,{{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>


&gt; {error_logger,{{2012,2,20},{21,12,19}},crash_report,[[{initial_call,{net_kernel,init,[&#39;Argument__1&#39;]}},{pid,&lt;0.21.0&gt;},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,&lt;0.10.0&gt;]},{messages,[]},{links,[#Port&lt;0.107&gt;,&lt;0.18.0&gt;]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}<br>


&gt; {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{&#39;EXIT&#39;,nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br>


&gt; {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>


&gt; {error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}<br>
&gt; {&quot;Kernel pid<br>
&gt; terminated&quot;,application_controller,&quot;{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}&quot;}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; regards,<br>
&gt; Abhishek Singh Bailoo,<br>
&gt; Platform Team<br>
&gt; Knowlus, FreeSWITCH.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>