NVP vProxy: "rabbitmq" está inactivo después de deshabilitar IPV6 para vproxy

Summary: El servicio de rabbitmq se cae después de deshabilitar IPV6 y debido a esto se rechaza la conexión en el puerto 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

  • Se deshabilitó IPv6 en el dispositivo vProxy.
  • El vProxy de /data01/runtime/logs/vrapid/vrapid-engine.log El registro contiene lo siguiente:
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 No se inicia cuando IPv6 está deshabilitado y, debido a esto, vrapid está inactivo

 

Resolution

Solución alternativa:

  1. Vuelva a habilitar IPV6, asegúrese de que vrapid esté activo, conéctese al vProxy como administrador y su Para rootear:

    sudo su -
  2. Cree una copia de rabbitmq.conf:

    cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
  3. Echa un vistazo a los listados actuales:

    rabbitmq-diagnostics listeners

    Ejemplo:

    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. Modifique el archivo rabbitmq.config para eliminar ipv6 listner:

    vi /etc/rabbitmq/rabbitmq.config

    De:

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

    Para

    ######################################
    
    
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}]}]
    }
    ].
    
    
    ######################################
    ######################################
  5. Reinicio de vProxy:

    reboot
  6. Confirme que los servicios Rabbit y vrapid estén en funcionamiento:

    systemctl status rabbitmq-server.service
    systemctl status vrapid.service
  7. Compruebe la conectividad en el puerto 9090 mediante el comando curl:

    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.