After I reboot the controllers node, the rabbitmq web can not access now.

asked 2017-07-04 02:54:56 -0500

liaodalin19903 gravatar image

I installed the rabbitmq on the VM1(controller1), VM2(controller2), VM2(controller3), and I all did the cluster for the three nodes for rabbitmq:

I can not access the rabbitmq website :xxx.xxx.xxx.xxx:15672 in the google, and I also test the rabbitmq cluster_status by below:

[root@controller1 ~]# rabbitmqctl cluster_status
Cluster status of node rabbit@controller1 ...
Error: unable to connect to node rabbit@controller1: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit@controller1]

rabbit@controller1:
  * connected to epmd (port 4369) on controller1
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on controller1
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-72@controller1'
- home dir: /var/lib/rabbitmq
- cookie hash: ddoRf9c8dnoMOEr3jgrxqQ==

And I list the rabbitmq-plugins:

[root@controller1 ~]#  /usr/lib/rabbitmq/bin/rabbitmq-plugins list 
 Configured: E = explicitly enabled; e = implicitly enabled
 | Status:   [failed to contact rabbit@controller1 - status not shown]
 |/
[E ] amqp_client                       3.6.5
[  ] cowboy                            1.0.3
[  ] cowlib                            1.0.1
[E ] mochiweb                          2.13.1
[  ] rabbitmq_amqp1_0                  3.6.5
[  ] rabbitmq_auth_backend_ldap        3.6.5
[  ] rabbitmq_auth_mechanism_ssl       3.6.5
[  ] rabbitmq_consistent_hash_exchange 3.6.5
[  ] rabbitmq_event_exchange           3.6.5
[  ] rabbitmq_federation               3.6.5
[  ] rabbitmq_federation_management    3.6.5
[  ] rabbitmq_jms_topic_exchange       3.6.5
[E ] rabbitmq_management               3.6.5
[E ] rabbitmq_management_agent         3.6.5
[  ] rabbitmq_management_visualiser    3.6.5
[  ] rabbitmq_mqtt                     3.6.5
[  ] rabbitmq_recent_history_exchange  1.2.1
[  ] rabbitmq_sharding                 0.1.0
[  ] rabbitmq_shovel                   3.6.5
[  ] rabbitmq_shovel_management        3.6.5
[  ] rabbitmq_stomp                    3.6.5
[  ] rabbitmq_top                      3.6.5
[  ] rabbitmq_tracing                  3.6.5
[  ] rabbitmq_trust_store              3.6.5
[E ] rabbitmq_web_dispatch             3.6.5
[  ] rabbitmq_web_stomp                3.6.5
[  ] rabbitmq_web_stomp_examples       3.6.5
[  ] sockjs                            0.3.4
[E ] webmachine                        1.10.3

Some friend can help me out the the situation? why my rabbitmq go wrong?

edit retag flag offensive close merge delete

Comments

I have a similar problem with rabbitmq. I tried the following setting: ListenStream=0.0.0.0:4369 in a systemd drop-in in /etc/systemd/system/epmd.socket.d, but this only alleviates the problem (rabbitmq-plugins still does not work). I try a single controller installation with Newton.

mlschuler gravatar imagemlschuler ( 2017-07-05 03:21:46 -0500 )edit

@mschuler I use three nodes, to do HA.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-07-06 20:59:34 -0500 )edit