Help in Setting up RabbitMQ Cluster on a single machine

82 views
Skip to first unread message

Mark Lopez

unread,
Apr 1, 2021, 1:38:38 AM4/1/21
to rabbitmq-users
Hi everyone,
I am trying to set up a cluster on RabbitMQ 3.8.12 Erlang 23.3 on a single machine (Linux ubuntu 20.04). Looking at the guide https://www.rabbitmq.com/clustering.html#single-machine. I have edit the "rabbitmq-env.conf" file and added a new node, running the command "sudo rabbitctl -n NodeName stop_app" I get an error that state: "/usr/sbin/rabbit-server: 10: Cannot fork"

Anyone can help me

Thanks in advance

M K

unread,
Apr 6, 2021, 6:05:28 AM4/6/21
to rabbitmq-users
I'm afraid there isn't much we can suggest from this single line problem definition.

When RabbitMQ is installed using the Debian package, forming a cluster on that machine will be problematic because the node
is configured in a way that does not make it easy to override node data directory, and so on.

Consider using Docker with Docker Swarm, our Kubernetes Operator with kind or at least the generic binary build [1] which you can run from anywhere without sudo.

Reply all
Reply to author
Forward
0 new messages