YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] Unable to read from '/etc/motd':N7Vmacore23FileIONotFoundExceptionE(FileIO error: Could not find file : /etc/motd)
YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Ignoring unknown entry from DB: alarms.upgraded
YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Ignoring unknown entry from DB: VirtualCenter.LDAPAdminPrincipal
YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Ignoring unknown entry from DB: VirtualCenter.VimWebServicesUrl
2YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Ignoring unknown entry from DB: vpxd.hostkey.newIfMissing
YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Ignoring unknown entry from DB: vpxd.kmscert.threshold
YYYY-MM-DD HH:MM:SS:MS error vpxd[7F1B2EDB8800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Skipping bad entry config.vpxd.enableDebugBrowse from DB. Resetting to default.Exception: vmodl.fault.InvalidArgument
To resolve this issue restore the vCenter or the database from a recent backup.
OR
Workaround:
Run the following command to ensure that the vmware-vpostgres
service is running:
# service-control --status --all
Ensure that there is sufficient disk space on the vCenter Appliance:
If the disk is full, it could be impacting the performance of the vCenter.
To check the consistency of the vPostgres database, please follow the steps outlined in the KB article: Validate the Consistency of the vCenter Server Appliance 6.5 and Newer Databases (53062).
Use the following SQL query to identify any corrupted entries in the vpx_vm
table:
This will provide a list of ID numbers. Copy the list to a text editor and format the following SQL query for each ID:
Run these SQL commands. Any errors generated will indicate corruption in the database (e.g., ERROR: missing chunk number 0 for toast value 2528290 in pg_toast_19544
).
Once you’ve identified the corrupted entries, remove them from the database using the following SQL commands:
For more detailed steps on removing stale entries from the vCenter database, please refer to the KB: Manually removing a stale VM from the vCSA DB (2148073).
After removing any corrupted entities from the database, stop all vCenter services and attempt to restart them:
By following these steps, we should be able to resolve any database corruption issues and get the vCenter services running as expected.