vSAN health service fails to start on vCenter Server — article index
search cancel

vSAN health service fails to start on vCenter Server — article index

book

Article ID: 433327

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • The vmware-vsan-health service on vCenter Server fails to start or remain running.
  • The vSAN health, monitoring, and administration views do not appear in the vSphere Client.
  • You see an error similar to:
    An error occurred while starting service 'vsan-health'
    
  • VAMI-based backup jobs fail with a message similar to:
    Invalid vCenter Server Status: All required services are not up! Stopped services: 'vsan-health'
    
  • vSphere Replication or Site Recovery Manager operations fail due to the service being unavailable.

This article helps you identify which specific article applies to your situation. Use the log evidence and symptoms in the table below to find the correct resolution.

Environment

  • VMware vCenter Server 6.7 and later

Resolution

vCenter Version AffectedArticleKey SymptomsDistinguishing Notes
6.7vSAN-Health Service fails to startService fails to start; VAMI backup and vSphere Replication fail with 503; PermissionError: [Errno 1] Operation not permitted in /var/log/vmware/vsan-health/vmware-vsan-health-runtime.log.stderrMost likely after upgrading to 6.7 U3 with vsan-health disabled before the upgrade; Site Recovery Manager operations also affected
6.7vmware-vsan-health service fails to start after update to vCenter 6.7U3 with Error : Validation of VMOMI server version got from provider failedService fails to start after update to 6.7 U3; VAMI backup fails; FileIONotFoundExceptionE for /etc/vmware-vsan-health/.cns_pgpass in /var/log/vmware/vsan-health/vmware-vsan-health-service.logValidation of VMOMI server version got from provider failed in /var/log/vmware/vmware-sps/sps.logNon-VCHA environments; same underlying .cns_pgpass cause as 326836 but different trigger context
6.7vSAN Health service fails to start after performing vCenter upgradeService fails to start after upgrade in a VCHA configuration; VASA/SMS provider registration fails; adding a VM disk fails with a PBM error; ProviderRegistrationFault in /var/log/vmware/vsan-health/vsanvp.log; .cns_pgpass error in /var/log/vmware/vsan-health/vmware-vsan-health-service.logSpecific to VCHA configurations; same underlying .cns_pgpass cause as KB 316413
8.0.xvmware-vsan-health service fails to start | FATAL: password authentication failed for user "cns"Service fails to start and dumps core; core.vsanvcmgmtd files appear under /var/coreFATAL: password authentication failed for user "cns" in /var/log/vmware/vsan-health/vsanvcmgmtd.logUser "cns" has no password assigned in /var/log/vmware/vpostgres/postgresql.logCNS user missing from pg_hba.conf or has no password set in VCDB
8.0.xvmware-updatemgr and vmware-vsan-health services fails to start on vCenter Server 8.0vSAN Health tab reports service not running; service repeatedly fails to log into VC; cannot bind '0.0.0.0:80': Address already in use in /var/log/vmware/envoy/envoy.logFailed to log into VC in /var/log/vmware/vsan-health/vmware-vsan-health-service.loghttpd process is holding port 80 and preventing Envoy from binding it; vmware-updatemgr service also affected
8.0.xvSAN-Health Service times out and fails to start on vCenter serverService times out on start; vCenter is using an external CA-signed SSL certificate; sslv3 alert certificate expired in /var/log/vmware/vpxd/vpxd.logcode: 526 (Invalid SSL Certificate) in /var/log/vmware/vsan-health/vsanvcmgmtd.logBroken or expired root/intermediate CA certificate chain in /etc/vmware-vpx/ssl/rui.crt; only occurs when using custom CA-signed certs
8.0.xvmware-vsan service stops abruptly and fails to start with the following error "An error occurred while starting service '%(0)s'"Service stops abruptly and fails to restart; envoy overloaded in /var/log/vmware/vpxd-svcs/vpxd-svcs.log; high count of 503 overload entries in /var/log/vmware/envoy/envoy-access-*Memory exhaustion in envoy-sidecar; distinguishable from KB 395218 by the envoy overloaded message; fixed in vCenter Server 8.0 U3g
8.0.xvSAN Health Service will not start and does not display any of the vSAN health/monitoring or administration insider of the vCenter GUIService fails to start after a restart or reboot; vSAN views absent from vSphere Client; PermissionError: [Errno 13] Permission denied on vmware-vsan-health.pid in /var/log/vmware/vsan-health/vmware-vsan-health.logStale .pid file from a previous service run; no upgrade trigger; distinct from 318854 which is Errno 1 in a different log file

Additional Information