Symptoms:
- When a vCenter Server is restored from backup the services will be stopped.
- When you try to start the services using the command : service-control --start --all you will see one of the following errors.
- Error 1:
2018-02-27T18:38:08.649Z Done running command
2018-02-27T18:38:08.651Z RC = 1
Stdout =
Stderr = Failed to execute operation: Unit file is masked
2018-02-27T18:38:08.651Z {
"resolution": null,
"detail": [
{
"args": [
"Stderr: Failed to execute operation: Unit file is masked\n"
],
"id": "install.ciscommon.command.errinvoke",
"localized": "An error occurred while invoking external command : 'Stderr: Failed to execute operation: Unit file is masked\n'",
"translatable": "An error occurred while invoking external command : '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
2018-02-27T18:38:08.652Z Running command: ['/usr/bin/systemctl', 'unset-environment', 'VMON_PROFILE']
2018-02-27T18:38:08.654Z Done running command
Service-control failed. Error {
"resolution": null,
"detail": [
{
"args": [
"vmware-vmon"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vmon'",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
Operation not cancellable. Please wait for it to finish...
Performing start operation on service lwsmd...
Service lwsmd startup type is not automatic. Skip
Performing start operation on service vmafdd...
Service vmafdd startup type is not automatic. Skip
Performing start operation on profile: ALL...
Service vmware-vmon startup type is not automatic. Skip
Service-control failed. Error: Failed to start services in profile ALL. RC=11, stderr=Connect error. ErrCode: 111