Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

vSAN-Health Service fails to start (74833)

Last Updated: 2/27/2024Categories: TroubleshootingTotal Views: 26661Language:
English

12 like this article

Subscribe to get an email
newsletter with new updates

12 people found this helpful Please provide article feedback:

Symptoms

Attempting to submit a backup job via vCenter Server Appliance VAMI fails with error
Invalid vCenter Server Status: All required services are not up! Stopped services: 'vsan-health'.

Attempting to configure a VM for vSphere Replication fails with error :
Operation Failed
A generic error occurred in the vSphere Replication Management Server. Exception details: 'Unexpected status code: 503'.
Operation ID: 3be4d590-8170-40e8-b4ae-14bf8258e3de

You may find vSAN-Health Service fails to start with stack below

service-control --start vmware-vsan-health
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vsan-health...
Error executing start on service vsan-health. Details {
"problemId": null,
"detail": [
{
"args": [
"vsan-health"
],
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"localized": "An error occurred while starting service 'vsan-health'"
}
],
"resolution": null,
"componentKey": null
}
Service-control failed. Error: {
"problemId": null,
"detail": [
{
"args": [
"vsan-health"
],
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"localized": "An error occurred while starting service 'vsan-health'"
}
],
"resolution": null,
"componentKey": null
}

/var/log/vmware/vsan/-health/vmware-vsan-health-runtime.log.stderr log reports an error as below.
Starting service process with pid: 53357.
Traceback (most recent call last):
File "/usr/lib/vmware-vpx/vsan-health/VsanVcMgmtd.py", line 9, in
os.initgroups(entry.pw_name, entry.pw_gid)
PermissionError: [Errno 1] Operation not permitted

Every time an attempt to start the service will reflect change in PID in vmware-vsan-health-runtime.log.stderr and the service remains stopped.

Cause

vsan-health service starts with root account and the same is the case with other services.

It is most likely to happen if the service was disabled and upgrade succeeded to 6.7 U3.

Service property and json files fails to update the required attribute.

Impact / Risks

VAMI backup will fail.

Cannot configure a VM for vSphere Replication job.

Resolution

To solve this issue, please follow the steps given below:

Take a snapshot of vCenter Server Appliance.

Open a SSH session to vCenter Server Appliance.

Go to /etc/vmware/vmware-vmon/svcCfgfiles/

cd /etc/vmware/vmware-vmon/svcCfgfiles/

use the below command to list hidden files in this location.

ls -la

Make a copy .state_vsan-health.json outside svcCfgfiles folder

cp .state_vsan-health.json ../.state_vsan-health.json
Note: Ignore step 4 and 5 if the .state_vsan-health.json is not found in location

Delete /etc/vmware/vmware-vmon/svcCfgfiles/.state_vsan-health.json

rm /etc/vmware/vmware-vmon/svcCfgfiles/.state_vsan-health.json

Navigate to /usr/lib/vmware-vmon

cd /usr/lib/vmware-vmon

Run the command:

vmon-cli -U vsan-health -R root

Start the service using

service-control --start vmware-vsan-health

Note: Remember to consolidate the snapshot taken in step 1 once the solution is verified.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere Replication

VMware vSphere

VMware vCenter Server Appliance

Related Versions:

VMware vSphere Replication 8.x

VMware vCenter Server Appliance 6.7.x

Take Our Survey

Support Assistant