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

nick814 VMware错误解决 166 次浏览 1条评论

问题:

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)

正常情况下我们重启了VCSA要等好一会,因为VCSA启动好后还要等VMware的服务起来,起来之后才可以正常访问但是有时候会等了很久服务也起不来,那么就需要我们登录机器来手动启动服务了。

 

解决方法:

使用SSH登陆VCSA

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            #我们发现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

Service vsphere-client state STOPPED    

Successfully started service vsphere-client

root@photon-machine [ ~ ]#

root@photon-machine [ ~ ]# service-control –status vsphere-client    #再次查看VMware services运行状态

Running:

vsphere-client                    #这时发现服务已经启动了

在等一会我们就可以访问VCSA

一条评论

  1. 四月的奥德赛 2019年7月17日 11:31

    你这个可以到网络安全和信息化上去投稿 (*^__^*)

发表评论

Go