Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create vHost on Windows RabbitMQ node using command line

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

like image 832
Ebeid ElSayed Avatar asked Sep 16 '16 01:09

Ebeid ElSayed


1 Answers

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

like image 139
Gabriele Santomaggio Avatar answered Nov 18 '22 22:11

Gabriele Santomaggio