Vcenter无法正常登录,磁盘空间不足的解决办法
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)”
2. 解决方法
通过SSH登录Vcenter管理系统
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
重启vsphere-client服务过程中需要观察终端提示,如果有返回“No space left on Disk”,则需要进入shell检查磁盘空间使用情况。


磁盘扩容后如果仍提示登录错误,需要检查下服务是否启动正常
service-control --status --all 检查服务状态
service-control --start --all 开启所有服务
重点查看一下vmware-vpxd服务
或者 运行 /usr/lib/vmware-vmca/bin/certificate-manager and regenerate all of the SSL certificates.
参考链接:Re: 503 Service Unavailable (Failed to connect to ... - VMware Technology Network VMTN
征途漫漫,惟有奋斗!
浙公网安备 33010602011771号