Can't access RabbitMQ web management interface after fresh install

时间:2020-12-04 20:38:25

http://*.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.