localhost" following a reboot./var/log/vmware/vpxd/vpxd.log , following events are observed :
YYYY-MM-DDThh-mm-ss.613Z error vpxd[3668659] [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: FATAL: Peer authentication failed for user "vpxd"--> . Retry attempt: 2945 ...YYYY-MM-DDThh-mm-ss.623Z info vpxd[3668659] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vpxdYYYY-MM-DDThh-mm-ss.626Z info vpxd[3668659] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vpxdYYYY-MM-DDThh-mm-ss.629Z info vpxd[3668659] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vpxdYYYY-MM-DDThh-mm-ss.631Z info vpxd[3668659] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vpxd
/usr/sbin/vpxd to verify if vpxd.cfg file is valid, it gives the below output :
YYYY-MM-DDThh-mm-ss.271Z info vpxd[3727273] [Originator@6876 sub=Default] [VdbSchemaLoader::LookupSchemaFromDB] Loaded schema and index information from DBYYYY-MM-DDThh-mm-ss.285Z error vpxd[3727273] [Originator@6876 sub=vpxdVdb] Database version will not be set in vpxd.cfgYYYY-MM-DDThh-mm-ss.287Z warning vpxd[3727273] [Originator@6876 sub=Default] [Vdb::LockRepositoryHelper] Failed to get exclusive lock: P0001:1:ODBC error: (P0001) - ERROR: Failed Lock--> DETAIL: Failed to exclusive lock vCenter repository!;--> Error while executing the query
localhost" or IP instead of FQDN./etc/vmware-vpx/vpxd.cfg is valid or corrupt using KB : Validating corrupt VCSA (vpxd.cfg)/etc/vmware-vpx/vpxd.cfg file to a notepad and save the file with extension ".xml"This page contains the following errors: error on line <number> at column <number>: Opening and ending tag mismatch: <tag name> line <number> and <parent tag name>/etc/vmware-vpx/vpxd.cfg file using the vi editor on the vCenter Server, and correct the mismatched tag on the line indicated in the error message.
/etc/vmware-vpx/vpxd.cfg file on vi editor to make the changes.Esc, then type: :wqservice-control --restart vpxd