Cannot login vpxuser

Cannot login vpxuser

I was connecting via console to one of my VMs when I noticed that the console was not connecting and was returning an error. I went in to check the host events and I noticed loads of errors, one every a few seconds, regarding the vpxuser’s login. I wasn’t alerted as the ESXi host isn’t in production yet, so wasn’t monitored.

The error I saw in the events, once I connected to the ESXi host itself was: Cannot login vpxuser@127.0.0.1.

cannot_login_vpxuser

From vCenter instead I was seeing another error stating “Cannot synchronize host ESXiHost.itdtroplets.com. Cannot complete login due to an incorrect username or password.

cannot_synchronize_host

There are a couple of things you may try, start with the first one as it’s simpler. A reboot did not work for me.

Disconnect/Reconnect the host in vCenter

  1. In vCenter, disconnect the host by right click on it and selecting Connection > Disconnect.
    • vcenter_disconnect_host
    • Note that the host might already be disconnected.
  2. Now connect to the ESXi host via the Console and press F2 to enter the System Customization.
  3. Access the Troubleshooting Options menu.
  4. Select Restart Management Agents.
  5. Go back in vCenter, right click on the host and select Connection > Connect.
    • This might ask you to specify again the username and password to use to connect to the host and throughout the Wizard you’ll see the host summary and its VMs.

Disconnect the host in vCenter, delete the vpxuser and reconnect

  1. In vCenter, disconnect the host by right click on it and selecting Connection > Disconnect.
    • vcenter_disconnect_host
    • Note that the host might already be disconnected.
  2. Connect to the ESXi host with the vSphere Client.
  3. Click on Users’s tab.
  4. Right click on vpxuser and select Remove. Confirm when prompt to remove the user.
    • esxi_remove_vpxuser
  5. Now connect to the ESXi host via the Console and press F2 to enter the System Customization.
  6. Access the Troubleshooting Options menu.
  7. Select Restart Management Agents.
  8. Go back in vCenter, right click on the host and select Connection > Connect.
    • This might ask you to specify again the username and password to use to connect to the host and throughout the Wizard you’ll see the host summary and its VMs.
    • This step will also re-create the vpxuser.
    • Should this step fail, try one more time to restart the management agents and to connect.

 

IT Droplets

IT Droplets