本文提供了对不启动或失败的 vCenter Server 服务进行故障排除的步骤
Symptoms:
免责声明: 本文为 Troubleshooting the VMware VirtualCenter Server service when it does not start or fails on vCenter Server (1003926) 的翻译版本。 尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。 有关最新内容,请参见英文版本。
-
无法使用 vSphere Client 连接到 VMware vCenter Server。
- VMware vCenter Server 未显示在 vSphere Web Client 的清单中。
-
出现如下与 IIS 关联的 Microsoft Windows 事件错误:
Event properties - Event 7024, Service Control Manager
The VMware VirtualCenter Server service terminated with service-specific error The system cannot find the file specified..
Log Name: System
Source: Service Control
Event ID: 7024
Level: Error
注意: 也可能会报告与此问题相关的 Windows 事件 ID 1000。
-
连接到 vCenter Server 失败,并显示以下错误:
Cannot connect to host server_name: No connection could be made because the target machine actively refused it.
-
尝试启动 VMware VirtualCenter Server 服务失败。
-
显示以下错误:
Windows could not start the VMware VirtualCenter Server service on Local Computer. Error 2: The system cannot find the file specified.
-
如果尝试启动 VMware VirtualCenter Server 服务,可能会看到以下错误:
- Could not start the VMware VirtualCenter Server service on Local Computer. Error 1067: The process terminated unexpectedly.
-
Could not start the VMware VirtualCenter Server service on Local Computer. Error 1069: The service did not start due to a logon failure.
-
The VMware VirtualCenter Server Service on Local Computer started then stopped. Some services stop automatically if they have no work to do, for example the Performance Logs and Alerts service.
-
在 vCenter Server 上的 C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd.log 文件中,您会看到类似于以下内容的条目:
- [VpxdReverseProxy] Failed to create http proxy: An attempt was made to access a socket in a way forbidden by its access permissions.
[Vpxd::ServerApp::Init] Init failed: VpxdMoReverseProxy::Init()
Failed to intialize VMware VirtualCenter. Shutting down...
Forcing shutdown of VMware VirtualCenter now
- <YYYY-MM-DD>T<time> 02128 error 'App'] [VpxdReverseProxy] Failed to create http proxy: An attempt was made to access a socket in a way forbidden by its access permissions.
<YYYY-MM-DD>T<time> 02128 error 'App'] [Vpxd::ServerApp::Init] Init failed: VpxdMoReverseProxy::Init()
<YYYY-MM-DD>T<time> 02128 warning 'VpxProfiler'] ServerApp::Init took 29328 ms
<YYYY-MM-DD>T<time>02128 error 'App'] Failed to intialize VMware VirtualCenter. Shutting down...
<YYYY-MM-DD>T<time> 02128 info 'App'] Forcing shutdown of VMware VirtualCenter now</time></time></time></time></time>