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

My Subscriptions

Loading

Knowledge Base

Adding an ESX host to vCenter Server fails with the error: Cannot install the vCenter agent service. Cannot upload agent (1031905)

Last Updated: 12/12/2014Categories: TroubleshootingTotal Views: 57110Language:
Chinese (Simplified)Portuguese (European)JapaneseEnglish

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

Cannot add the ESX host to vCenter Server

Adding the ESX host to vCenter Server fails

You see the error:

Cannot install the vCenter agent service. Cannot upload agent

In the /var/log/vmware/hostd.log file of the ESX host, you see a warning similar to:

[<YYYY-MM-DD><time> F59DEB90 warning 'Proxysvc Req00043'] Connection to named pipe /var/run/vmware/proxy-vpxa failed with error N7Vmacore15SystemExceptionE(Connection refused).</time>

In the vpxd.log file of vCenter Server, you see errors similar to:

[<YYYY-MM-DD><time></time> 01892 error 'App' opID=B5C87B14-00000484] [VpxNfcClient] Unable to connect to NFC server: Failed to connect to server 192.168.0.150:902
[<YYYY-MM-DD><time></time> 01892 error 'App' opID=B5C87B14-00000484] [VpxdHostAccess] Failed to upload files: vim.fault.HostConnectFault

[<YYYY-MM-DD><time></time> 05948 info 'Libs' opID=53CAD942-0000022A] Cannot connect to server name:902: No connection could be made because the target machine actively refused it
[<YYYY-MM-DD><time></time> 05948 info 'Libs' opID=53CAD942-0000022A] Cnx_Connect: Returning false because CnxConnectAuthd failed
[<YYYY-MM-DD><time></time> 05948 info 'Libs' opID=53CAD942-0000022A] Cnx_Connect: Error message: Failed to connect to server name:902
[<YYYY-MM-DD><time></time> 05948 error 'App' opID=53CAD942-0000022A] [VpxVmdbCnx] Authd error: Failed to connect to server name:902

Resolution

This issue occurs if port 902 is blocked or is in use by another application. vCenter Server requires TCP port 902 for uploading the VirtualCenter agent (vpxa) to the ESX host.

To resolve this issue, ensure that you can telnet TCP port 902 from vCenter Server to the ESX host. For more information, see Testing port connectivity with Telnet (1003487).

Also, ensure that the firewall or antivirus software is not blocking port 902.

Note: In some instances it may be found that port 902 is open and responding as expected. The issue may then be occurring as a result of the / partition on the ESX host being full. In this instance an error message similar to the following may be reported in the hostd.log.

[2012-03-08 info 'Libs'] [NFC DEBUG] NfcFileRawRead: write error There is no space left on the device.
[2012-03-08 warning 'Libs'] [NFC ERROR] NfcFile_ContinueReceive: write failed. expected 262144, got -1
[2012-03-08 info 'Libs'] [NFC DEBUG] NfcFile_Delete: Deleting file '/tmp/vmware-root/ha-agentmgr/upgrade '
[2012-03-08 warning 'Libs'] [NFC ERROR] NfcServerLoop: failed to receive file data
[2012-03-08 error 'Nfc'] Nfc_AuthdServerLoop saw error: File error -- Failed to write to the target file : There is no space left on the device

To resolve the issue in this instance, free the necessary space on the ESX/ESXi host.

Related Information

For related information, see Required ports for configuring an external firewall to allow ESX/ESXi and vCenter Server traffic (1005189).

Hosts with the scratch configuration pointing to an invalid datastore may report the error:

Cannot install the vCenter agent service. Cannot upload agent

To resolve this issue, see ESXi 4.x df command shows visorfs at 100% usage, or available space is a negative value (1026028).Testing port connectivity with Telnet
Required ports for configuring an external firewall to allow ESX/ESXi and vCenter Server traffic
ESXi 4.x df command shows visorfs at 100% usage, or available space is a negative value
将 ESX 主机添加到 vCenter Server 失败，并显示以下错误：无法安装 vCenter 代理服务。无法上载代理
「Cannot install the vCenter agent service. Cannot upload agent」というエラーが表示されて ESX ホストを vCenter Server に追加できないに追加できない
Falha ao adicionar um host ESX ao vCenter Server com o erro: Cannot install the vCenter agent service. Cannot upload agent
"Heap globalCartel-1 already at its maximum size” error in ESXi host

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)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:

Related Versions:

Take Our Survey

Support Assistant