VCSA 6.5没法访问,报错“503 Service Unavailable”的解决方法

在访问VCSA间忽然卡死,没法刷新,可是能ping通VCSA,过了好会儿,刷新浏览器,显示以下错误:
web

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

正在找解决方法的时候,忽然不报这个错误了,又报一个同类的错误,错误以下:api

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fbd38074bd0] _serverNamespace = /vsphere-client action = Allow _port = 9090)浏览器

解决方法:bash

使用SSH登录VCSA查看并解决问题。app

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 [ ~ ]# service-control --status vsphere-clientRunning:
 vsphere-client



vmware-vpxd vmware-eam vmware-invsvcide


本机IP须要打通到宿主机EXSI管理IP和Vcenter管理IP所需端口spa