[rabbitmq-discuss] crash! : on Ubuntu inside VirtualBox inside Windows 7

Alvaro Videla videlalvaro at gmail.com
Sat Nov 6 15:46:12 GMT 2010


To clear the state of the broker, if you really don't care about what's there, then do

./rabbitmqctl stop_app
./rabbitmqctl reset
./rabbitmqctl start_app

Be really careful because you will lose all your queues!!!!

If you start/stop the server that doesn't guarantee that you will reset the state of the broker

Regards,

Alvaro

On Nov 6, 2010, at 9:44 AM, Nick Perkins wrote:

> oh!
> I think you're right...(thanks)
> 
> on Windows I used to start and stop the service myself
> can I still do that?
> I will be doing some experimental programming in python,
> so I want to be able to "clean the slate" between test runs.
> ( delete all state from the message broker )
> 
> I am also new to the "mailing-list" concept ( not sure if am doing it right? )
> 
> 
> On Sat, Nov 6, 2010 at 11:26 AM, Alvaro Videla <videlalvaro at gmail.com> wrote:
>> Hi Nick,
>> 
>> Do ps ax | grep rabbit
>> 
>> or something like that, you probably have another instance of the server already running
>> 
>> Regards,
>> 
>> Alvaro
>> 
>> On Nov 6, 2010, at 9:07 AM, Nick Perkins wrote:
>> 
>>> Help!
>>> 
>>> I am a bit of a noob on linux, and I am struggling to get RabbitMQ up
>>> and running...
>>> I installed Ubuntu ( 10.10 ) inside a VirtualBox on Windows 7
>>> ( i know thats not ideal, but it should still work, right? )
>>> 
>>> I downloaded the latest RabbitMQ 2.1.1
>>> I have Erlang 13b
>>> When I run "sudo rabbitmq-server", I get this:
>>> 
>>> {error_logger,{{2010,11,6},{10,43,45}},"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}]}]}
>>> {error_logger,{{2010,11,6},{10,43,45}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.22.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.80>,<0.19.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,494}],[]]}
>>> {error_logger,{{2010,11,6},{10,43,45}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[['rabbit at nick-VirtualBox',shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>>> {error_logger,{{2010,11,6},{10,43,45}},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}]}]}
>>> {error_logger,{{2010,11,6},{10,43,45}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
>>> {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
>>> 
>>> Can anyone help?
>>> 
>>> --
>>> Nick Perkins
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> 
>> 
> 
> 
> 
> -- 
> Nick Perkins



More information about the rabbitmq-discuss mailing list