Symptoms:
/var/log/vmware/vpxd/vpxd.log, below log snippets are found:YYYY-MM-DDTHH:MM:SS error vpxd[7FA#####800] [Originator@#### sub=Default] [VdbStatement] Execute result code: -1YYYY-MM-DDTHH:MM:SS error vpxd[7FA#####800] [Originator@#### sub=Default] [VdbStatement] SQL execution failed: SELECT EVENT_ID, ARG_ID, ARG_TYPE, ARG_DATA, OBJ_TYPE, OBJ_NAME, VM_ID, HOST_ID, COMPUTERESOURCE_ID, DATASTORE_ID, NETWORK_ID, NETWORK_TYPE, DVS_ID, DATACENTER_ID, RESOURCEPOOL_ID, FOLDER_ID, ALARM_ID, SCHEDULEDTASK_ID FROM VPXV_EVENT_ARG WHERE (EVENT_ID IN (?))YYYY-MM-DDTHH:MM:SS error vpxd[7FA#####800] [Originator@#### sub=Default] [VdbStatement] Execution elapsed time: 91 msYYYY-MM-DDTHH:MM:SS error vpxd[7FA#####800] [Originator@#### sub=Default] [VdbStatement] Statement diagnostic data from driver is XX002:0:7:ERROR: index "pk_vpx_event_arg_49" contains unexpected zero page at block 9;
This issue is caused by a corrupt index in a specific Table under vPostgres Database, due to abrupt/unexpected reboot of the vCenter.
To resolve this issue, follow the steps below:
Note: Take Snapshot of the vCenter (Offline Snapshots if the vCenters are in linked mode).
vPostgres database, using below command:reindex index <index_name>;<index_name> with the name of the index found in the /var/log/vmware/vpxd/vpxd.log. reindex index pk_vpx_event_arg_49;
\qvpxd service, using below command:service-control --start vmware-vpxd