赞
踩
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - access to vhost '/' refused for user 'mq', class-id=10, method-id=40)
服务器该用户没有分配权限
rabbitmqctl set_permissions -p "/" username ".*" ".*" ".*"
首先,如果没有添加用户,则添加用户,rabbitmq-server只有一个Guest用户
rabbitmqctl add_user username password
删除用户
rabbitmqctl delete_user guest
rabbitmqcrl命令参数
[--cipher <cipher>] [--hash <hash>] [--iterations <iterations>]
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。