Reconnecting a host to vCenter Server fails with the error: Rejected password for user vpxuser
search cancel

Reconnecting a host to vCenter Server fails with the error: Rejected password for user vpxuser

book

Article ID: 323622

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Hosts show Disconnected within vCenter Server
  • When you attempt to reconnect a host to vCenter Server, you encounter the error:

    A general system error: Timed out while waiting for vpxa to start
     
  • The hostd.log on the host located at /var/log contains errors similar to:
     
    YYYY-MM-DDT<time>Z [353BBB90 info 'ha-eventmgr' opID=708C86E6-0000025E-1e] Event 7989 : Cannot login vpxuser@ipaddress</time>
    Rejected password for user vpxuser from ipaddress
    YYYY-MM-DDT<time>Z [353BBB90 info 'Default' opID=708C86E6-0000025E-1e] AdapterServer caught exception: vim.fault.InvalidLogin</time>
 
 


Environment

VMware vSphere ESXi 6.7
VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5
VMware vCenter Server 6.x

Cause

This issue occurs when the cached password for vpxuser is incorrect on the host or your account has expired within vCenter Server.

Resolution

To resolve this issue, see ESX/ESXi host fails to update information with the error: vmware esx cannot synchronize host (2014275). If this resolution is unsuccessful, update the vpxuser account on the host.
 
To update the vpxuser account on the host:
  • Remove the host from the inventory within vCenter Server.

    Caution: When an ESX/ESXi host is removed from the vCenter Server inventory, the virtual machines are removed from their respective folders, performance data for the host is lost, and any Distributed Virtual Switch configurations on the host need to be reconfigured.
     
  • Connect to the host through SSH and type this command to stop the vpxa service:
             /etc/init.d/vpxa stop  
  • The vpxuser now needs to be deleted   and use the below command
      esxcli system account remove -i vpxuser
 
  • Reconnect the host in the vCenter Server.


Additional Information

ESX/ESXi host fails to update information with the error: vmware esx cannot synchronize host
vCenter Server からホストへの再接続が次のエラーで失敗する: Rejected password for user vpxuser