sps, vpxd, vmware-postgres-archiver, vpxd-svcs, vc-ws1a-broker) fails to start and the vCenter UI reports "503 Service Unavailable" error.Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start sps, vpxd, vmware-postgres-archiver, vpxd-svcs, vc-ws1a-broker services. Error: Operation timed out
/var/log/vmware/vpxd-svcs/vpxd-svcs.log contains errors indicating SCRAM authentication failures:Caused by: com.vmware.cis.core.kv.impl.Exception.KVExecutionException: SQL Error:Caused by: org.postgresql.util.PSQLException: The server requested SCRAM-based authentication, but no password was provided.
/var/log/vmware/vpxd/vpxd.log contains the following socket connection failures:error vpxd[72949] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Failed to connect to database: ODBC error: (08001) - [unixODBC]connection to server on socket "/var/run/vpostgres/.s.PGSQL.5432" failed: fe_sendauth: no password suppliedVMware vCenter Server 8.x
The issue is caused by incorrect or corrupted entries within the pg_hba.conf and pg_ident.conf configuration files located in the /storage/db/vpostgres directory, which prevents vCenter services from successfully authenticating to the local vPostgres database.
pg_hba.conf and pg_ident.conf files from the /storage/db/vpostgres/ directory of the working vCenter Server./storage/db/vpostgres/ directory.chown vpostgres:vpgmongrp /storage/db/vpostgres/pg_hba.conf /storage/db/vpostgres/pg_ident.confservice-control --stop --allservice-control --start --all