zoukankan      html  css  js  c++  java
  • Can't access RabbitMQ web management interface after fresh install

    http://stackoverflow.com/questions/22850546/cant-access-rabbitmq-web-management-interface-after-fresh-install

    问题:

     

    I've installed the latest RabbitMQ server (rabbitmq-server-3.3.0-1.noarch.rpm) on a fresh Centos 5.10 VM according to the instructions on the official site.

    I've done this many times before during development and never had any issues. However, this time I cannot log into the management web interface using the default guest/guest user.

    In the logs, I see the following:

    =ERROR REPORT==== 4-Apr-2014::00:55:15 ===
    webmachine error: path="api/whoami"
    "Unauthorized"
    

    What could be causing this?

    解决:

     

    It's new features since the version 3.3.0 http://www.rabbitmq.com/release-notes/README-3.3.0.txt

    server
    ------
    
    ...
    25603 prevent access using the default guest/guest credentials except via
          localhost.
    

    If you want enable the guest user read this or this RabbitMQ 3.3.1 can not login with guest/guest

    If you want create a new user with admin grants:

    rabbitmqctl add_user test test
    rabbitmqctl set_user_tags test administrator
    rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
    

    Now you can access using test test.

  • 相关阅读:
    开发日记1
    探索需求2
    探索需求1
    周总结8
    周总结7
    周总结6
    周总结5
    周总结4
    周总结3
    周总结2
  • 原文地址:https://www.cnblogs.com/davidwang456/p/6406507.html
Copyright © 2011-2022 走看看