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

Adding a VMware ESXi/ESX host to VMware vCenter Server fails (1005803)

Last Updated: 8/26/2015Categories: TroubleshootingTotal Views: 97954Language:
Chinese (Simplified)JapaneseEnglish

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

Cannot connect or reconnect the ESX\ESXi host to vCenter Server.

Adding an ESX\ESXi host to vCenter Server fails with the error:

Cannot contact the specified host hostname\IP. The host may not be available on the network, a network configuration problem may exist, or the management services on this host may not be responding.

After upgrading vCenter Server, a host does not reconnect to vCenter Server.

You see the error:

Unable to access the specified host. It either does not exist, the server software is not responding, or there is a network problem.

Unable to add host to vCenter.

In the /var/log/vmware/vpx/vpxa.log file, you see entries similar to:

'App' 7338928 error] [VpxaHalCnxHostagent] Failed to discover namespace: Success
'App' 7338928 warning] [VpxaHalCnxHostagent] Could not resolve namespace for authenticating to host agent
'App' 4283312 verbose] [SchedulePolling] Last stats polling used [0] ms
'App' 3076461728 verbose] [VpxaHalCnxHostagent] Creating temporary connect spec: localhost:443
'App' 3076461728 error] [VpxaHalCnxHostagent] Failed to discover namespace: Success
'App' 3076461728 warning] [VpxaHalCnxHostagent] Could not resolve namespace for authenticating to host agent
'App' 5815216 verbose] [SchedulePolling] Last stats polling used [0] ms
'App' 4017072 verbose] [VpxaHalCnxHostagent] Creating temporary connect spec: localhost:443

In the /var/log/vmware/hostd.log file, you see entries similar to:

F66C36D0 panic 'App'] error: Invalid argument : No IP addresses found for addr='localhost', port=12001 : (0) 'Unknown error'
F66C36D0 panic 'App'] backtrace:
[00] eip 0xf7d21965
[01] eip 0xf7c0e5c0

<YYYY-MM-DD>T<time>Z [FF8B5D20 info 'Solo'] webServer/port: 8309
*** In-memory logs end ***
error: N7Vmacore24InvalidArgumentExceptionE(Invalid argument : No IP addresses found for addr='localhost', port=8309 : (0) 'Unknown error')
backtrace:
backtrace[00] rip 16cff6e3 Vmacore::System::Stacktrace::CaptureWork(unsigned int)
backtrace[01] rip 16b24268 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
backtrace[02] rip 16ac2c95 Vmacore::Throwable::Throwable(std::string const&)
backtrace[03] rip 16cc2b61 Vmacore::System::TCPServerSocketPosix::BindAndListen(std::string const&, int)
backtrace[04] rip 050c4558 hostd [0x50c4558]
backtrace[05] rip 050c87f0 hostd [0x50c87f0]
backtrace[06] rip 050cbde6 hostd [0x50cbde6]
backtrace[07] rip 16ae141b Vmacore::Service::AppImpl::StartPlugins()
backtrace[08] rip 16adfd3f Vmacore::Service::InitApp(Vmacore::Service::Config*)
backtrace[09] rip 05d4fe33 hostd [0x5d4fe33]
backtrace[10] rip 05d45a28 hostd [0x5d45a28]
backtrace[11] rip 05d53e52 hostd [0x5d53e52]
backtrace[12] rip 1c886efc /lib/libc.so.6(__libc_start_main+0xdc) [0x1c886efc]
backtrace[13] rip 050c4141 hostd [0x50c4141]</time>

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

Cause

This issue occurs when these entries are missing from the ESXi or ESX host file:

127.0.0.1 localhost.localdomain localhost

::1localhost.localdomain localhost

Resolution

To resolve this issue:

Ensure that the /etc/hosts file is using 127.0.0.1 pointing to localhost.localdomain localhost.

For more information, see:

Editing files on an ESX host using vi or nano (1020302)

Identifying issues with and setting up name resolution on ESX Server (1003735)

Ensure that the host field within the /etc/nsswitch.conf file is set to hosts:files. Reboot the host to reflect your changes.

Note: If using DNS for authentication, ensure that the hosts field is set to hosts:dns files.

For more information, see Editing files on an ESX host using vi or nano (1020302).

Restart the Management agents on your ESXi/ESX Server and add the host to vCenter Server. For more information, see Restarting the Management agents on an ESX Server (1003490).

Related Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box..
Restarting the Management agents in ESXi
Identifying issues with and setting up name resolution on ESX/ESXi Server
Editing files on an ESX host using vi or nano
VMware ESXi/ESX ホストの VMware vCenter Server への追加に失敗する
将 VMware ESXi/ESX 主机添加到 VMware vCenter Server 失败

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

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

Result 1 of 1

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 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware VirtualCenter 2.5.x

VMware vCenter Server 6.0.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 ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant