VCSA 6.5無法訪問,報錯“503 Service Unavailable”的解決方法
阿新 • • 發佈:2018-03-18
vsphere-client在訪問VCSA間突然卡死,無法刷新,但是能ping通VCSA,過了好會兒,刷新瀏覽器,顯示如下錯誤:
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x0000558181b429e0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
正在找解決方法的時候,突然不報這個錯誤了,又報一個同類的錯誤,錯誤如下:
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fbd38074bd0] _serverNamespace = /vsphere-client action = Allow _port = 9090)
刷新後提示如下信息:
The following page could not be found:
/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" Command> shell ####使用shell進行連接 Shell access is granted to root root@photon-machine [ ~ ]# root@photon-machine [ ~ ]# service-control --help ####查看VMware services幫助 root@photon-machine [ ~ ]# root@photon-machine [ ~ ]# service-control --list-services ####列出所有可控VMware服務 root@photon-machine [ ~ ]# root@photon-machine [ ~ ]# service-control --status vsphere-client ####查看VMware services運行狀態 Stopped: vsphere-client root@photon-machine [ ~ ]# service-control --start vsphere-client ####啟動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 [ ~ ]# root@photon-machine [ ~ ]# service-control --status vsphere-client Running: vsphere-client
啟動後並不能立即進入VCSA,刷新後VCSA會提示正在初始化,之後VCSA會自動刷新進入登錄界面
VCSA 6.5無法訪問,報錯“503 Service Unavailable”的解決方法