Reference: Common Patch errors

Review common Patch error messages and possible solutions. For information about general errors in Patch, see Troubleshooting Patch.

Client API connection failed. Unable to download file. Error #9

Cause

An endpoint performed a client reset while downloading a patch.

Solution

This error message can typically be ignored. After the client reset is complete, the endpoint typically continues downloading the patch within minutes. If you continue to see this error message, Contact Tanium Support.

Error creating Update Service Object - See C:\Windows\windowsupdate.log for more details. Error #9

Cause

Patch is unable to establish communication with the local Windows Update API.

Solution

Review the Windows Update log for errors, and then consult the Microsoft documentation for information about each error.

Patch <Patch UID>: WU_E_DM_INCORRECTFILEHASH. Error #-2145099774

Cause

A patch file becomes corrupted in transit from Microsoft to the Tanium Server.

Solution

For help with this error message, Contact Tanium Support.

Patch <Patch UID>: ERROR_INSTALL_FAILURE. Error #-2147023293

Cause

This error can have various causes, but it is likely caused either by a third-party application or by corruption in the Windows update.

Solutions
  • Review your Host and network security requirements and make sure you have added the necessary security exclusions so that antivirus software is not blocking Tanium processes.

  • Use Tanium to target the endpoint and deploy the Patch - Reset Windows Update Client package to perform a Windows Update Agent reset.

Patch <Patch UID>: WU_E_CALL_CANCELLED. Error #-2145124341

Cause

This error is likely caused by interference from anti-virus software on an endpoint.

Solution

Review your Host and network security requirements and make sure you have added the necessary security exclusions so that antivirus software is not blocking Tanium processes.

-2147024784 ERROR_DISK_FULL

Cause

The installation drive on an endpoint is full.

Solution

Check the system drive and the drive on which the Tanium Client is installed and provide more disk space. Use the Disk Free Space, System Disk Free Space, Low Disk Space, or Low System Disk Free Space Tanium sensors to identify systems with low amounts of free disk space.

OfflSnc WARNING: failed to copy offline cab. hr = 0x80070070

Cause

The drive that contains the Tanium Client does not have enough disk space to download the offline CAB file.

Solution

Increase the amount of space available on the drive. Use the Disk Free Space, System Disk Free Space, Low Disk Space, or Low System Disk Free Space Tanium sensors to identify systems with low amounts of free disk space.

-2145124320 WU_E_NO_INTERACTIVE_USER

Cause

The patch cannot be installed silently, and a user must sign in and interact with the installation. Typically, this error occurs when conducting server patching.

Solution

Add the update to a block list or remove it from your deployment patch list. For more information, see Exclude patches with block lists and Edit a list.

E_PROP_ID_UNSUPPORTED

Cause

This error is triggered by the Windows Update Agent, and usually indicates that the endpoint needs to be restarted.

Solutions

Unable to Load PatchLib

Cause

This error is likely caused either by an endpoint not being part of a Patch action group, or by an incorrect version of Patch on the endpoint.

Solutions
  • Verify that the affected endpoint is in the Patch action group so that it is within scope of operations. For more information, see Configuring Patch.

  • Verify that asking Get Endpoint Configuration – Tools Status contains Patch in Interact shows the correct version of Patch is installed.

Windows Update Error: -2145124338 WU_E_XML_INVALID

Cause

The Windows Update Agent found invalid information in the XML data for the update.

Solution

Make sure that the endpoint is using the latest version of Windows Update Agent.

Unrestored registry snapshot found

Cause

The Patch Manager process was interrupted during a scan. This issue can happen if the endpoint restarts during a scan.

Solution

This issue is usually transient and no longer appears after the next scheduled scan. If you continue to see this error message, Contact Tanium Support.

Windows Update Error Code: 7 Out of Memory

Cause

The system has reached the system commit limit and is unable to complete scanning operations. Patch automatically performs batching operations to try to reduce the overall memory utilization of svchost during scans.

When Windows Update Service (wuauserv) builds the datastore.edb cache database, several gigabytes of memory need to be available to be committed. If not, this error can occur.

Note: Systems running earlier versions of Windows Server 2016 are more prone to this error.
Solutions
  • Set the page file to system managed.

    Review Microsoft documentation: How to determine the appropriate page file size for 64-bit versions of Windows. When using a dedicated logical disk for a system-managed paging file, the page file does not automatically grow beyond the size of the volume ÷ 8. For example, if a system is mounted with a 16 GB volume and a system-managed page file, the page file only expands to approximately 2 GB. In this situation, consider using a static page file or increasing the volume size to allow the page file to dynamically grow.

  • If the system is undersized, increase the installed RAM or reduce memory from other applications.

Windows Update Manager timed out waiting for the Windows Update Service to reach a Stopped state

Cause

Tanium attempted to restart the Windows Update service prior to executing a Tanium Scan for Windows scan. This attempt timed out if the Windows Update service was busy performing an operation (likely unrelated to Tanium Patch) at the time Tanium attempted to restart the service.

Solutions
  • Check the following Windows Update Agent logs to determine what invoked the operation (for example, automatic updates scan or WSUS):

    • C:\Windows\Logs\WindowsUpdate

    • C:\Windows\WindowsUpdate.log

  • Use the Patch - Reset Windows Update Client package to reset Windows Update Agent.

Windows Update Error: -2145107951 WU_E_PT_SUS_SERVER_NOT_SET

Cause

This error has the following causes:

  • The endpoint is running Windows 10 Home Edition.

  • The registry value is not set for a WSUS scan.

Solutions
  • Windows 10 Home Edition does not support Tanium Scan or WSUS scan. Contact Tanium Support if you see this error in your environment.

  • Use the Registry Value Data Tanium sensor to identify the values set on the endpoint. WSUS scans require the following registry values:

    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer with a value of URL:port. For example, http://192.168.1.10:8530

    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer with a value of 1

    To update the values on the endpoint, use the Registry - Set Value Tanium package. To add the key on the endpoint, use the Registry - Create Key Tanium package. Specify the WUServer registry value as a REG_SZ value type and the UseWUServer as a REG_DWORD value type. For more information, see Tanium Console User Guide: Managing packages.

    Important: After the values are added to the endpoints, restart the Windows Update service for the changes to take effect.

Linux: Could not get results

Cause

This error is likely caused by Patch tools not being installed on endpoints.

Solution

Verify that the Patch tools are installed on your Linux endpoints.

  1. From the Main menu, go to Modules > Patch > Overview, click Settings and then click Operating Systems to verify that the Enhanced Linux Support option is enabled.

  2. Verify that the Patch tools are installed on your Linux endpoints. If the Patch tools are not installed on your Linux endpoints, the Endpoint Configuration - Tools Status sensor returns Not Installed for Patch.

Linux: Failed to download repomd.xml

Cause

This error indicates that the Tanium Server cannot download the repomd.xml metadata file from the repository. The repomd.xml file is required for patch scanning.

Solution

Check for the following issues:

  • For Red Hat endpoints, the Red Hat certificate has been improperly configured or has rotated or the subscription has expired. For more information, see (login required).

  • The repository has been decommissioned by the vendor (for example, CentOS 6).

  • A firewall or proxy is interfering with communication between the Tanium Server and the remote repository.

Linux: Repo URLs found but unable to snapshot metadata files, likely due to connectivity issue

Cause

This error indicates that the Tanium Server cannot access the source repository for download.

Solutions

Linux: Selected repo <repository_name> is missing required Yum variables

Cause

This error indicates that Patch could not gather Yum variables for the operating system type of the selected repository.

Solution
  1. Ensure that the process is running on Linux endpoints. For more information, see Patch process is not running on Linux endpoints.

  2. Re-create the Yum variables by clicking the Interact icon interact-action in the message.

Linux: Repo URLs were found but the snapshot could not be created, likely due to a Yum variable mismatch

Cause

This issue indicates that Patch could not resolve the listed Yum variables in the repository upstream URL.

Solution
  1. Ensure that the Patch process is running on Linux endpoints. For more information, see Patch process is not running on Linux endpoints.

  2. Ensure that custom Yum variables in the URL are accurate.

  3. Ensure that you have defined the custom Yum variables on your Linux endpoints.

  4. Reinitialize Patch, which runs the Patch - Repository variables sensor to gather Yum variables from Linux endpoints. For more information, see Initialize Patch on Windows and Linux endpoints. Alternatively, wait up to three hours for normal processing to gather the variables.

Linux: Could not load DNF variables

Cause

The Patch module calls Python to resolve DNF variables, such as $releasever and $basearch, at startup. If the Python invocation returns empty or invalid output, a JSON parse failure occurs.

Common root causes include:

  • A custom Python installation takes precedence over the OS-standard Python (/usr/bin/python3) in the PATH variable, and the custom Python does not have the DNF module.

  • The DNF version on the endpoint is below 4.2.15.

  • The DNF Python module is corrupted or missing.

Solution
  1. Run which python3 on the affected endpoint.

  2. If the result is not /usr/bin/python3 or /usr/libexec/platform-python on Red Hat Enterprise Linux or CentOS, verify that the referenced Python has the DNF module by running: python3 -c 'import dnf; print(dnf._version_)'.

  3. If a custom Python is shadowing the OS-standard Python, complete one of the following actions:

    • adjust the PATH variable priority

    • remove or rename the custom Python

    • install the DNF module into the custom Python environment

  4. Verify that the DNF version is 4.2.15 or later by running dnf --version.