rabbitmq重启时报错,并导致erlang崩溃和Rabbit的常用命令

时间:2024-05-28 17:06:20

rabbitmq重启时报错,并导致erlang崩溃和Rabbit的常用命令

--------------------------------------------------------------------------------------------------

Rabbitmq服务常用命令:

(1)首先关闭rabbitmq: rabbitmqctl stop_app

(2)还原: rabbitmqctl reset

(3)启动: rabbitmqctl start_app

(4)添加用户: rabbitmqctl add_user root root

(5)设置权限:rabbitmqctl set_permissions -p / root ".*" ".*" ".*"

(6)查看用户: rabbitmqctl list_users