[rabbitmq-discuss] Restarting management plugin without restarting the whole server

Stas Krichevsky stask312 at gmail.com
Thu Jan 20 14:48:50 GMT 2011


Thanks Marek,

I tried to run it, and while the plugin itself restarts, it's still not working (it doesn't show any statistics).
I think it's related to 'statistics_db_node' -- i'm getting following as part of /api/overview response:
"statistics_db_node":"not_running"
Is there a way to restart 'statistics_db_node'?

Thanks,

/stask

On Jan 20, 2011, at 12:42 PM, Marek Majkowski wrote:

> On Thu, Jan 20, 2011 at 06:16, Stas Krichevsky <stask312 at gmail.com> wrote:
>> Management plugin stopped working recently on our production system (CentOS
>> 5.5, Erlang R14B, RabbitMQ 2.2.0).
>> Is there a way to restart just the plugin without restarting the whole
>> server?
> 
> Good question. I'm not an expert, but this worked for me:
> application:loaded_applications().
> application:stop(rabbit_management).
> application:stop(webmachine).
> application:stop(rabbit_mochiweb).
> application:stop(mochiweb).
> 
> application:start(rabbit_mochiweb).
> application:start(webmachine).
> application:start(rabbit_management).
> 
> But beware it can probably make things even worse.
> 
> Chers,
>  Marek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110120/c311c940/attachment.htm>


More information about the rabbitmq-discuss mailing list