<timestamp> Wa(03) host-1961 <vmware-vpostgres> Service api-health command's stderr: Service health xml file is stale. Current time: 1710124, expiration time: 1706828. Treating service health state RED.
<timestamp> Wa(03)+ host-1961
<timestamp> Wa(03) host-1961 <vmware-vpostgres> Service api-health command's stderr: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><healthStatus schemaVersion="1.0" xmlns="http://www.vmware.com/cis/cm/common/jaxb/healthstatus"><status>GREEN</status><message messageKey="cis.vmware-vpostgres.health.healthy" defaultMessage="Service vmware-vpostgres is healthy."></message><expirationMonoSec>1706828</expirationMonoSec></healthStatus>
<timestamp> Wa(03) host-1961 <vmware-vpostgres> Health of service failed. Health data: {"localizable_msgs": [{"id": "com.vmware.vmon.svc_health_timeout", "default_message": "Service is in an unhealthy state.", "args": []}], "_service_name": "vmware-vpostgres", "_trigger_threaddump_on_failure": 0}
<timestamp> In(05) host-1961 <vmware-vpostgres> Recover from service api health check failure. Fail count 24913
vCenter Server Appliance
There are two health status worker configuration files:
/storage/db/vpostgres/health_status_worker.conf
/storage/db/vpostgres/health_status_worker.confe
One of those files, health_status_worker.confe, should not be present, and the other has an incorrect value set for the health_status_worker.naptime parameter.
mkdir /temp
mv /storage/db/vpostgres/health_status_worker.confe /temp/
health_status_worker.naptime
value from its current value to 30 in the health_status_worker.conf
file.