ubuntu@ip-172-31-21-62:~$ sudo service rabbitmq-server start
* Starting message broker rabbitmq-server [ OK ]
ubuntu@ip-172-31-21-62:~$ sudo service rabbitmq-server stop
* Stopping message broker rabbitmq-server * message broker already stopped
[ OK ]
ubuntu@ip-172-31-21-62:~$ sudo service rabbitmq-server status
Status of node 'rabbit@ip-172-31-21-62' ...
Error: unable to connect to node 'rabbit@ip-172-31-21-62': nodedown
DIAGNOSTICS
===========
attempted to contact: ['rabbit@ip-172-31-21-62']
rabbit@ip-172-31-21-62:
* connected to epmd (port 4369) on ip-172-31-21-62
* epmd reports: node 'rabbit' not running at all
no other nodes on ip-172-31-21-62
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-19082@ip-172-31-21-62'
- home dir: /var/lib/rabbitmq
- cookie hash: Zoi/1N8mjGUsELj8Z7yzoA==
ubuntu@ip-172-31-21-62:~$
我尝试使用重设它sudo rabbitmqctl reset
,但sudo rabbitmqctl force_reset
两者均无效。
可能相关:stackoverflow.com/q/33935430/12484
—
Jon Schneider