I have successfully upgraded my VCSA 6 to 6.5 - after the upgrade I was able to login and use the vsphere web client without issue.
I then upgraded my single ESXi 6 host to 6.5, which was successful. After booting up the VCSA, after logging into the Vsphere client I get the following error:-
Could not connect to one or more vCenter Server systems:
At this point the client is unusable. I have tried stopping and restarting all services via SSH, and rebooting the VCSA, however nothing has helped.
I have also tried following the instructions here “Failed to verify the SSL certificate for one or more vCenter Server Systems” error in the vSphere W... - However I only see 1 Service ID, so there doesn't appear to be a duplicate entry..
Many thanks
vpxd is crashing because of duplicate id's in VCDB. Connect to VCDB and remove the duplicate one's.
/var/log/vmware/vpostgres/postgresql.log would provide the duplicate id.
Ex:-
postgresql.log
UTC 583a9c81.5814 127750 VCDB vc ERROR: duplicate key value violates unique constraint "pk_vpx_vm_virtual_device"
UTC 583a9c81.5814 127750 VCDB vc DETAIL: Key (id, device_key)=(361, 3002) already exists.
DELETE FROM vc.vpx_vm_virtual_device where id='361' and device_key='3002';
replace the id with the one's from logs.
Regards,
AJ
If Ad-Block is running in your browser, disable it as I encountered an error loading the vCenter UI - Disable Ad-Block resolved it.