ubuntu rabbitmq - 错误:无法连接到节点'rabbit@somename:nodedown [英] ubuntu rabbitmq - Error: unable to connect to node 'rabbit@somename: nodedown

查看:25
本文介绍了ubuntu rabbitmq - 错误:无法连接到节点'rabbit@somename:nodedown的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为需要rabbitmq 的django 使用芹菜.大约 4 或 5 个月前,它曾经运作良好.我再次尝试将它用于一个新项目,并在列出队列时遇到 rabbitmq 的错误.

I am using celery for django which needs rabbitmq. Some 4 or 5 months back, it used to work well. I again tried using it for a new project and got below error for rabbitmq while listing queues.

Listing queues ...
Error: unable to connect to node 'rabbit@somename': nodedown
diagnostics:
- nodes and their ports on 'somename': [{rabbitmqctl23014,44910}]
- current node: 'rabbitmqctl23014@somename'
- current node home dir: /var/lib/rabbitmq
- current node cookie hash: XfMxei3DuB8GOZUm1vdUsg==

解决办法是什么?如果没有好的解决办法,可以卸载重装rabbitmq吗?

Whats the solution? If there is no good solution, can I uninstall and reinstall rabbitmq ?

推荐答案

我显然已经安装了rabbit as a service

I had installed rabbit as a service apparently and the

sudo rabbitmqctl force_reset 

命令不起作用.

sudo service rabbitmq-server restart 

正是我需要的.

附:我确定我是执行上一个命令的 root 用户

P.S. I made sure I was the root user to do the previous command

sudo su

这篇关于ubuntu rabbitmq - 错误:无法连接到节点'rabbit@somename:nodedown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆