Create vHost on Windows RabbitMQ node using command line
Asked Answered
M

1

11

I have a RabbitMQ node on windows operating system. I want to create vhost on that node from command line of using a script with minimal pre-requisites.

EDIT: I tried to use the rabbitmqctl add_vhost but I always get an error.

enter image description here

Mawkish answered 16/9, 2016 at 1:11 Comment(0)
C
27
rabbitmqctl add_vhost my_vhost

and

rabbitmqctl set_permissions -p my_vhost guest ".*" ".*" ".*"

I suggest to read this: https://www.rabbitmq.com/man/rabbitmqctl.1.man.html

So you have another error, about the node down read here RabbitMQ has Nodedown Error

Chaqueta answered 16/9, 2016 at 7:0 Comment(2)
I tried the first command but each time I use the add_vhost I get an error. Edited the question.Mawkish
Thanks a lot, just the command has to be run under users root or rabbitmqDaddy

© 2022 - 2024 — McMap. All rights reserved.