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. 沙盒解决方案解决SharePoint 2013 以其他身份登陆的问题
  2. html小结
  3. Python OS模块常用函数说明
  4. 详解 Spring 3.0 基于 Annotation 的依赖注入实现(转)
  5. spring mvc 入门配置
  6. gO语言的安装和环境变量的配置
  7. QQ互联登录回调路径错误redirect uri is illegal(100010)
  8. MySQL基础之第11章 插入、更新与删除数据
  9. CSS+DIV 布局三种定位方式
  10. PowerDesigner实用技巧小结(2)
  11. 为什么要选择cdn加速
  12. 关于prototype属性的理解
  13. HashMap,HashTable,ConcurrentHashMap异同比较
  14. sql里的正则表达式
  15. xss漏洞利用
  16. ionic局部刷新页面与刷新整个页面
  17. ubuntu下如何修改时区和时间
  18. 消息队列实现回射客户/服务器和 msgsnd、msgrcv 函数
  19. Swift 开发语法
  20. ECONNRESET和WSAECONNRESET怎么产生的以及如何避免

热门文章

  1. Swift学习笔记(2):错误处理
  2. Internet Explorer Developer Channel 自动化测试 IE 浏览器
  3. 前端图像 裁剪利器 JQuerJjcrop+裁剪图像保存教程
  4. SSD-2(代码部分介绍)
  5. 从Chrome源码看audio/video流媒体实现二(转)
  6. 初学javascript,写一个简单的阶乘算法当作练习
  7. iOS framework配置脚本
  8. UML之序列图
  9. assert 的理解
  10. quartz 持久化 数据库表