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

1. 问题

重启vcenter,登录vsphere client,提示web

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x0000558181b429e0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)”shell

2. 解决方法

重启VCSA,vsphere-client服务尚未启动,须要稍等片刻。api

若是长时间仍是如此,则须要使用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会提示正在初始化。稍等片刻,再次刷新就会进入登陆界面。bash

 

转载自:https://blog.csdn.net/yjk13703623757/article/details/80122539spa