Search the VMware Knowledge Base (KB)
View by Article ID

vCenter Server Appliance vmware-vpxd service fails to start (2018902)

  • 42 Ratings

Symptoms

  • The vmware-vpxd service does not start on a vCenter Server Appliance.
  • The vmware-vpxd service shows as running, but you cannot connect to vCenter Server with the client.
  • The VMware VirtualCenter Webservices service fails to start.
  • Running the hostname -f command fails with the error:

    hostname: Unknown host
  • In the /var/log/vmware/vpx/vpxd.log file, you see entries similar to:
<YYY-MM-DD><TIME> [7FFFF3B09700 error 'Default'] [VpxdMain] Failed to initialize: Name or service not known
<YYY-MM-DD><TIME> [7FFFF3B09700 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...
<YYY-MM-DD><TIME> [7FFFF3B09700 info 'Default'] Wrote uptime information
<YYY-MM-DD><TIME> [7FFFF3B09700 info 'Default'] Forcing shutdown of VMware VirtualCenter now

Cause

This issue occurs if the hostname of vCenter Server Appliance is not set correctly.

Resolution

To resolve this issue, add the IP address and FQDN of vCenter Server Appliance to /etc/hosts file.
 
To add the IP address and FQDN of vCenter Server Appliance to /etc/hosts file: 
  1. Log in to the console of vCenter Appliance as the root user.
  2. To change directory to /etc , run this command:

    cd /etc

  3. Open the hosts file using a text editor. For more information, see Editing files on an ESX host using vi or nano (1020302)
  4. Add the hostname in vCenter_IP vCenter Server Appliance FQDN vcenter short name format.

    For example, 10.10.10.10 vcenter.vmware.com vcenter

  5. Save and close the file.
  6. Restart the vmware-vpxd service by running this command:
service vmware-vpxd restart

Tags

fault/crash

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 42 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 42 Ratings
Actions
KB: