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会提示正在初始化。稍等片刻,再次刷新就会进入登录界面。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐