NVP vProxy: "rabbitmq" niet beschikbaar na het uitschakelen van IPV6 voor vproxy

Summary: rabbitmq-service is uitgeschakeld na het uitschakelen van IPV6 en hierdoor wordt de verbinding geweigerd op poort 5672

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

  • IPv6 is uitgeschakeld op de vProxy-appliance.
  • De vProxy's /data01/runtime/logs/vrapid/vrapid-engine.log Het logboek bevat het volgende:
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 Kan niet opstarten wanneer IPv6 is uitgeschakeld en hierdoor Vrapid niet beschikbaar is

 

Resolution

Tijdelijke oplossing:

  1. Schakel IPV6 opnieuw in zorg ervoor dat vrapid actief is, maak verbinding met de vProxy als beheerder en su Om te rooten:

    sudo su -
  2. Maak een kopie van rabbitmq.conf:

    cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
  3. Check de huidige listners:

    rabbitmq-diagnostics listeners

    Voorbeeld:

    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
  4. Wijzig het bestand rabbitmq.config om ipv6 listner te verwijderen:

    vi /etc/rabbitmq/rabbitmq.config

    Van:

    ######################################
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}, {"::1", 5672}]}]
    }
    ].
    
    ######################################
    ######################################

    Naar

    ######################################
    
    
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}]}]
    }
    ].
    
    
    ######################################
    ######################################
  5. vProxy opnieuw opstarten:

    reboot
  6. Bevestig dat rabbit- en vrapid-services actief zijn:

    systemctl status rabbitmq-server.service
    systemctl status vrapid.service
  7. Controleer de connectiviteit op poort 9090 met de curl-opdracht:

    curl -v localhost:9090

 

Products

Data Protection
Article 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.