<YYYY-MM-DD>T<time> verbose hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] Initial Connect message: Failed to open a local pipe to a local virtual machine '/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx'.--> Failed to establish transport connection.--><YYYY-MM-DD>T<time> info hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] Failed to load virtual machine<YYYY-MM-DD>T<time> warning hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] Failed to load VM from vigor during register Fault cause: vim.fault.GenericVmConfigFault--><YYYY-MM-DD>T<time> info hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] Marking VirtualMachine invalid<YYYY-MM-DD>T<time> info hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] State Transition (VM_STATE_INITIALIZING -> VM_STATE_INVALID_CONFIG)<YYYY-MM-DD>T<time> verbose hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] GetVigorCnx: VM not loaded<YYYY-MM-DD>T<time> warning hostd[2110143] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/#####-####-####-####-#######/VMFolder/VMName.vmx opID=vim-cmd-##-####user=root] Unable to check for locked state: N3Vim5Fault12InvalidState9ExceptionE Fault cause: vim.fault.InvalidStateVMware vSphere ESXi
VMware vCenter Server
The VM configuration file (.vmx) is locked by a stale process or an orphaned .lck file from the previous session. This prevents the host daemon (hostd) from loading the configuration.
To resolve this issue, you must manually clear the stale process and file locks via the ESXi command line.