Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

503 error on vCSA 6.5.0a running on ESXi 6.5.0a

2017-03-23 · Posted in VMWare

So, I opened a case with VMware and it’s a known issue for vCenter 6.5.0a. The below fix directly solved the error I was seeing.

Information attached for reference only. Please be aware that this may NOT be applicable to your system and may bork it completely!

Symptoms

On the webclient, the web page shows the error: 503 Service Unavailable (Failed to connect to endpoint). . .

PowerCLI cannot connect to vCenter.

vpxd on vCenter Server 6.5 intermittently crashes with the following error stack in the vpxd log file:

 Note:

  • The VMware vCenter Server 6.5 vpxd logs are located in the %ALLUSERSPROFILE%\VMWare\vCenterServer\logs\vmware-vpx folder.
  • The VMware vCenter Server Appliance vpxd 6.5 logs are located in the /var/log/vmware/vmware-vpx folder.

 Resolution

Caution: Before making database modifications, ensure there is a working backup of the database or snapshot.

 If the embedded postgres database is being used, locate the duplicate key in the postgresql logs:

 postgresql.log

 Note: The postgresql.log  can be found in var/log/vmware/vpostgres

 To connect to the embedded postgres database:

To remove the duplicate key run the below command:

(modify the id and device_key according to your vpxd log below!):

Leave a Reply