其他分享
首页 > 其他分享> > rabbitmq无法重启错误

rabbitmq无法重启错误

作者:互联网

问题描述

[root@myserver ~]# rabbitmqctl status
rabbit@myserver:
  * connected to epmd (port 4369) on myserver
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on myserver
  * suggestion: start the node

Current node details:
 * node name: rabbitmqcli86@myserver
 * effective user's home directory: /root
 * Erlang cookie hash: 7zt8h2v9j8Q34mFQo518hA==

解决方法

[root@myserver sbin]# ss -tnlp |grep  15672
[root@myserver sbin]# ss -tnlp |grep  5672
[root@myserver sbin]# ss -tnlp |grep  25672
[root@myserver sbin]# ss -tnlp |grep  4369
LISTEN    0         128                0.0.0.0:4369                                                             
0.0.0.0:*        users:(("epmd",pid=3243,fd=3)) 
LISTEN    0         128                   [::]:4369  
[::]:*        users:(("epmd",pid=3243,fd=4))                                                 
[root@myserver sbin]# kill -9 3243
[root@myserver sbin]# ss -tnlp |grep  4369
[root@myserver sbin]# rabbitmq-server restart

问题描述

[root@myserver ~]# rabbitmqctl status
rabbit@myserver:
  * connected to epmd (port 4369) on myserver
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on myserver
  * suggestion: start the node

问题解决

[root@myserver sbin]#rabbitmq-server -detached

问题描述

[root@myserver ~]# rabbitmqctl status
rabbit@myserver:
  * connected to epmd (port 4369) on myserver
  * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic 
  * TCP connection succeeded but Erlang distribution failed 

  * Authentication failed (rejected by the remote node), please check the Erlang cookie
  
Current node details:
 * node name: rabbitmqcli39@myserver
 * effective user's home directory: /root
 * Erlang cookie hash: 7zt8h2v9j8Q34mFQo518hA==

解决方法

[root@myserver sbin]# find / -name '.erlang.cookie'
[root@myserver sbin]# cp /root/.erlang.cookie /usr/local/rabbitmq_server-3.7.8/.erlang.cookie

标签:node,sbin,错误,重启,rabbitmq,epmd,cookie,myserver,root
来源: https://blog.csdn.net/chf605908340/article/details/118643972