[rabbitmq-discuss] Unable to delete queues, purge messages etc. through admin

Simon MacMullen simon at rabbitmq.com
Mon Mar 11 15:08:26 GMT 2013


Somehow you are running RabbitMQ server with a different, incompatible 
version of the RabbitMQ Erlang client loaded. We've seen this in two 
scenarios:

1) (Partially) self-compiled plugins mixed with a packaged server
2) SuSE linux (with the broken package "erlang-rabbitmq-client"
    installed)

Do either of those two sound like possibilities?

Cheers, Simon

On 11/03/13 14:58, Tuure Laurinolli wrote:
> Hi,
>
> I have run into problems purging and deleting queues through rabbitmqadmin on one host. The error message shown on command line is pasted below. The system runs RabbitMQ 2.8.2.
>
> iac-pgis:~ # ./rabbitmqadmin delete queue name=queue.taskmgr.location
> Traceback (most recent call last):
>    File "./rabbitmqadmin", line 828, in <module>
>      main()
>    File "./rabbitmqadmin", line 325, in main
>      method()
>    File "./rabbitmqadmin", line 485, in invoke_delete
>      self.delete(uri)
>    File "./rabbitmqadmin", line 357, in delete
>      return self.http("DELETE", path, "")
>    File "./rabbitmqadmin", line 386, in http
>      % (resp.status, resp.reason, path, resp.read()))
> Exception: Received 500 Internal Server Error for path /queues/%2F/queue.taskmgr.location
> <html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,
>      {case_clause,
>          {amqp_params_direct,<<"guest">>,<<"/">>,'rabbit at iac-pgis',none,[]}},
>      [{amqp_connection,start,2,[]},
>       {rabbit_mgmt_util,with_channel,5,[]},
>       {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,[]},
>       {rabbit_webmachine,'-makeloop/1-fun-0-',3,[]}]}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>
>
> and the server logs only show the same information:
>
> =ERROR REPORT==== 11-Mar-2013::16:54:29 ===
> webmachine error: path="/api/queues/%2F/queue.taskmgr.location"
> {error,
>      {case_clause,
>          {amqp_params_direct,<<"guest">>,<<"/">>,'rabbit at iac-pgis',none,[]}},
>      [{amqp_connection,start,2,[]},
>       {rabbit_mgmt_util,with_channel,5,[]},
>       {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,[]},
>       {rabbit_webmachine,'-makeloop/1-fun-0-',3,[]}]}
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list