Cloud Proxy shows Offline with HAProxy error "unknown keyword ',libc,none'"
search cancel

Cloud Proxy shows Offline with HAProxy error "unknown keyword ',libc,none'"

book

Article ID: 441373

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • The Cloud Proxy status appears as Offline in the VMware Aria Operations UI.
  • The haproxy service on the Cloud Proxy appliance fails to start or remains in a failed state.
  • When you check the service status using systemctl status haproxy.service, you will see:

Failed to start HAproxy Load Balancer

  • Using journalctl -u haproxy, you see an error similar to:

[ALERT] #### : config : [/etc/haproxy/haproxy.cfg:####] : 'server ####' : unknown keyword ',libc,none'.

[ALERT] #### : config : Fatal errors found in configuration.

Environment

Aria Operations 8.18.x

Cause

The HAProxy configuration file /etc/haproxy/haproxy.cfg contains a syntax error. The parser does not recognize the keyword string ,libc,none when it is formatted incorrectly (often with a leading comma or incorrect spacing) on the server backend lines. This prevents the load balancer from initializing, which breaks the communication path to the primary cluster

Resolution

To resolve this issue, you must manually correct the syntax in the HAProxy configuration file:

  • Log in to the Cloud Proxy appliance as the root user via SSH or the VM console.
  • Create a backup of the current configuration file by running: cp /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.bak
  • Open the configuration file in a text editor: vi /etc/haproxy/haproxy.cfg
  • Modify all affected server entries from init-addr last ,libc,none to init-addr last,libc,none

Note: Extra space between last and libc needs to be removed

  • Save the changes and exit the editor.
  • Restart the HAProxy service to apply the new configuration: systemctl restart haproxy
  • Verify that the service is now running correctly: systemctl status haproxy

Once the service starts successfully, you verify that the Cloud Proxy transitions back to an Online status in the VMware Aria Operations UI.