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

Installing and upgrading VMware Tools fails with the error: An error occurred while trying to access image file /usr/lib/vmware/isoimages/ (1037405)

  • 74 Ratings
Language Editions

Symptoms

Installing and upgrading VMware Tools fails with an error similar to:

Unable to install VMware Tools. An error occurred while trying to access image file /usr/lib/vmware/isoimages/linux.iso needed to install VMware Tools: No such file or directory. If your product shipped with the VMware Tools package, reinstall VMware ESX, then try again to install the VMware Tools package in the virtual machine.

Purpose

When Installing and upgrading VMware Tools fails, ensure to use a supported guest operating system to resolve this issue.

Cause

This issue occurs if your guest operating system is unsupported.

Resolution

To resolve this issue, ensure to use a supported guest operating system. To determine if your guest operating system is supported, see Supported guest operating systems (341).
 
In ESXi, the /usr/lib/vmware/isoimages is a symbolic link to /productLocker, which in turn is a symbolic link to a missing directory.
 
To verify and resolve this issue, recreate the symbolic link:
  1. Connect to the ESXi host with an SSH session and root credentials.
  2. Run this command to verify the symbolic link:

    ls -la /usr/lib/vmware/isoimages/

    You see output similar to:

    ls: /usr/lib/vmware/isoimages/: No such file or directory

  3. Run these commands to remove the invalid link:

    cd /

    mv locker /tmp

  4. Run this command to find the datastore that contains the locker:

    find . -iname vmtools

    For example:

    find . -iname vmtools

    /vmfs/volumes/5643b20b-d47f08bb-8b7e-a0369f7b334c/packages/6.0.0/vmtools

    /vmfs/volumes/5643b20b-d47f08bb-8b7e-a0369f7b334c/packages/6.0.0/

  5. In the vSphere Client\vSphere Web Client, navigate to ESXi host > Configuration > Advanced Settings > UserVars.
  6. Enter the /vmfs/volumes/datastore/packages/esxi_version/ in UserVars.ProductLockerLocation and press OK.
  7. Run these commands to recreate the symbolic link using the datastore from step 4:

    ln -s store locker

    ln -s /vmfs/volumes/datastore/packages/esxi_version/ /productLocker

    Note: If the ESXi host returns an error :

    ln: /productLocker: File exists

    The problem file exists in the root directory, move the current file to the  /tmp directory.Run the command:

    mv /productLocker /tmp
If ISO images are missing from /usr/lib/vmware/isoimages, collect vm-support files and send to VMware for analysis.

Impact/Risks

You cannot install or upgrade VMware Tools.

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

Tags

install-vmware-tools-linux vmware-tools-install-doesnot-complete vmware-tools-install-fails vmware-tools-install-upgrade-fails vmware-tools-Linux

See Also

Update History

07/25/2012 - Updated for ESXi 5.x

Language Editions

ja,2080317

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

  • 74 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.
  • 74 Ratings
Actions
KB: