Vcenter Server Appliance Session Has Expired Please Login Again
I had this message on one of my vCenter server appliances when I was going to run an update. I'chiliad running my vCenter server in a linked mode in the lab. The messages says that "Appliance (Os) root countersign is expired". In fact, only today I noticed that VMware just released a new update – VMware vCenter Server 6.7 Update 2g Build 13638625, and so I wanted to update my VCSAs. There are some security patches which needs to exist practical.
I could nevertheless log in to the management page of the appliance (via https://IP_of_vcsa:5480) and use the default [electronic mail protected] user and password instead, just once logged in, at that place is no UI or menu to alter that root countersign within the VAMI user interface.
I had the other VCSA node updated with no problem, just this one did non want to update itself considering of the bulletin.
The simply way is to go and apply the panel or SSH session to do and then.
The VMware KB commodity says:
This issue occurs when VAMI is not able tochange anexpired root password. To resolve this outcome,reset theroot countersign from thevCenter ServerAppliance control line: Connect to thevCenter ServerApparatus with an SSH session and theroot user credentials.
You lot can't update your VCSA without changing the password.
Here is the screenshot with the error.
So I went and changed the root password. Here are the steps.
Appliance (OS) root password is expired – vSphere 6.7 – The steps
Note: You can change the root password to the aforementioned one. You can also change the expired countersign to something else.
Offset, log in to the VCSA with your default SSO user and password you lot configured during the setup. In my case, I used the default one [email protected] i.
So activate SSH access to the appliance.
You can check that in Admission > Access Settings
Once done, fire upwards your Putty SSH session and log in as root (I assume you lot know your root login password).
Then type this:
trounce
Run this command
passwd
You'll get a prompt to change the root password. Retype it once again and type "exit" twice. You're washed.
Here is the screenshot from the lab.
In case you don't know your root password, follow the instructions in this VMware KB article for the reset of the root password or read more.
The steps to reset root countersign:
- Have a snapshot or fill-in of the vCenter Server Appliance half dozen.five before proceeding. Practise not skip this step.
- Reboot the vCenter Server Appliance
- After the OS starts, printing eastward central 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:
rw init=/bin/fustigate
The line should look similar the following screenshot:
Notation that the above comes from VMware KB commodity.
Well, we're done. We tin successfully stage and install the latest security bundle from VMware and stay protected.
I want to fix the root password to Never Expire, where can I do that?
Well, it'south simple. Now you lot have the root password being reset, just login to the VCSA appliance on the port 5480 and go to the Administration bill of fare, where you can set the root countersign to never expire.
Final words
When installing patches or upgrades, do not forget to backup your VCSA. You tin can exercise either the appliance congenital-in backup (which in 6.vii can be scheduled) or yous tin use external software to backup your vCSA. In my instance, I employ Veeam in the lab, but any supported backup software can practise the job.
While since some time VMware patches and updates seem to process quite well, one never knows. In the by, I had few surprises when I concluded up with a VCSA in an unbootable land or with the impossibility to log in and I had to gyre back. Having a proper backup can save you especially if you're in a production environs -:).
VMware vSphere seven.0 coverage on ESX Virtualization
- VMware vSphere vii.0 Appear – vCenter Server Details
- VMware vCenter Server vii.0 Profiles
- We saw ESXi vii.0 on ARM – Our post from VMworld Barcelona 2019.
- What is vCenter Server Update Planner? – vSphere vii.0
- VMware vCenter Server 7.0 Profiles
- What is vCenter Server Multi-Homing?
- VMware vSphere 7.0 – VM Template Check-in and Check-out and versioning
- VMware vSphere vii.0 DRS Improvements – What's New?
Also from ESX Virtualization
- VCP6.vii-DCV Objective 7.5 – Configure role-based user management
- VCP6.7-DCV Objective 7.four – Configure host security(Opens in a new browser tab)
- VCP6-DCV Objective 7.5 – Troubleshoot HA and DRS Configurations and Fault Tolerance(Opens in a new browser tab)
Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)
Source: https://www.vladan.fr/appliance-os-root-password-is-expired-vsphere-6-7/
0 Response to "Vcenter Server Appliance Session Has Expired Please Login Again"
Post a Comment