Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example setup is out of date for recent RabbitMQ versions #1

Closed
prb opened this issue Apr 16, 2009 · 3 comments
Closed

Example setup is out of date for recent RabbitMQ versions #1

prb opened this issue Apr 16, 2009 · 3 comments

Comments

@prb
Copy link

prb commented Apr 16, 2009

With RabbitMQ 1.5.4, some of the commands (permissioning) in the `examples/rabbitconf.rb` fail. These failures don’t affect the functioning of the examples, but they don’t exactly inspire user confidence, either…

There are also some places in the examples where hardcoded paths are still in place, e.g., `examples/crew.rb`.

@masonlee
Copy link

Ran into the same thing here.

@ronald
Copy link

ronald commented Jul 8, 2009

summary of similarities and differnces

sudo rabbitmqctl add_vhost /nanite
sudo rabbitmqctl add_user mapper testing
sudo rabbitmqctl add_user nanite testing

Version 1.5.x
sudo rabbitmqctl map_user_vhost mapper /nanite
sudo rabbitmqctl map_user_vhost nanite /nanite

Version 1.6.x
sudo rabbitmqctl set_permissions -p /nanite mapper '.' '.' '.'
sudo rabbitmqctl set_permissions -p /nanite nanite '.
' '.' '.'

@ezmobius
Copy link
Owner

Yeah this is unfortunate that rabbit has changed between versions. The scripts right now will run both of these settings which will look like it failed for some commands but will in the end leave you with a working rabbitmq server setup as it will run the proper command for whichever version of rabbit you have.

I'm going to close this ticket with a caveat that you can safely ignore the errors and still end up with a working system.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants