码迷,mamicode.com
首页 > 其他好文 > 详细

VSphere随笔 - vCenter6.5安装报错 “Failed to authenticate with the guest operating system using the supplied“

时间:2018-11-25 20:36:03      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:技术分享   tps   passwd   new   root密码修改   分配   rpm包   多次   servlet   

今天重新安装VCSA,安装多次一直卡在80%的画面不动,显示正在安装RPM包,同时log日志显示“Failed to authenticate with the guest operating system using the supplied ”,登录控制台查看VCSA服务器进度发现root密码没有被设置,手工修改密码也是失败。经过网上查看资料,发现VCSA的安装盘是有过期日的,因为盘内老的root密码已经过期,所以root账户过期后,安装程序在执行过程中将无法按照用户的预设值去修改原系统默认的root密码。

鉴于此情况,所以尝试了在80%界面去修改root密码,VCSA修改root密码可在系统启动时完成(可参看如下指引),修改完root密码并重启生效后,VCSA的安装界面便可以开始往后面继续执行了,直到完成VCSA安装时的第二部分配置。

如下是VCSA的root密码修改方法:

 

To reset the lost forgotten root password in vCenter Server Appliance 6.5:

    1. Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. Do not skip this step.
    2. Reboot the vCenter Server Appliance 6.5.
    3. After the OS starts, press key “e” to enter the GNU GRUB Edit Menu.
    4. Locate the line that begins with the word Linux.
    5. Append these entries to the end of the line:

      rw init=/bin/bash

      The line should look like the following screenshot:

      技术分享图片
       
    6. Press F10 to continue booting.
    7. Run the mount -o remount,rw / command.
    8. In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):

      passwd
       
    9. Unmount the filesystem by running this command:

      umount /
       
    10. Reboot the vCenter Server Appliance 6.5 by running this command:

      reboot -f
       
    11. Confirm that you can access the vCenter Server Appliance 6.5 using the new root password.
    12. Remove the snapshot taken in Step 1 if applicable.

VSphere随笔 - vCenter6.5安装报错 “Failed to authenticate with the guest operating system using the supplied“

标签:技术分享   tps   passwd   new   root密码修改   分配   rpm包   多次   servlet   

原文地址:https://www.cnblogs.com/martin001/p/10016477.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!