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:~$
Run Code Online (Sandbox Code Playgroud)
我尝试使用重置它sudo rabbitmqctl reset,但sudo rabbitmqctl force_reset两者都不起作用。
小智 12
删除 /var/log/rabbitmq/* 并重新启动它
来自:https : //groups.google.com/forum/#!topic/rabbitmq-users/w0aJNmfz1N8