Wednesday, 13 February 2019

503 service unavailable" error when connecting to vSphere Web Client

After Restart Vcenter windows server more than 1 hours the vSphere Web Client its showing  503 Service Unavailable issue.




some web research after found below solution thanks to TERENCE LUK

Solution:


Verify that vCenter Server services are running using this command (this can be ran on a Windows installation or Appliance):

Im using windows vcenter server.

service-control --status --all

From the vcenter windows server, 

C:\Program Files\VMware\vCenter Server\bin


here some service not starting.

the message is presented is if the Postgres database is unable to start thus causing the vCenter login portal to not load.  For this example, the reason why the Postgres database engine would not start is because the Windows Server hosting the vCenter services and Postgres database had the security permissions for the Log on as a batch job overwritten by a group policy in the domain.  This is what was displayed when I checked the vCenter Windows Server Log on as a batch job policy accounts:

my  domain policy disabled Log on as a batch job.

after some small changes my default domain policy.

Added these accounts to the Log on as a batch job policy of effective GPO. To add the accounts, navigate to Computer Configuration > Windows Settings >Security Settings>Local Policies > User Rights Assignment > Log on as a batch job

  • cm
  • content-library
  • eam
  • imagebuilder
  • mbcs
  • netdumper
  • perfcharts
  • rbd
  • vapiEndpoint
  • vmware-vpostgres
  • vsan-health
  • vsm
  • vsphere-client
  • vsphere-ui
[image%5B3%5D]



Reboot the vCenter Server.

after restart vcenter server wailt 10 to 15 mints

check  the vCenter services by running this command:

service-control --start --all



No comments:

Post a Comment

McAfee Endpoint Encryption 7.0 – Fatal Error: [0xEE0E0001]

Errors Fatal Error [ee000007] Internal initialization error Fatal error: File access error at startup  Fatal error: 0xEE0D0001 - Fail...