Last Updated:
2020/3/22
Categories:
Troubleshooting 6
subscribe
Symptoms
免责声明:
本文是
“503 service unavailable” error when connecting to the vCenter Server using the vSphere Web Client
的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。
- 使用 vSphere Web Client 连接到 vCenter Server 失败。
-
您会看到类似以下内容的条目:
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x7f009c095810] _serverNamespace = / _isRedirect = false _pipeName =/var/run/vmware/vpxd-webserver-pipe)
503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:00000000006F92F0] _serverNamespace = /vsphere-client
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x7f0c6005e4c0] _serverNamespace = / _isRedirect = false _pipeName =/var/run/vmware/vpxd-webserver-pipe)
503 service unavailble fail to connect to end point.
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x7f65e7834610] _serverNamespace = /vsphere-client _isRedirect = false _port = 909
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007f2470005950] _serverNamespace = /sdk action = Allow _port = 8085)
有关其他潜在原因和症状的详细信息,请参见
“503 Service Unavailable” error on the vSphere Web Client when logging in or accessing the vCenter Server
。
Purpose
一个或多个服务或端点不可用时,可能会返回 HTTP 503 错误响应代码。例如,当 vSphere Web Client 服务正在运行时,vCenter Server 服务可能未运行或处于Stopped状态。
Resolution
要对此问题进行故障排除:
- 运行以下命令,确认尝试使用具有 telnet 的 vSphere Web Client 访问 vCenter Server 的计算机是否已连接:
telnet vcenter_fqdn 9443
- 运行以下命令,检查 VCSA 上的分区是否具有足够的可用空间:
df -h
* 在 6.7 版本中,/storage/archive 分区应该已满,这是预期行为。有关详细信息,请参见
“File system /storage/archive is low on storage space” on the VCSA 6.7 VAMI page
- 使用以下命令确保 vCenter Server 服务正在运行:
service-control –status –all
* 如果任何服务意外关闭,您可以通过运行以下命令来启动所有服务:
service-control –start –all
* 如果 PSC 为外部,您可能还需要检查 PSC 上的服务。
有关如何停止/启动服务的详细信息,请参阅以下文章:
How to Stop, Start or Restart vCenter Server 6.x Services
Stopping, Starting or Restarting VMware vCenter Server Appliance 6.x services
- 确保 VCSA 具有足够的资源来处理请求,您可能需要使用 top 命令检查主机和 VCSA 上的 CPU/内存使用情况。
- 如果所有 VC 服务均已启动且 Web Client 仍未打开,您可以在位于以下位置的 virgo 日志中找到有关该问题的更多详细信息:
Windows vCenter Server:C:\ProgamData\VMware\vCenterServer\logs\vsphere-client\logs\
vCenter Server Appliance:/var/log/vmware/vsphere-client/logs/
另请查看位于以下位置的 vpxd.log 文件:
Windows vCenter Server:C:\ProgramData\VMware\vCenterServer\logs\vmware-vpx
vCenter Server Appliance:/var/log/vmware/vpxd
Related Information
-
“503 service unavailable” error when connecting to the vCenter Server using the vSphere Web Client (2121043)
-
vmware-vpxd service on VCSA fails with the error “contains unexpected zero page at block” on vpxd.log (50113962)
-
Accessing the ESXi host through the Host Client UI fails with error: “503 Service Unavailable” (2144962)
-
“invalid credentials LDAP Error 49” error when starting Inventory Services in vCenter Server 6.x (2147280)
-
How to reset the lost or forgotten root password in vCenter Server Appliance 6.5 (2147144)