Ich habe rabbitmq in zwei Maschinen installiert. Und alle haben gut funktioniert. Dann laufe ich den Befehl: rabbitmqctl join_cluster --ram [email protected]
, es nicht den Fehler Info work.and:rabbitmq Cluster kann keine Verbindung zu Knoten herstellen
Error: unable to connect to nodes [[email protected]]: nodedown
DIAGNOSTICS
===========
attempted to contact: [[email protected]]
[email protected]:
* connected to epmd (port 4369) on rabbit1
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* Hostname mismatch: node "[email protected]" believes its host is different.
Please ensure that hostnames resolve the same way locally and on
"[email protected]"
current node details:
- node name: '[email protected]'
- home dir: /var/lib/rabbitmq
- cookie hash: 9z8msPdTpEUf5GeMrHGIqQ==
ich es in google gesucht, und ich hatte meine/etc geändert/hosts-Datei:
127.0.0.1 rabbit2 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 rabbit2 localhost localhost.localdomain localhost6
localhost6.localdomain6
11.168.1.232 rabbit1
11.168.1.172 rabbit2
Und das .erlang.cookie habe ich ihnen gleich gemacht.
vielleicht die Firewall? – Gabriele
Nein, ich löste dies durch Neustart meines os. –