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

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值