I have done an error coping a password during vCenter upgrade process and after successful installation, I ended up with no access to VAMI.
Nothing helped, I tried to add space before and after the password, I tried a few other password, no luck. The only option was to break in to my system and change root password.
Here is a run list how to do it:
- You need to know on which host your vCenter is located
- You need to check if host is NOT in the Lockdown mode
- Login to the host
- Launch KVM
- Reboot you vCenter
- After the VCSA Photon OS starts, press the e key to enter the GNU GRUB Edit Menu
- Locate the line that begins with the word Linux
- Append these entries to the end of the line:
- Press F10 to continue booting.
- On the root prompt, run the command:
mount -o remount,rw /
- Next change root password by running the command:
- Unmount the filesystem by running this command:
- Reboot the vCenter Server Appliance by running this command:
- Confirm that you can access the vCenter Server Appliance using the new root password
Here is a step-bystep video if you want to see this in action:
Visit my FB page: https://www.facebook.com/AngrySysOps
Subscribe to my YouTube channel: https://www.youtube.com/channel/UCRTcKGl0neismSRpDMK_M4A