[rabbitmq-discuss] Gracefully shutting down rabbitmq

Aman Gupta rabbitmq at tmm1.net
Mon Sep 1 22:44:04 BST 2008


The error was being thrown by the original rabbitmq daemon, not the
controller erlang process. The controller process exited cleanly.. the
rabbitmq daemon received the halt signal and then proceeded to throw that
duplicate name error.
  Aman

On Mon, Sep 1, 2008 at 1:34 PM, Preston Marshall <
preston at synergy-solutions.biz> wrote:

> Aman, the error you were originally recieving was thrown because you were
> starting the "controller" as the same name as something that was running.
>  You either need to connect to the remote shell and run
> application:stop(rabbit). or run the command that Ben just posted.  You can
> also use toolbar:start(). to start a toolbar using X11 that will allow you
> to monitor and control nodes.  Good luck!
> On Sep 1, 2008, at 3:29 PM, Aman Gupta wrote:
>
> $ uname -a
> Linux cf 2.6.26.3 #1 SMP Wed Aug 27 00:44:10 PDT 2008 x86_64 Intel(R)
> Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux
>
> $ erl -v
> Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:4]
> [async-threads:0] [hipe] [kernel-poll:false]
>
>   Aman
> On Mon, Sep 1, 2008 at 1:25 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
>
>> Aman,
>>
>> On Mon, Sep 1, 2008 at 9:07 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
>> > I'll try to replicate your problem running the same command as you did.
>>
>> I've just tried to reproduce this error using the following:
>>
>> $ erl -sname rabbitmq_controller -noinput -s rabbit_control -extra -n
>> rabbit stop
>> Stopping and halting node rabbit at xlr8 ...done.
>>
>> and it works perfectly :-(
>>
>> So, I'm wondering what could be going on in your setup.
>>
>> Can you tell us more about the OTP version your kernel, distro, etc?
>>
>> Ben
>>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080901/83f2ffc5/attachment.htm 


More information about the rabbitmq-discuss mailing list