【问题标题】:unable to connect to node rabbit@localhost: nodedown无法连接到节点 rabbit@localhost: nodedown
【发布时间】:2015-07-31 15:57:54
【问题描述】:

当我运行 celerybeat 服务时,我收到了大量收到的任务:

[2015-07-31 11:15:46,593: INFO/MainProcess] Received task: tasks2.energy[89544]
[2015-07-31 11:15:46,594: INFO/MainProcess] Received task: tasks2.energy[97083]
[2015-07-31 11:15:46,594: INFO/MainProcess] Received task: tasks2.energy[3d476]

其他帖子说要清除所有队列。但是,我一直遇到诸如标题中的错误。这是参考的帖子: Delete all the queues from RabbitMQ?

我运行rabbitmqctl stop_app,我得到了

DIAGNOSTICS
===========

attempted to contact: [rabbit@localhost]

rabbit@localhost:
  * connected to epmd (port 4369) on localhost
  * epmd reports: node 'rabbit' not running at all
                  other nodes on localhost: ['rabbitmq-cli-16558']
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-16558@Pete_Zahut's-MacBook-Pro'
- home dir: /var/root
- cookie hash: Pete Zahut

当我运行rabbitmqadmin list queues name 时,我得到了

Could not connect: [Errno 61] Connection refused

【问题讨论】:

    标签: linux terminal rabbitmq celery


    【解决方案1】:

    Celery --purge 选项解决了这个问题!

    【讨论】:

    • 你的回答是什么意思?
    猜你喜欢
    • 2014-10-14
    • 2019-07-05
    • 1970-01-01
    • 1970-01-01
    • 2018-12-26
    • 2012-03-04
    • 2016-11-26
    • 1970-01-01
    • 2015-03-21
    相关资源
    最近更新 更多