[rabbitmq-discuss] Restarting management plugin without restarting the whole server
Marek Majkowski
majek04 at gmail.com
Mon Jan 24 12:33:42 GMT 2011
On Thu, Jan 20, 2011 at 14:48, Stas Krichevsky <stask312 at gmail.com> wrote:
> 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'?
That's pretty bad. It looks like you need to restart the "rabbit" application
got that running again. Which means restarting the broker. Sorry.
Marek
> 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
>
>
More information about the rabbitmq-discuss
mailing list