After rebooting newly implemented vcenter 5.1, vcenter services are failed to start

Issue: –  Vcenter server service is failed to start

Error Logs: –   

vpxd logs

 

TCP:172.16.2.181:7444>; cnx: (null), error: class Vmacore::SystemException(No connection could be made because the target machine actively refused it. )

Line 1176: 2017-07-04T03:03:49.903-07:00 [02208 error ‘HttpConnectionPool-000001’] [ConnectComplete] Connect failed to <cs p:000000000b4fc720, TCP:172.16.2.181:7444>; cnx: (null), error: class Vmacore::SystemException(No connection could be made because the target machine actively refused it. )

Line 1179: 2017-07-04T03:04:00.948-07:00 [02208 error ‘HttpConnectionPool-000001’] [ConnectComplete] Connect failed to <cs p:000000000b4fc720, TCP:172.16.2.181:7444>; cnx: (null), error: class Vmacore::SystemException(No connection could be made because the target machine actively refused it. )

Line 1182: 2017-07-04T03:04:11.961-07:00 [02208 error ‘HttpConnectionPool-000001’] [ConnectComplete] Connect failed to <cs p:000000000b4fc720, TCP:172.16.2.181:7444>; cnx: (null), error: class Vmacore::SystemException(No connection could be made because the target machine actively refused it. )

Line 1185: 2017-07-04T03:04:22.990-07:00 [02208 error ‘HttpConnectionPool-000001’] [ConnectComplete] Connect failed to <cs p:000000000b4fc720, TCP:172.16.2.181:7444>; cnx: (null), error: class

Event viwer 

The description for Event ID 1000 from source VMware VirtualCenter Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

Findings: – 

  • Open CMD à netstat –ano  à port 7444 was not in listening list
  • Open SQL configuration manager à TCP/IP à IP all à dynamic port is configured by default which causes issue after rebooting vcenter server

Action taken to resolve the issue: –

  • Stop the SSO service
  • Removed port in Dynamic Ports and type 1433 in TCP port
  • From a CMD prompt go to: C:\Program Files\VMware\Infrastructure\SSOServer\utils
  • Then run the following command:
  •   ssocli configure-riat -a configure-db –database-host WIN-srv1 –database-port 1433 -m SSO Master password
  • Vcenter Server host name
  • Port Number
  • SSO master password
  • Open config.properties file, located at SSO_Install_Directory\webapps\lookupservice\WEB-INF\classes, using a text editor.
  • Locate the line db.url= and replace the port number with the new value.
  • Start the vCenter Single Sign-On service.
  • Open CMD à netstat –ano  à now I can see port 7444 is listening list
  • Start the vcenter server service and now it working fine and able to access vcenter management console.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s