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

Stas Krichevsky stask312 at gmail.com
Thu Jan 20 06:16:52 GMT 2011


Hi,
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?

Here are the errors from the log file:

=ERROR REPORT==== 19-Jan-2011::06:51:08 ===
** Generic server rabbit_mgmt_db terminating 
** Last message in was {get_overview,all}
** When Server state == {state,[{channel_exchange_stats,1100349497},
                                {channel_queue_exchange_stats,1100353594},
                                {channel_queue_stats,1100345400},
                                {channel_stats,1100341303},
                                {connection_stats,1100337206},
                                {queue_stats,1100333096}]}
** Reason for termination == 
** {{badmatch,[]},
    [{rabbit_mgmt_db,augment_queue_pid,2},
     {rabbit_mgmt_db,augment,4},
     {rabbit_mgmt_db,'-augment/3-lc$^0/1-0-',3},
     {rabbit_mgmt_db,'-augment/3-lc$^0/1-0-',3},
     {rabbit_mgmt_db,augment,3},
     {rabbit_mgmt_db,'-handle_call/3-lc$^4/1-4-',4},
     {rabbit_mgmt_db,'-handle_call/3-lc$^4/1-4-',4},
     {rabbit_mgmt_db,'-handle_call/3-fun-2-',4}]}

=ERROR REPORT==== 19-Jan-2011::06:51:08 ===
webmachine error: path="/api/overview"
{error,{exit,{{{badmatch,[]},
               [{rabbit_mgmt_db,augment_queue_pid,2},
                {rabbit_mgmt_db,augment,4},
                {rabbit_mgmt_db,'-augment/3-lc$^0/1-0-',3},
                {rabbit_mgmt_db,'-augment/3-lc$^0/1-0-',3},
                {rabbit_mgmt_db,augment,3},
                {rabbit_mgmt_db,'-handle_call/3-lc$^4/1-4-',4},
                {rabbit_mgmt_db,'-handle_call/3-lc$^4/1-4-',4},
                {rabbit_mgmt_db,'-handle_call/3-fun-2-',4}]},
              {gen_server,call,
                          [{global,rabbit_mgmt_db},
                           {get_overview,all},
                           infinity]}},
             [{gen_server,call,3},
              {rabbit_mgmt_db,safe_call,2},
              {rabbit_mgmt_wm_overview,to_json,2},
              {webmachine_resource,resource_call,3},
              {webmachine_resource,do,3},
              {webmachine_decision_core,resource_call,1},
              {webmachine_decision_core,decision,1},
              {webmachine_decision_core,handle_request,2}]}}

=INFO REPORT==== 19-Jan-2011::06:51:08 ===
Statistics database already registered at <0.12672.147>.

Thanks,
/stask

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


More information about the rabbitmq-discuss mailing list