Administrators may be unable to access the vCenter. They may find that the vpxd and inventory service failed to start.
Error message: 503 Service Unavailable Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x00007f975808ee30] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
There can be various causes for this error. Below are two possible scenarios:
Periodically, the password used by the machine's account is automatically refreshed.
This password is stored on the Machine Account on vCenter Server and within the VMware Directory Service residing on the Platform Services Controllers. If the backup used to perform a restore predates the most recent password refresh, upon restore, the Machine Account is unable to log in to the VMware Directory Service.
Also, if the vCenter Server is rolled back to a snapshot state which predates the most recent password refresh, upon restore, the Machine Account is unable to log in to the VMware Directory Service.
An ISO is mounted to any number of VMs from within vCenter UI, with lengthy names when using the Content Library on VSAN Datastores. This makes it too long for the database.
In the /var/log/vmware/vpxd.log
file, one of the last lines reads string too large
or string too large for database
.
For vCenter Server Appliance:
shell
command to switch to BASH./usr/lib/vmware-vmafd/bin/dir-cli computer password-reset --login administrator --live-dc-hostname
<Platform Services Controller FQDN> --password
<administrator@vsphere.local password>/usr/lib/vmware-vmafd/bin/dir-cli computer password-reset --login administrator --live-dc-hostname mgmt01psc01.sfo01.rainpole.local --password 'VMware1!'
Password for machine account reset.
service-control --stop --all
service-control --start --all
Follow VMware KB article Cannot connect host to vCenter due to error: string too large for database (55610).
In case neither scenario applies, use this VMware KB article for additional troubleshooting: "503 Service Unavailable" error on the vSphere Web Client when logging in or accessing the vCenter Server (67818).
VMware KB articles:
Related Resources
Here are some recommended resources related to this topic that might be of interest to you: