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

Tuure Laurinolli tuure.laurinolli at portalify.com
Mon Mar 11 14:58:55 GMT 2013


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,[]}]}


More information about the rabbitmq-discuss mailing list