Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

VMware vCenter Server displays the error: Failed to connect to host (1010837)

Last Updated: 4/12/2018Categories: TroubleshootingTotal Views: 50773Language:
JapaneseEnglish

6 like this article

Subscribe to get an email
newsletter with new updates

6 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Symptoms

vCenter Server cannot connect to a host when performing operations such as:

Storage vMotion

Cold migration

Cloning a virtual machine

Deploying from template

In the vpxa logs, you see entries similar to:

info 'Libs' opID=E3E07CA2-0000CC13-94] Cannot connect to server 190.10.20.121:902: Connection timed outinfo 'Libs' opID=E3E07CA2-0000CC13-94] CnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed
info 'Libs' opID=E3E07CA2-0000CC13-94] CnxConnectAuthd: Returning false because CnxAuthdConnect failed
info 'Libs' opID=E3E07CA2-0000CC13-94] Cnx_Connect: Returning false because CnxConnectAuthd failed
[2012-03-08 20:44:00.670 19F3FB90 info 'Libs' opID=E3E07CA2-0000CC13-94] Cnx_Connect: Error message: Failed to connect to server 190.10.20.121:902
warning 'Libs' opID=E3E07CA2-0000CC13-94] [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer (numRetries=0). Error: Failed to connect to server 190.10.20.121:902

In the vpxd logs, you see an entry similar to:

[2009-06-04 19:27:16.326 'App' 4444 error] [VpxdInvtHost] IP address change for 10.223.122.143 to 10.223.127.197 not handled, SSL certificate verification is not enabled.

You see entries similar to:

Failed To Connect to host

[2009-06-04 19:27:09.952 'Libs' 3902384 warning] [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer (numRetries=2). Error: Cannot connect to host 10.223.122.143: Connection timed out

vCenter Server shows virtual machines as being disconnected then connected.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

This issue occurs if the IP address of an ESX host is changed while being managed by vCenter Server. If the vCenter Server IP has been changed, see VMware vCenter Server IP address change causes VMware ESX hosts to disconnect (1001493).

To verify the cause of the issue:

Log in as root to the ESX host using an SSH client.

In the /etc/opt/vmware/vpxa/vpxa.cfg file, locate the Host IP address. In ESXi 5.x, the configuration file is located at /etc/vmware/vpxa/vpxa.cfg file. You see entries similar to:
<vpxa>
<hostIp>10.21.48.121</hostIp>
</vpxa>

Note: For more information on editing files, see Editing configuration files in VMware ESXi and ESX (1017022).

Resolution

To resolve this issue:

Note: If the IP address is incorrect, perform these steps in order. Do not skip a step:

Disconnect and reconnect the host:

Right-click the ESX host in vCenter Server and click Disconnect.

Reconnect the ESX host in vCenter Server by the Management IP address, not the hostname.

Restart the VirtualCenter agent on the ESX host:

Run this command to stop the vpxa service:

# service vmware-vpxa stop

Run this command in the Tech Support mode to stop the vpxa service in ESXi 5.x:

# /etc/init.d/vpxa stop

Open the /etc/opt/vmware/vpxa/vpxa.cfg file using the text editor and correct the IP address of the ESX host.

Run this command to start the vpxa service:

# service vmware-vpxa start

Run this command in the Tech Support mode to start the vpxa service in ESXi 5.x:

# /etc/init.d/vpxa start

Note: For VMware ESXi you may need to restart all of the management agents. For more information, see Restarting the Management agents on an ESXi or ESX host (1003490) .

Rebuild the VirtualCenter agent configuration file on the ESX host:

Caution: This step removes all host and virtual machine historical statistics counters. If the VMware ESX host is running virtual machines that started up in an EVC enabled environment, you may not be able to add the host back without shutting down the virtual machines first.

Right-click the ESX host in vCenter Server and click Disconnect.

Remove the disconnected ESX host from vCenter Server.

Note: It has been reported that in some instances it may be necessary to disable SSL certificates in the vCenter Server > Administration > vCenter Server Settings > SSL Settings for the update to vpxd.cfg to work . The SSL certificates can be re-enabled once the ESX host has been re-added back to the vCenter Server inventory .

Run this command to take a backup the vpxa.cfg file:

Note: In ESXi 5.x, the vpxa.cfg configuration file is located at /etc/vmware/vpxa/ .

# mv /etc/vmware/vpxa/vpxa.cfg /etc/vmware/vpxa/vpxa.oldcfg

Add the disconnected ESX host to the vCenter Server inventory.

Run this command to examine the contents of /etc/opt/vmware/vpxa/vpxa.cfg and confirm that the host IP address is correct:

# cat /etc/opt/vmware/vpxa/vpxa.cfg

In ESXi 5.x, run the command:

# cat /etc/vmware/vpxa/vpxa.cfg

Related Information

If the above steps do not resolve the issue, attempt to uninstall and install the agents on the VMware ESX host. For more information, see Verifying and reinstalling the correct version of the vCenter Server agents (1003714).

Note: If the ESX host is behind a NAT and the vCenter Server is on a different network, the above workaround may not address these issues or may impact other features such as HA which requires ESX hosts to communicate with each other through the actual IP and not NAT. For more information, see Using NAT between the vCenter Server system and ESXi/ESX hosts (1010652). This issue may also occur if NAT is turned on for the internal networks.

VMware vCenter Server IP address change causes VMware ESX hosts to disconnect
Verifying and reinstalling the correct version of the VMware vCenter Server agents
Using NAT between the vCenter Server system and ESXi/ESX hosts
Editing configuration files in VMware ESXi and ESX
VMware vCenter Server に次のエラーが表示される: ホストへの接続に失敗しました
VMware vCenter Server 显示错误： 无法连接到主机

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware VirtualCenter

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware VirtualCenter 2.5.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Copyright © 2024 VMware, Inc. All rights reserved.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant