NVP vProxy: "rabbitmq" nere efter avaktivering av IPV6 för vproxy

Summary: rabbitmq-tjänsten är nere efter att ha inaktiverat IPV6 och på grund av detta nekas anslutningen på port 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 har inaktiverats på vProxy-enheten.
  • VProxys /data01/runtime/logs/vrapid/vrapid-engine.log Loggen innehåller följande:
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 Det går inte att starta när IPv6 är inaktiverat och på grund av detta är vRapid nere

 

Resolution

Alternativ lösning:

  1. Återaktivera IPV6, se till att vrapid är igång, anslut till vProxy som administratör och su Att rota:

    sudo su -
  2. Skapa en kopia av rabbitmq.conf:

    cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
  3. Kontrollera de aktuella listorna:

    rabbitmq-diagnostics listeners

    Exempel:

    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. Ändra filen rabbitmq.config för att ta bort ipv6-listner:

    vi /etc/rabbitmq/rabbitmq.config

    Från:

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

    Till

    ######################################
    
    
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}]}]
    }
    ].
    
    
    ######################################
    ######################################
  5. Starta om vProxy:

    reboot
  6. Bekräfta att Rabbit- och vRapid-tjänsterna är igång:

    systemctl status rabbitmq-server.service
    systemctl status vrapid.service
  7. Kontrollera anslutningen på port 9090 med hjälp av curl-kommandot:

    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.