certificatemanagement services. Error: Service crashed while starting
search cancel

certificatemanagement services. Error: Service crashed while starting

book

Article ID: 394293

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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

Environment

6.7.X

Cause

  • A few service entries are missing at the end of the service-layout.mfx.
What is currently available in the environment

updatemgr-firstboot                 vmware-updatemgr         -       0         100    600        64                256         1             2
statsmonitor_firstboot              vmware-statsmonitor      -       0         10     10
vmdnsd                              VMwareDNSService         -       0         20     50
vcha_firstboot                      vcha                     -       0         46     46


What is expected to be environment

vmdnsd                              VMwareDNSService         -        0         20     50
vcha_firstboot                      vcha                     -        0         46     46
vsandps_firstboot                   vsan-dps                 -        0         230    250        16                256         1             2
hvc-firstboot                       vmware-hvc               -        0         20     64         20                256         1             2
trustmanagement-firstboot         vmware-trustmanagement   -        0         50     64         20                256         1             2
vmware-pod                                                   -        0         100    100
analytics_firstboot                 vmware-analytics         -        0         128    170        64                256         1             2
topologysvc-firstboot               vmware-topologysvc       -        0         50     60         20                256         1             2

Resolution

  • You need to take the "service-layout.mfx" file from a properly functioning vCenter and transfer it to the problematic vCenter.

Location: /etc/vmware/service-layout.mfx

Note: Ensure that the build and version are an exact match between the problematic one and the one you wish to copy.

Additional Information

Please ensure that a fresh backup or offline snapshot of the PSCs and vCenter Server Appliance has been taken. If the vCenter Server is part of a Linked Mode replication group, remember that backups or offline snapshots need to be created for each member of the Linked Mode group, including all PSCs (if external) and all vCenter's.