轉)VCSA 6.5重啟無法訪問,報錯“503 Service Unavailable”的解決方法


1. 問題

重啟vcenter,登陸vsphere client,提示

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x0000558181b429e0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)”

2. 解決方法

重啟VCSA,vsphere-client服務還沒有啟動,需要稍等片刻。

如果長時間還是如此,則需要使用SSH登陸VCSA查看並解決問題。

VMware vCenter Server Appliance 6.5.0.14000
Type: vCenter Server with an embedded Platform Services Controller
Connected to service

    * List APIs: "help api list"
    * List Plugins: "help pi list"
    * Launch BASH: "shell"

// 使用shell進行連接    
Command> shell                                  
Shell access is granted to root

// 查看VMware services幫助
root@photon-machine [ ~ ]# service-control --help    

// 列出所有可控VMware服務
root@photon-machine [ ~ ]# service-control --list-services    

// 查看VMware services運行狀態
root@photon-machine [ ~ ]# service-control --status vsphere-client   
Stopped:
vsphere-client
root@photon-machine [ ~ ]# service-control --stop vsphere-client  

// 啟動vsphere-client
root@photon-machine [ ~ ]# service-control --start vsphere-client    

Perform start operation. vmon_profile=None, svc_names=['vsphere-client'], 
include_coreossvcs=False, include_leafossvcs=False
2018-03-17T16:19:28.015Z   Service vsphere-client state STOPPED
Successfully started service vsphere-client

root@photon-machine [ ~ ]# service-control --status vsphere-client
Running:
vsphere-client

啟動VCSA后,我們並不能立即進入。刷新瀏覽器后,VCSA會提示正在初始化。稍等片刻,再次刷新就會進入登錄界面。

 

轉載自:https://blog.csdn.net/yjk13703623757/article/details/80122539


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM