Unable to find a valid repository (when downloading SiteStat.xml)


Environment

McAfee VirusScan Enterprise (VSE) 8.x

Problem

The ePO scheduled update task, or local VSE 8.x update, fails. You see the following entries in the agent_<computer_name>.log file:

Unable to find a valid repository

Problem

The VSE 8.x AutoUpdate action fails to initiate an update session with a repository.

Problem

Updates or deployments fail and you see the following entries in the agent_<computer_name>.log file:

Error occurred while downloading the file SiteStat.xml

Error downloading the file CommonUpdater/SiteStat.xml, nainet GetLastError() = 4

Cause

The SiteStat.xml file is the first file that the update process looks for. This file is used to validate that the repository is correct and updated. There might be several causes for this error. But, most often there a connectivity issue between the client and the repository that it tries to access.

Solution

Troubleshoot a connection with a proxy server
Proxy servers such as the Microsoft ISA Server often require authentication. By default, VSE tries to use Internet Explorer proxy settings. But, this action is sometimes insufficient.

To establish if a proxy server is in use:
  1. Start Internet Explorer.
  2. Click Tools, Internet Options.
  3. Select Connections, LAN Settings.

Make a note of any details that are present in the proxy section.
 

To manually configure proxy settings and authentication for VSE:

  1. Open the VSE 8.x console. Click Start, Programs, McAfee, VirusScan Console.
  2. Select ToolsEdit AutoUpdate Repository List.
  3. Select the Proxy settings tab in the Repository List menu.
  4. Select Manually configure the proxy settings.
  5. Do the following to configure the settings for each required protocol (HTTP and FTP):
    1. Type the IP address (or the host name) of the proxy server and press Tab.
    2. Type the port number that the proxy server listens on.
    3. Select Use authentication.
    4. Type the user name in the following format:

      DomainName\administrator

      (where DomainName is the domain where the user account resides)
       
    5. Type the password and press Tab.
    6. To confirm, type the password again, and then click OK.

Solution

Troubleshoot issues with a UNC repository
  1. Click Start, Run, type the full UNC path in the following format, and then press Enter:

    \\servername\sharedfolder\ 
     
  2. Confirm that the following files are present:
    • SiteStat.xml
    • catalog.z
    • Current (folder)
NOTE: If the folder opens but these files are missing, the issue is with the process or application that is responsible for populating this repository. If the folder does not open, the repository might not exist. Or, the logged on user might not have the correct read permissions to access the share.

To set the permissions:
  1. Open the VSE 8.x console. Click Start, Programs, McAfee, VirusScan Console.
  2. Select Tools, Edit AutoUpdate Repository List.
  3. Select the appropriate repository from the list, and then click Edit.
  4. Make sure that the UNC path is correct.
  5. Select the Use logged-on user option if the update takes place when a user is logged on to the computer, and the user has the correct permissions.

    If reliance on a logged on user is not appropriate, deselect this option and type a user account with the correct permissions.

Solution

Logging
A verbose log file is available to help you troubleshoot:
 
Default location:  C:\Documents and Settings\All Users\Application Data\Network Associates\Common Framework\Db
File name: agent_<computer_name>.log
  (where <computer_name> is the host name of the computer where the update is being initiated)
 
The log has a time-date stamp on the left. If an update was recently tried, this update is recorded in the last 20–100 lines of the log.

Glossary of Technical Terms

 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.