Troubleshooting vpxd (vmware-vpxd-svcs) service on Windows vCenter Server
search cancel

Troubleshooting vpxd (vmware-vpxd-svcs) service on Windows vCenter Server

book

Article ID: 342346

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides steps to troubleshoot a vCenter Server service which does not start or has failed.


Symptoms:
  • vmware-vpxd service failed to start.
  • You cannot connect to VMware vCenter Server with the vSphere Client.
  • You cannot see the VMware vCenter Server in the inventory in the vSphere Web Client.
  • You may see a Microsoft Windows Event error associated with IIS similar to:

    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


    Note: A windows Event ID 1000 may also be reported in relation to this issue.
     
  • Connecting to vCenter Server fails with the error:

    Cannot connect to host server_name: No connection could be made because the target machine actively refused it.
     
  • Attempting to start the VMware VirtualCenter Server service fails.
  • You may see this error:

    Windows could not start the VMware VirtualCenter Server service on Local Computer. Error 2: The system cannot find the file specified.
     
  • If you try to start the VMware VirtualCenter Server service, you may see these errors:
     
    • 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.
       
  • In the C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd.log file on vCenter Server, you may see entries similar to:
     
    • [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></time> 02128 error 'App'] [Vpxd::ServerApp::Init] Init failed: VpxdMoReverseProxy::Init()
      <YYYY-MM-DD>T<time></time> 02128 warning 'VpxProfiler'] ServerApp::Init took 29328 ms
      <YYYY-MM-DD>T<time></time> 02128 error 'App'] Failed to intialize VMware VirtualCenter. Shutting down...
      <YYYY-MM-DD>T<time></time> 02128 info 'App'] Forcing shutdown of VMware VirtualCenter now</time>


Environment

VMware vCenter Server 5.5.x
VMware vCenter Server 6.0.x
VMware vCenter Server 6.7.x
VMware vCenter Server 6.5.x

Cause

Potential causes of vpxd service failing on vCenter Server for Windows include, but not limited to:
  • Inability to connect to the vCenter Server database, especially when it is on an external server
  • Other database problems, such as bad or corrupt information in tables or in the ODBC configuration file
  • Corruption of critical .dlls or configuration files in the Windows system
  • Disk problems on the vCenter or external database server
  • Incompatible plug-ins
  • Missing critical vCenter Server files or folders
  • Incompatible hardware changes to the vCenter Server machine

Resolution

Notes:
  • Validate if each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document that helps eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Do not skip a step.
  • Completing the prescribed steps in this section may help to eliminate common causes of this problem by verifying the database configuration, validating network connectivity, and verifying the configuration of the VMware VirtualCenter Server service.

To troubleshoot the VMware Virtual Center Server service when it does not start or fails:

Note: If you perform a corrective action in any of these steps, attempt to restart the VMware VirtualCenter Server service.
  1. Verify that the VMware VirtualCenter Server service cannot be restarted.

    Open the Microsoft Services control panel and check the status of the service. For more information on starting the VMware VirtualCenter service if it has stopped.
  2. For version 6.0 only, verify the inventory service is able to start in vCenter Server.
Note: The Inventory service is no longer a separate service in versions 6.5/6.7.
  1. Verify that the connection to the vCenter database is correct and working.
    • Check the ODBC Data Source Name (DSN) used for connection to the database for vCenter Server is correct. For more information, see: ODBC and DSN errors installing vCenter Server
    • Check whether the database server machine is running, or the database application is down.
      • If not, your database administrator may need to get it working
    • Check whether the database user password has changed. See Changing the vCenter Server database user ID and password
      • If not, your database administrator might have to provide the correct password or change it
    • Verify that DNS or Active Directory contains the correct IP information for both the vCenter Server machine and the database server if that server is separate from the vCenter machine.
      • If not, your DNS/AD team may have to correct the addresses
  1. Verify if there is enough free disk space on vCenter Server. For more information, see The VMware VirtualCenter Server service does not start due to insufficient disk space.
 
  1. Verify that the required ports are available on the vCenter Server machine. For more information, see TCP and UDP Ports required to access VMware vCenter Server, VMware ESXi and ESX hosts, and other network components. If another application, such as Microsoft Internet Information Server (IIS) (also known as Web Server (IIS) on Windows 2008 Enterprise), Routing and Remote Access Service (RAS), World Wide Web Publishing Services (W3SVC), Windows Remote Management service (WS-Management) or the Citrix Licensing Support service are using any of the ports, vCenter Server cannot start.

    For more information, see Port already in use when installing VMware vCenter Server.

    If you see an error similar to one of these when reviewing the logs, another application may be using the ports:
    • Failed to create http proxy: Resource is already in use: Listen socket: :port_number
    • Failed to create http proxy: An attempt was made to access a socket in a way forbidden by its access permissions.
    • proxy failed on port port_number: Only one usage of each socket address (protocol/network address/port) is normally permitted.

      For more information on checking ports, see Determining if a port is in use.
  2. Verify the firewall is allowing the ports.
    • Defaults are:
      • 53 for DNS
      • 80 for external SQL servers
      • 88 and 135 for Active Directory
    • If your Windows internal firewall is preventing the traffic:
      • You may need to get your Windows Management team to change the settings
    • If an external network firewall is preventing the traffic:
      • You may need to get your network team to change the settings
    • See the VMware Ports and Protocols page for further information
  1. Verify the health of the database server that is being used for vCenter Server. If the hard drives are out of space, the database transaction logs are full, or if the database is heavily fragmented, vCenter Server may not start. For troubleshooting steps when using a Microsoft SQL database, see Investigating the health of a vCenter Server database.
  1. Verify whether the problem is due to vCenter Server database errors.
    • Navigate to the C:\ProgramData\VMware\vCenter Server\Logs\vmware-vpx directory
      • If your vCenter Server was installed to a different drive or directory, you'll need to look in that path
    • Open the most recent vpxd.log file in Notepad or other text editor.
    • Look for entries containing "error vpxd" and "SQL"
  1. Verify if the VMware VirtualCenter Server service is running with the proper credentials. For more information, see After installing vCenter Server, the VMware VirtualCenter Server service fails to start.
  2. Confirm that any plug-ins that are installed are compatible with your version of vCenter Server. Check with documentation to verify all installed plugins are compatible with the installed vCenter Server version. For more information, see Cannot remove or disable unwanted plug-ins from vCenter Server and vCenter Server Appliance.
  3. Verify that critical folders exist on vCenter Server. For more information, see Missing folders on a vCenter Server prevent VirtualCenter Server service from starting.
  4. Verify that no hardware or software changes are made to vCenter Server that causes the issue.
    • If you have recently made any changes to the vCenter Server, undo these changes temporarily for testing purposes.
      • Please be aware sometimes an update will change configuration and removing it will not reverse the change
      • Updates will commonly re-activate a program such as Microsoft IIS that takes over a port required by vCenter Server. Check the list of services for such applications.
    • Look in the Windows System and Application event logs for any information showing there is a problem with a vCenter Server .dll file
      • If so, vCenter Server will likely need to be restored from backup or reinstalled.
  1. Before launching vCenter Server 5.x, ensure that the VMwareVCMSDS service is running. For more information, see Installing VMware vCenter Server 5.0 fails with the error: Error 28023. Setup failed to setup VMwareVCMSDS directory service instance.
  2. Verify that the vpxd.exe file is present in C:\Program Files\VMware\Infrastructure\VirtualCenter Server\vpxd.exe location. If this file is not present, reinstall vCenter Server.

If your problem still exists after trying the steps in this article:



Additional Information

Reviewing the vpxd.log files is another common method of diagnosing vCenter Server when it does not start. By reviewing the log files, you can quickly determine the cause of the problem based on the error message reported.
  • To review the logs, open the most recent log in an editor, such as Notepad, and navigate to the bottom of the file. If there were any errors during the VirtualCenter Server startup service, it is listed in the file.
For information on troubleshooting vpxd service problems in the vCenter Server Appliance, see:
vpxd service fails to start

For different language, see:
vCenter Server 上で VMware VirtualCenter Server サービスが起動しない、あるいは失敗する場合のトラブルシューティング
Solucionar problemas del servicio de VMware VirtualCenter Server cuando este no se inicia o falla en el vCenter Server
排除 VMware VirtualCenter Server 服务在 vCenter Server 上未启动或失败时的故障