# The vmware-updatemgr fails to start

6.7.0.53000

# Symptoms

~]# service-control --start vmware-updatemgr
Operation not cancellable. Please wait for it to finish...
Performing start operation on service updatemgr...
Error executing start on service updatemgr. Details {
    "componentKey": null,
    "resolution": null,
    "problemId": null,
    "detail": [
        {
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "updatemgr"
            ],
            "localized": "An error occurred while starting service 'updatemgr'",
            "id": "install.ciscommon.service.failstart"
        }
    ]
}
Service-control failed. Error: {
    "componentKey": null,
    "resolution": null,
    "problemId": null,
    "detail": [
        {
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "updatemgr"
            ],
            "localized": "An error occurred while starting service 'updatemgr'",
            "id": "install.ciscommon.service.failstart"
        }
    ]
}
~]# /usr/lib/vmware-updatemgr/bin/refreshCerts-utility.py
Re-registering vSphere Update Manager with VC...
2026-07-09T02:00:27.191Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T02:00:27.221Z  Done running command
2026-07-09T02:00:27.294Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T02:00:27.329Z  Done running command
2026-07-09T02:00:29.367Z  Getting value for install-parameter: vmdir.ldu-guid
2026-07-09T02:00:29.905Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T02:00:29.940Z  Done running command
2026-07-09T02:00:29.958Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T02:00:29.992Z  Done running command
2026-07-09T02:00:30.020Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ldu', '--server-name', 'localhost']
2026-07-09T02:00:30.043Z  Done running command
Can't update VUM service info: (vmodl.fault.InvalidArgument) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   msg = '',
   faultCause = <unset>,
   faultMessage = (vmodl.LocalizableMessage) [],
   invalidProperty = 'Invalid certificate'
}
Traceback (most recent call last):
  File "/usr/lib/vmware-updatemgr/bin/vumUtils.py", line 375, in updateServiceInfo
    lsClient.ReRegister(vumServiceInfo.serviceId, setSpec)
  File "/usr/lib/vmware-updatemgr/bin/vumUtils.py", line 926, in addSecurityctxToRequests
    reqMethod(self, *args)
  File "/usr/lib/vmware-updatemgr/bin/vumUtils.py", line 936, in ReRegister
    sr.Set(svcId, newSpec)
  File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 557, in <lambda>
    self.f(*(self.args + (obj,) + args), **kwargs)
  File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 363, in _InvokeMethod
    return self._stub.InvokeMethod(self, info, args)
  File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1418, in InvokeMethod
    raise obj # pylint: disable-msg=E0702
pyVmomi.VmomiSupport.vmodl.fault.InvalidArgument: (vmodl.fault.InvalidArgument) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   msg = '',
   faultCause = <unset>,
   faultMessage = (vmodl.LocalizableMessage) [],
   invalidProperty = 'Invalid certificate'
}
Unable to update VUM service info

Check all certificates are vaild.

# Solution

A bug. Patch the vumUtils.

~]# cp /usr/lib/vmware-updatemgr/bin/vumUtils.py{,.bak}
~]# wget https://meno.lostyu.qzz.io/assets/res/vmware/vcsa/attach/vumUtils.patch.zip -P /tmp
~]# unzip /tmp/vumUtils.patch.zip -d /usr/lib/vmware-updatemgr/bin/
~]# chown updatemgr:updatemgr /usr/lib/vmware-updatemgr/bin/vumUtils.patch
~]# cd /usr/lib/vmware-updatemgr/bin
~]# patch -p0 < vumUtils.patch
patching file vumUtils.py
Hunk #1 succeeded at 241 (offset 5 lines).
Hunk #2 succeeded at 299 (offset 5 lines).
Hunk #3 succeeded at 344 (offset 5 lines).
Hunk #4 succeeded at 369 (offset 5 lines).
Hunk #5 succeeded at 400 (offset 5 lines).
Hunk #6 succeeded at 409 (offset 5 lines).
Hunk #7 succeeded at 531 (offset 5 lines).
~]# /usr/lib/vmware-updatemgr/bin/refreshCerts-utility.py
Re-registering vSphere Update Manager with VC...
2026-07-09T08:11:03.642Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T08:11:03.676Z  Done running command
2026-07-09T08:11:03.770Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T08:11:03.807Z  Done running command
2026-07-09T08:11:05.846Z  Getting value for install-parameter: vmdir.ldu-guid
2026-07-09T08:11:06.439Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T08:11:06.470Z  Done running command
2026-07-09T08:11:06.484Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ls-location', '--server-name', 'localhost']
2026-07-09T08:11:06.528Z  Done running command
2026-07-09T08:11:06.566Z  Running command: ['/usr/lib/vmware-vmafd/bin/vmafd-cli', 'get-ldu', '--server-name', 'localhost']
2026-07-09T08:11:06.593Z  Done running command
Successfully re-registered vSphere Update Manager with VC
~]# service-control --start updatemgr
Operation not cancellable. Please wait for it to finish...
Performing start operation on service updatemgr...
Successfully started service updatemgr

# Reference

・ https://community.broadcom.com/vmware-cloud-foundation/discussion/vum-stopped-service-vcsa-fail

Edited on