VAMI page for vCenter is inaccessible
search cancel

VAMI page for vCenter is inaccessible

book

Article ID: 413596

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

VAMI page for vCenter is inaccessible 

Checking status of service  systemctl status cap-lighttpd -l shows failed with the following:

Duplicate config variable in conditional 0 global: xxxxxxxxx
OR
/var/lib/vmware/cap-lighttpd/lighttpd.conf  line: ### pos: ## invalid character

 

Environment

VMware vCenter 8.x

Cause

Vami-lighttpd, fails to start and listen on port 5480 due to configuration errors caused by duplicate entries introduced during the application of Security Technical Implementation Guides (STIGs).

Resolution

Perform the following step:

  1. Take snapshot of the vCenter
  2. SSH  to the appliance
  3. Change directory to /var/lib/vmware/cap-lighttpd/
  4. Deleted duplicate entries (from the error) XXXXXXXXXXXXXX from the file lighttpd.conf
    OR
    Delete any lines (from the error) from lighttpd.conf that are giving invalid character error when starting the cap-lighttpd service.
  5. Restart the service:
    systemctl stop cap-lighttpd
    systemctl start cap-lighttpd
  6. Reload the VAMI page