Files
Linux/问题记录/RabbitMQ启动报错.md
offends cee91802b3
Some checks failed
continuous-integration/drone Build is failing
synchronization
2025-08-25 15:57:40 +08:00

453 B
Raw Permalink Blame History

本文作者:丁辉

RabbitMQ启动报错

报错: Reason: "no access to this vhost"

原因vhost 迁移或宕机导致 vhost 不可用,使得无法通过这个 vhost 广播消息

问题解决方案:

  1. 删除vhost

    rabbitmqctl delete_vhost /
    
  2. 重建vhost

    rabbitmqctl add_vhost /
    
  3. 授权

    rabbitmqctl  set_permissions -p / admin '.*' '.*' '.*'
    

完美解决