Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:53:03+00:00 2026-06-15T14:53:03+00:00

I am having server issues with getting rabbit to cluster. I boot up two

  • 0

I am having server issues with getting rabbit to cluster.

I boot up two nodes on ec2.

On the the first node booted I do this.

rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl start_app

I boot another node.
sudo service rabbitmq-server stop
#Copy cookie from the first server booted
sudo su - -c 'echo -n "cookie" > /var/lib/rabbitmq/.erlang.cookie'
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl cluster rabbit@server1

1) sever1 is running
2) What ports to need open? I have 22, 4369, 5672

sudo rabbitmqctl cluster rabbit@aws-rabbit-server-east-development-20121102162143
Clustering node 'rabbit@aws-rabbit-server-east-development-20121103033005' with ['rabbit@aws-rabbit-server-east-development-20121102162143'] ...
Error: {no_running_cluster_nodes,['rabbit@aws-rabbit-server-east-development-20121102162143'],
                                 ['rabbit@aws-rabbit-server-east-development-20121102162143']}

What could possibility be missing from there docs or what what am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:53:05+00:00Added an answer on June 15, 2026 at 2:53 pm

    I had a similar problem on EC2 with two windows machines. I eventually got it working but I’m not sure I did it in the correct way so there may be a better solution.

    The issue I found was that the two nodes could not see each other when trying to cluster. Each time you start a Rabbit node it seemed to be assigned a port number dynamically.

    This obviously makes it very difficult to know which port to open up in the security group so to solve this, I restricted the range of ports Rabbit chose from when assigning the port. I restricted this to a range of 1 port on each node so I always know which port was being assigned.

    The easiest way I found to do this was by editing the sbin\rabbitmq-service.bat file.

    find the line -kernel inet_default_connect_options “[{nodelay,true}]” ^

    add the following two lines to the file underneath:

    -kernel inet_dist_listen_min ##### ^
    -kernel inet_dist_listen_max ##### ^

    replacing ##### with your chosen port number.

    So you should now open up the following ports:

    5672 – RabbitMQ’s listening port

    4369 – Erlang Port Mapper Daemon

    ##### – the chosen port number for the Erlang nodes to communicate via

    Because Erlang does not recognise FQDNs you may need to modify the hosts file on all the servers to make sure they are all able to resolve all the Erlang node name to an IP address, e.g.

    123.123.123.111 NODE1

    123.123.123.222 NODE2

    once this is done you should then be able to see each node from the other. you can do this by using calling the following from the command line (replacing rabbit@NODE2 with whichever node you want to see)

    rabbitmqctl status -n rabbit@NODE2

    Hope this give you some help, I’m no expert but found this got things working for me!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having some issues getting this MPMoviePlayerViewController to work. I have two sample URLs pointing
I'm having issues getting a simple server/client socket app working in C# between two
I'm having major issues with getting Hudson up and running on a gentoo server
Having issues getting jQuery to work in this scenario: Visual Studio 2010 .Net 4.0
We have been having issues with our ColdFusion server and getting the JRE configured
Hi I am trying out rubber gem with ec2 but having some issues getting
I am working on a Netty server, I am having issues with a custom
I am having some problems figuring out this issue. I have a server that
I am having issues getting the network.request function in Corona SDK working with a
I'm having some major issues getting a live tile to update its image via

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.