RabbitMQ: Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below.

发布时间 2023-05-16 22:01:15作者: walkersss

Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below.

rabbit@prod-ad-api-02:
* connected to epmd (port 4369) on prod-ad-api-02
* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
* TCP connection succeeded but Erlang distribution failed

 

===================================================

vi /etc/hosts
127.0.0.1 hostnamexxxxxx

cp /var/lib/.erlang.cookie /root/

rabbitmq-server stop
rabbitmq-server start &
rabbitmqctl status
rabbitmqctl list_users
rabbitmqctl add_user xxxx pwspwd
rabbitmqctl change_password user_name xxxxyyy