Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Update Manager fails with the error: Metadata for patch missing

Symptoms

  • After downloading ESX patches using Update Manager, scanning the ESX host fails
  • Update Manager fails
  • You see errors similar to:

    Metadata for patch missing
    Download host update packages: System error 3: The system cannot find the path specified.; Context: Failed to create temporary file. Error: 3

  • Cannot update ESX hosts
  • In the esxupdate.log file of Update Manager, you see the error :

    connection refused 111

  • In the vmware-vci-log4cpp.log file located at C:\Documents and Settings\All Users\Application Data\VMware\Update Manager or C:\Users\All Users\VMware\VMware Update Manager\Logs, you see connection errors similar to:

[08Apr17-0937] DEBUG: summary: /usr/sbin/esxupdate --HA --flushcache -d http://esxhost/vci/hostupdates/hostupdate/esx/esx-3.5.0 scan
[08Apr17-0937] DEBUG: root: Enabling hostagent interface
[08Apr17-0937] DEBUG: db: dbfile = [/etc/vmware/patchdb/patch.db], 3 keys
[08Apr17-0937] DEBUG: Depot: Download Rules: {'blacklist': ['*.rpm', '*/headers'], 'exclusives': []}
[08Apr17-0937] ERROR: root: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>

Resolution

To resolve the issue:
  1. Ensure that the Update Manager hostname can be pinged from the VirtualCenter and the ESX host.
  2. Ensure that the Windows temp directory is present in the system where Update Manager is running. If not, create one. 
  3. Ensure that the Update Manager is allowed through the ESX firewall. For example, if the port for Update Manager is 8080, the command is:

    esxcfg-firewall -o 8080,tcp,out,updatemanager


    For more information, see VMware Update Manager Network Port Requirements (1004543).

Additional Information

If you make changes to Update Manager ports, ensure to restart the VMware Update Manager service or reboot the server for the changes to take effect. For more information on restarting services, see Stopping, starting, or restarting vCenter services (1003895).

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


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)
Actions