vCenter vmon.log reporting "Error in retrieving machine id of local machine" for pre-start of vpxd-svcs
search cancel

vCenter vmon.log reporting "Error in retrieving machine id of local machine" for pre-start of vpxd-svcs

book

Article ID: 427514

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Services hvc, vpxd, vpxd-svcs crash while starting.

vCert hangs when executing. Does not show any menu or errors.

Certificate manager  hangs when renewing certificate(s)

vmon.log
vpxd-svcs failing to start with error: "Error in retrieving machine id of local machine"

Running command 
/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost
gave following:
Error 32: Possible errors:
LDAP error: No such object
Win Error: Operations failed with error ERROR_SHARING_VIOLATION (32)

vmafdd.log reporting:
VmAfSrvCfgGetMachineID failed. Error (32)

Environment

vCenter 7.x

Resolution

Workaround:
1. Putty/SSH  to vCenter
2. Get DomainState: /opt/likewise/bin/lwregshell get_value '[HKEY_THIS_MACHINE\Services\vmafd\Parameters]' "DomainState"
3. Set it DomainState to 1:  /opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\vmafd\Parameters]' "DomainState" 1
4. Restart services: service-control --stop --all && service-control --start --all