Troubleshooting the vCenter Server Agent when it does not start
book
Article ID: 311805
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
The vCenter Server Agent, also referred to as vpxa or the vmware-vpxa service, is what allows a vCenter Server to connect to a ESX host. Specifically, vpxa is the communication conduit to the hostd, which in turn communicates to the ESX kernel. This article provides troubleshooting steps for when the vpxa does not start.
Symptoms:
Unable to connect with the VMware Infrastructure /vSphereClient to the ESX host from VirtualCenter/vCenter Server.
Unable to directly connect with the vSphere Client to the ESX host.
Environment
VMware ESX Server 3.5.x VMware ESX 4.0.x VMware vCenter Server 4.1.x VMware ESX Server 3.0.x VMware ESX 4.1.x VMware VirtualCenter 2.5.x VMware VirtualCenter 2.0.x VMware vCenter Server 4.0.x
Resolution
Validate that each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document, in order to 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.
Log in to the ESX host service console and acquire root privileges.
Verify that the installation of the vCenter Server agent is not corrupted. From the command-line, run:
rpm -V VMware-vpxa
There is only output from the command if errors are found. For example:
This indicates that the Size, MD5 checksum, and Timestamp for the file /opt/vmware/vpxa/sbin/vpxa are wrong, and therefore the installation of the VMware-vpxa package is corrupt. If you do have a corrupted installation, proceed to the next step to re-install the VirtualCenter agent.
Note: The Red Hat Package Manager does not keep tabs on dynamic configuration files, so you cannot see errors about them.