我通过使用
brew update
和安装brew install rabbitmq
。然后尝试停止服务器并重新启动它(我之前尝试通过下载源来安装)。
rabbitmqctl stop
但我得到`停止和停止节点rabbit@localhost ...
Error: unable to connect to node rabbit@localhost: nodedown
DIAGNOSTICS
===========
nodes in question: [rabbit@localhost]
hosts, their running nodes and ports:
- localhost: [{rabbit,61707},{rabbitmqctl33002,62384}]
current node details:
- node name: 'rabbitmqctl33002@Dev-MacBook-Air'
- home dir: /Users/ohad
- cookie hash: aeUlHJghkW6Yr7EMVbRJTg==`
我认为这意味着没有进程,所以我尝试重新开始:
rabbitmq-server
我得到
ERROR: node with name "rabbit" already running on "localhost"
DIAGNOSTICS
===========
nodes in question: [rabbit@localhost]
hosts, their running nodes and ports:
- localhost: [{rabbit,61707},{rabbitmqprelaunch33047,62398}]
current node details:
- node name: 'rabbitmqprelaunch33047@Dev-MacBook-Air'
- home dir: /Users/ohad
- cookie hash: aeUlHJghkW6Yr7EMVbRJTg==