Smarts NCM: Device Server installation failed with error: Timeout exceeded waiting for server configuration to sync; The server registration process failed. Verify that the Apache HTTP Server is running and listening on both TCP 80 and TCP 443
book
Article ID: 331073
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
Unable to complete installation of Smarts NCM
Below is an error snippet of this issue from the daemon logs :
ERROR: Timeout exceeded waiting for server configuration to sync. ERROR: The server registration process failed. Verify that the Apache HTTP Server is running and listening on both TCP 80 and TCP 443.
Mar 16 04:15:32 -281663520#1: llPROF: check1 after setup milli 0, secs 0 Mar 16 04:18:41 -281663520#1: Connect failed: Connection timed out Mar 16 04:18:41 -281663520#1: HTTP Error: Remote connection failed: Connection timed out Mar 16 04:18:41 -281663520#1: Error: Configuration can't be set Mar 16 04:18:41 -281663520#1: Error: HTTP Error: Remote connection failed: Connection timed out Mar 16 04:18:41 -281663520#1: Starting Voyence Control!... Mar 16 04:18:41 setupmgr#1| 5204: -------- setupmgr: stopped 9.3.0.0.106 --------
Copying /tmp/lockb.clb /apps/smarts-ncm/data/ ==> Retrieving the test secret... Error: Lockbox Access Error: The system hostname key is missing from the Lockbox. Resolution:Lockbox Access Error: Please check the lockbox access on this server, Please refer to the NCM troubleshooting guide for possible resolution.
Environment
VMware Smart Assurance - NCM
Cause
Smarts NCM installation fails due to tcp ports 80 and 443 being occupied by other processes.
Resolution
We need to free tcp ports 80 and 443 before proceeding with the installation.
Use to following command to check the
netstat -anpt | grep <port>
For instance port 80:
netstat -anpt | grep 80
tcp 0 0 :::80 :::* LISTEN 4382/httpd
In this case the pid which is using port 80 is 4382