In case you find some issues while adding a VMWARE ESXi host to vCenter Server and you get an error message “A General System error Occurred” or “vim.fault.NoPermission”. This issue occurs by inconsistent authorization setup on the ESXi Host. The name of this authorization file is “authorization.xml” and located at /etc/vmware/hostd
You can follow the below steps to resolve this issue:
STEP 1:
Rename the authorization file:
/etc/vmware/hostd/authorization.xml to /etc/vmware/hostd/authorization.xml.old.
[root@LOCALHOST:/etc/vmware/hostd] mv authorization.xml authorization.xml.old
STEP 2:
Restart the Host management services (daemon and vCenter Agent services)
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
[root@LOCALHOST:~] /etc/init.d/hostd restart
watchdog-hostd: Terminating watchdog process with PID 2099575
hostd stopped.
hostd started.
[root@LOCALHOST:~] /etc/init.d/vpxa restart
vpxa is not running
vpxa started.
[root@LOCALHOST:~]
STEP 3:
Now Add permission for DCUI user:
esxcli system permission set -i dcui -r Admin