VCSA 6.5无法访问,报错“503 Service Unav

2022-04-16  本文已影响0人  Way_Kwok_Chu

1.问题
重启vcenter,登陆[vsphere] client,提示

“503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x0000558181b429e0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)”
  1. 解决方法
    重启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会提示正在初始化。稍等片刻,再次刷新就会进入登录界面。

上一篇 下一篇

猜你喜欢

热点阅读