NVP vProxy: "rabbitmq" nie działa po wyłączeniu IPV6 dla vproxy
Summary: Usługa rabbitmq jest wyłączona po wyłączeniu protokołu IPv6 i z tego powodu połączenie na porcie 5672 jest odrzucane.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
- Protokół IPv6 został wyłączony na urządzeniu vProxy.
- Atrybuty vProxy
/data01/runtime/logs/vrapid/vrapid-engine.logDziennik zawiera następujące elementy:
2021-02-03T08:47:55Z ERROR: Engines IPC: Connection 1: Cannot connect to message bus 'amqp://guest:guest@localhost:5672/': dial tcp 127.0.0.1:5672: connect: connection refused 2021-02-03T08:48:10Z TRACE: Engines IPC: Connection 1: Connecting to the message bus... 2021-02-03T08:48:10Z ERROR: Engines IPC: Connection 1: Cannot connect to message bus 'amqp://guest:guest@localhost:5672/': dial tcp 127.0.0.1:5672: connect: connection refused 2021-02-03T08:48:25Z TRACE: Engines IPC: Connection 1: Connecting to the message bus... 2021-02-03T08:48:25Z ERROR: Engines IPC: Connection 1: Cannot connect to message bus 'amqp://guest:guest@localhost:5672/': dial tcp 127.0.0.1:5672: connect: connection refused
Cause
rabbitmq Nie uruchamia się, gdy protokół IPv6 jest wyłączony i z tego powodu vRapid nie działa.
Resolution
Obejście problemu:
-
Ponownie włącz IPV6, upewnij się, że vrapid działa, połącz się z vProxy jako administrator i
suAby zrootować:sudo su -
-
Utwórz kopię pliku rabbitmq.conf:
cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
-
Sprawdź aktualne listy:
rabbitmq-diagnostics listeners
Przykład:
Interface: 127.0.0.1, port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0 Interface: [::1], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
-
Zmodyfikuj plik rabbitmq.config, aby usunąć listę ipv6:
vi /etc/rabbitmq/rabbitmq.config
Z:
###################################### [ {rabbit, [{tcp_listeners, [{"127.0.0.1", 5672}, {"::1", 5672}]}] } ]. ###################################### ######################################do
###################################### [ {rabbit, [{tcp_listeners, [{"127.0.0.1", 5672}]}] } ]. ###################################### ###################################### -
Uruchom ponownie vProxy:
reboot
-
Upewnij się, że usługi rabbit i vrapid są uruchomione:
systemctl status rabbitmq-server.service systemctl status vrapid.service
-
Sprawdź łączność na porcie 9090 za pomocą polecenia curl:
curl -v localhost:9090
Products
Data ProtectionArticle Properties
Article Number: 000182732
Article Type: Solution
Last Modified: 11 Nov 2024
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.