vSphere client is inaccessible with following error from Browser.
vSphere Client service has stopped working.
For troubleshooting refer Skyline Health Diagnostics.
Learn more by checking VMware vSphere Documentation and Support.
For appliance administration, navigate to vCenter Server Management appliance.
Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start sps, vstats, topologysvc, hvc, certificatemanagement, vpxd-svcs, content-library services. Error: Operation timed out
root@VCFQDN[ ~ ]# service-control --start vpxd-svcs
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vpxd-svcs...
Error executing start on service vpxd-svcs. Details {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"vpxd-svcs"
],
"localized": "An error occurred while starting service 'vpxd-svcs'"
}
],
"componentKey": null,
"problemId": null,
"resolution": null
}
Service-control failed. Error: {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"vpxd-svcs"
],
"localized": "An error occurred while starting service 'vpxd-svcs'"
}
],
"componentKey": null,
"problemId": null,
"resolution": null
}
/var/log/vmware/vmon/vmon.log :
YYYY-MM-DDThh:mm:ss In(05) host-18122## Received start request for vpxd-svcs
YYYY-MM-DDThh:mm:ss In(05) host-18122## <vpxd-svcs-prestart> Constructed command: /usr/bin/python /usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/main.py /storage /var/log
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <sps> Service api-health command's stderr: Exception while retrieving health xml from url http://localhost:22000/sms/HealthStatus. Exception: <urlopen error [Errno 111] Connection refused>
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss In(05) host-18122## <sps> Re-check service health since it is still initializing.
YYYY-MM-DDThh:mm:ss In(05) host-18122## <vsan-health> Running the API Health command as user vsan-health
YYYY-MM-DDThh:mm:ss In(05) host-18122## <vsan-health-healthcmd> Constructed command: /usr/bin/python /usr/lib/vmware-vpx/vsan-health/vsanhealth-vmon-apihealth.py
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: Traceback (most recent call last):
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/main.py", line 213, in <module>
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: endpoint_registration_runner()
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/main.py", line 99, in endpoint_registration_runner
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: UpdateTaggingServiceGrpcEndpoint(logger).run()
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/tagging_grpc_registration.py", line 51, in run
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: self.update_endpoints()
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/tagging_grpc_registration.py", line 82, in update_endpoints
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: sts_url, sts_cert_data = ls_obj.get_sts_endpoint_data()
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 330, in get_sts_endpoint_data
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: raise Exception("Unable to get sts url from LS")
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Wa(03) host-18122## <vpxd-svcs> Service pre-start command's stderr: Exception: Unable to get sts url from LS
YYYY-MM-DDThh:mm:ss Wa(03)+ host-18122##
YYYY-MM-DDThh:mm:ss Er(02) host-18122## <vpxd-svcs> Service pre-start command failed with exit code 1.
/var/log/vmware/lookupsvc/lookupserver-default.log
[YYYY-MM-DDThh:mm:ss pool-#-thread-## INFO com.vmware.vim.lookup.impl.LdapStorage] Search yielded empty list with filter: com.vmware.vim.lookup.ServiceRegistrationTypes$Filter@e578b90[siteId=<null>,nodeId=<null>,serviceProduct=com.vmware.cis,serviceType=cs.identity,endpointType=com.vmware.cis.cs.identity.sso,endpointProtocol=wsTrust,endpointTrustAnchor=<null>,searchAllSsoDomains=false]
(Replace the SSO domain and the SSO password as per the environment):
ldapsearch -o ldif-wrap=no -LLL -h localhost -b "cn=ServiceRegistrations,cn=LookupService,cn=Default-First-Site,cn=Sites,cn=Configuration,dc=vsphere,dc=local" -s sub -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -w 'SSO_PWD' | grep vmwLKUPEndpointProtocol | grep wsTrust
An ideal output should look like this:
vmwLKUPEndpointProtocol: wsTrust
vCenter Server 7.x, 8.x
This issue happens when endpoint registration for STS is missing.
To resolve this issue rebuild the service registrations using the lsdoctor tool:
lsdoctor Tool with -r and option 2 to rebuild the servicesservice-control --stop --all && service-control --start --all