"An unexpected error has occurred""You have no privileges to view this object or it does not exist".
root@vCenter [ ~ ]# service-control --statusYYYY-MM-DDTHH:MM Error: Service name "updatemgr" is invalid.Running: applmgmt lookupsvc lwsmd observability observability-vapi pschealth vc-ws1a-broker vlcm vmafdd vmcad vmdird vmware-analytics vmware-certificateauthority vmware-certificatemanagement vmware-cis-license vmware-content-library vmware-eam vmware-envoy vmware-envoy-hgw vmware-envoy-sidecar vmware-hvc vmware-infraprofile vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-sps vmware-stsd vmware-topologysvc vmware-trustmanagement vmware-vapi-endpoint vmware-vdtc vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-ui wcpStopped: vmcam vmonapi vmware-imagebuilder vmware-netdumper vmware-rbd-watchdog vmware-vcha vstats vtsdb
root@vCenter [ ~ ]# service-control --start vmware-updatemgrOperation not cancellable. Please wait for it to finish...Performing start operation on service updatemgr...YYYY-MM-DDTHH:MM Error: Invalid input provided to get startType ofservice updatemgr.Error executing start on service updatemgr. Details Error: startType of svc: updatemgr rc : 6 stdout: stderr: Service Get State request failed. Error: Invalid input dataService-control failed. Error: Error: startType of svc: updatemgr rc : 6 stdout: stderr: Service Get State request failed. Error: Invalid input data
/etc/vmware/vmware-vmon/svcCfgfiles/updatemgr.json may have unknown entries or the file is corrupted beyond repair. "RunAsUser": "updatemgr","RunPreStartCmdAsUser": "root",#"StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/vmware-updatemgr/updatemgr-vmon.log","Systemd.Enabled": true,"RecoveryActionProfiles" :
/etc/vmware/vmware-vmon/svcCfgfiles/updatemgr.json by using vi editor.cp /etc/vmware/vmware-vmon/svcCfgfiles/updatemgr.json /storage/core/updatemgr.jsonvi /etc/vmware/vmware-vmon/svcCfgfiles/updatemgr.json "RunAsUser": "updatemgr","RunPreStartCmdAsUser": "root","StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/vmware-updatemgr/updatemgr-vmon.log","Systemd.Enabled": true,"RecoveryActionProfiles" :
Esc and then :wq!/etc/vmware/vmware-vmon/svcCfgfiles/If no other vCenter Servers are available in the environment, back up the existing updatemgr.json file, then copy the appropriate version of the file from the below attached files. A restart of the appliance is required afterward to apply the changes.