NVP vProxy: vproxy için IPV6'yı devre dışı bıraktıktan sonra "rabbitmq" çalışmıyor

Summary: IPV6 devre dışı bırakıldıktan sonra rabbitmq hizmeti çalışmıyor ve bu nedenle bağlantı 5672 numaralı bağlantı noktasında reddedildi

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

  • VProxy cihazında IPv6 devre dışı bırakıldı.
  • vProxy'nin /data01/runtime/logs/vrapid/vrapid-engine.log Günlük aşağıdakileri içerir:
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 IPv6 devre dışı bırakıldığında başlatılamıyor ve bu nedenle vRapid çalışmıyor

 

Resolution

Geçici Çözüm:

  1. IPV6'yı yeniden etkinleştirin, vrapid'in açık olduğundan emin olun, vProxy'ye yönetici olarak bağlanın ve su kök için:

    sudo su -
  2. rabbitmq.conf dosyasının bir kopyasını oluşturun:

    cp -P /etc/rabbitmq/rabbitmq.config /etc/rabbitmq/rabbitmq.config.orig
  3. Geçerli liste oluşturucuları kontrol edin:

    rabbitmq-diagnostics listeners

    Example:

    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. IPv6 listner'ı kaldırmak için rabbitmq.config dosyasını değiştirin:

    vi /etc/rabbitmq/rabbitmq.config

    Kaynak:

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

    Şunu yapmak için:

    ######################################
    
    
    
    [
    {rabbit,
    [{tcp_listeners,
    [{"127.0.0.1", 5672}]}]
    }
    ].
    
    
    ######################################
    ######################################
  5. vProxy'yi yeniden başlatın:

    reboot
  6. Rabbit ve vrapid hizmetlerinin çalışır durumda olduğunu onaylayın:

    systemctl status rabbitmq-server.service
    systemctl status vrapid.service
  7. Şu curl komutunu kullanarak bağlantı noktası 9090'da bağlantıyı kontrol edin:

    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.