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

Using the VMware vCenter Server datastore browser to download or copy a powered-on virtual machine's .vmx and .nvram files fails. (1019286)

Last Updated: 4/8/2024Categories: TroubleshootingTotal Views: 162647Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

Downloading the .vmx or .nvram file of a powered-on virtual machine from the datastore browser in vSphere Client fails.

You see the error:

Expected put message. Got: ERROR

Copying the .vmxor .nvram file from the datastore browser in vSphere Client fails.

You see the error:

Unable to access file [filename]

Using vifs.pl to get the .vmxor .nvram file directly from an ESX\ESXi host that can see the datastore holding these files fails.

You see the error:

Error: File can not be downloaded to <destination path>

Connecting to the VMware vCenter Server URL (http://VC-hostname), navigating from the web-based the datastore browser link to the .vmx or .nvram file of a powered-on virtual machine and attempting to download the files fails with an http error or the error:

The downloaded file is of size 0 bytes

Notes:

When set to trivia logging, in the vCenter Server's vpxd logs, you see the entry:

Sending soap request to [TCP:<ESX-HostName>:<Port>]: nfcMakeTicketByDatastore.

You can enable trivia logging for vCenter Server to capture information about the ESX\ESXi host which vCenter Server selects to service the download request. For more information, see Enabling trivia logging in vCenter Server (1001584).

In the vpxa.log file for the ESX\ESXi host, you see entries similar to:

[2010-02-04 14:26:40.367 0xf7bbab90 info 'Libs'] [NFC DEBUG] NfcFileRawOpen: failed to open: Generic error..
[2010-02-04 14:26:40.367 0xf7bbab90 warning 'Libs'] [NFC ERROR] NfcFile_Open: Open failed:
[2010-02-04 14:26:40.367 0xf7bbab90 warning 'Libs'] [NFC ERROR] NfcStartFileSend : failed to open file

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

Resolution

This issue may occur when the .vmx or the .nvram files are stored on a shared datastore (that is, if the datastore is visible to more than one ESX\ESXi host). The ESX\ESXi host holds a lock to these files when the virtual machines is powered-on, so attempting to download these files from another ESX\ESXi host results in failure.

When browsing the web-based datastore browser or vSphere Client datastore browser connecting to a vCenter Server, vCenter Server chooses an ESX\ESXi host to service the download or copy operation. Problems occur if this ESX\ESXi host is not the host on which the powered-on virtual machine is running. Similarly, the download or copy operation can fail when browsing in a web-based datastore browser or vSphere Client's datastore browser after connecting to the ESX\ESXi host where the virtual machine is not running but the datastore is visible.

To work around this issue, try one of these options:

Use the datastore browser in vSphere Client directly connected to the ESX\ESXi host on which the virtual machine (whose .vmx or .nvram files are of interest) is running.

Use vifs.pl and connect directly to the ESX\ESXi host on which the virtual machine (whose .vmx or .nvram files are of interest) is running.

Use a web-based datastore browser by connecting a browser directly to the ESX\ESXi host on which the virtual machine (whose .vmx or .nvram files are of interest) is running.

In vCenter Server 4.0 Update 2 and vCenter Server 4.1 or later, use a web-based datastore browser by connecting a browser to vCenter Server.

Note: If the download fails, retry the download operation.

Note: If the preceding options do not resolve your issue, contact VMware Support. For more information, see How to Submit a Support Request.

Related Information

If the workarounds listed above do not work, you can power off the virtual machine and then attempt the file copy again. If the operation fails even when the virtual machine is powered off, it is possible that a backup process or some other process is holding a stale lock on the file.

For other troubleshooting options, see Investigating virtual machine file locks on ESXi/ESX (10051).

Enabling trivia logging in VMware vCenter Server
Investigating virtual machine file locks on ESXi
No se puede utilizar el buscador del almacén de datos de vCenter Server para descargar o copiar archivos .vmx y .nvram de una máquina virtual encendida
Falha ao usar o navegador de armazenamento de dados do vCenter Server para baixar ou copiar arquivos .vmx e .nvram de uma máquina virtual ligada
使用 VMware vCenter Server 4.x、5.x 及 6.0 数据存储浏览器下载或复制已打开电源虚拟机的 .vmx 和 .nvram 文件失败
vCenter Server データストア ブラウザを使用したパワーオン状態の仮想マシンの .vmx ファイルおよび .nvram ファイルのダウンロードまたはコピーに失敗する

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

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)

KB
•
vCenter Server 从 5.x 升级到 6.x 后出现 SMS 证书过期警报：VasaServiceException: org.apache.axis2.AxisFault: certificate has expired (2120105)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vCenter Server

VMware Infrastructure SDK

VMware ESX Server

Related Versions:

VMware vSphere ESXi 7.0

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware vCenter Server 7.0.0

VMware vCenter Server 6.7.x

VMware vCenter Server 6.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 Infrastructure SDK 2.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Support Assistant