問題
vcenter不能登錄web界面
癥狀

1512712187131.png
[500] An error occurred while fetching identity providers. Try again. If problem persists, contact your administrator. Back to login screen
解決方案
- 1.官方解決
- 2.在步驟1中忘記了root的密碼,破解密碼的解決方案
- 使用 WinSCP 上傳文件到 vCenter 或 ESXi 主機[vCenter 更優(yōu)]
- 從此鏈接下載 WinSCP 安裝或便攜版。
- 運行 WinSCP,并用以下指令定義新會話:
- File protocol: SFTP
- Host name: The vCenter or ESXi FQDN or IP address.
- Port number: 22
- Password:
- Click Advanced
- Select SFTP
- In SFTP server, replace the default with this:
shell /usr/libexec/sftp-server - 這個選項比更改 vCenter 的 bash 更好,因為它不會帶來更改 vCenter Photon 作系統(tǒng)設(shè)置的風險。
- 使用此選項后,WinSCP 不會返回以下錯誤:
- "Received too large (1433299822 B) SFTP packet. Max supported packet size is 1024000 B.
- The error is typically caused by message printed from startup script (like .profile). The message may start with "Unkn".
- Cannot initialize SFTP protocol. Is the host running an SFTP server?"
- Click Login
- 記得把文件上傳到/tmp中
- 3.破解密碼之后,進入os執(zhí)行步驟1,遇到的報錯如下
Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start vapi-endpoint, vpxd-svcs services. Error: Operation timed out
4.修正步驟3的錯誤,官方給出的解決方案
- 重置證書
cd /tmp
unzip vCert-6.0.0-20250218.zip
cd vCert-6.0.0-20250218
./vCert.py
在菜單中,為以下選項輸入選項 6:使用 VMCA 簽名的證書重置所有證書
VCF/VVF Certificate Management Utility (version 6.0.0)
-----------------------------------------------------------------
1. Check current certificate status
2. View certificate info
3. Manage certificates
4. Manage SSL trust anchors
5. Check configurations
6. Reset all certificates with VMCA-signed certificates
7. ESXi certificate operations
8. Restart services
9. Generate certificate report
E. Exit
Select an option [1]: 6
“Certificate Signing Request Information”可以保留默認值,也可以使用公司和/或環(huán)境信息進行更新。在此示例中,我們將其保留為默認值:
Certificate Signing Request Information
-----------------------------------------------------------------
Enter the country code [US]:
Enter the Organization name [VMware]:
Enter the Organizational Unit name [VMware Engineering]:
Enter the state [California]:
Enter the locality (city) name [Palo Alto]:
Enter the IP address (optional):
Enter an email address (optional):
Enter any additional hostnames for SAN entries (comma separated value):
重置證書之后,可以選擇 1. Check current certificate status查看證書狀態(tài)