NVP vProxy: "rabbitmq" nede etter deaktivering av IPV6 for vproxy

Summary: rabbitmq-tjenesten er nede etter deaktivering av IPV6, og på grunn av dette nektes tilkoblingen 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 er deaktivert på vProxy-apparatet.
  • Den vProxy's /data01/runtime/logs/vrapid/vrapid-engine.log Loggen inneholder følgende:
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 Starter ikke når IPv6 er deaktivert, og på grunn av dette er vrapid nede

 

Resolution

Omgåelse av problemet:

  1. Aktiver IPV6 på nytt sørg for at vrapid er oppe, koble til vProxy som administrator og su Slik roter:

    sudo su -
  2. Opprett en kopi av rabbitmq.conf:

    cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
  3. Sjekk gjeldende lister:

    rabbitmq-diagnostics listeners

    Eksempel:

    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. Endre rabbitmq.config-filen for å fjerne ipv6 listner:

    vi /etc/rabbitmq/rabbitmq.config

    Fra:

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

    Hvis du vil

    ######################################
    
    
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}]}]
    }
    ].
    
    
    ######################################
    ######################################
  5. Start vProxy på nytt:

    reboot
  6. Bekreft at kanin- og vrapid-tjenestene er oppe og går:

    systemctl status rabbitmq-server.service
    systemctl status vrapid.service
  7. Kontroller tilkoblingen på port 9090 ved hjelp av curl-kommandoen:

    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.