ubuntu@hostname:~$ sudo service rabbitmq-server start
* Starting message broker rabbitmq-server [ OK ]
ubuntu@hostname:~$ sudo service rabbitmq-server stop
* Stopping message broker rabbitmq-server * message broker already stopped
[ OK ]
ubuntu@hostname:~$ sudo service rabbitmq-server status
Status of node 'rabbit@hostname' ...
Error: unable to connect to node 'rabbit@hostname': nodedown
DIAGNOSTICS
===========
attempted to contact: ['rabbit@hostname']
rabbit@hostname:
* connected to epmd (port 4369) on hostname
* epmd reports: node 'rabbit' not running at all
no other nodes on hostname
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-19082@hostname'
- home dir: /var/lib/rabbitmq
- cookie hash: Zoi/1N8mjGUsELj8Z7yzoA==
ubuntu@hostname:~$
我尝试使用它来重置它sudo rabbitmqctl reset
,sudo rabbitmqctl force_reset
但两者都不起作用。