转)VCSA 6.5重启无法访问,报错“503 Service Unavailable”的解决方法

时间:2022-11-20 07:04:52

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.****.net/yjk13703623757/article/details/80122539