Unable to find a valid repository (when downloading SiteStat.xml)
Artigos técnicos ID:
KB54474
Última modificação: 5/4/2020
Ambiente
McAfee VirusScan Enterprise (VSE) 8.x
Problema
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
Problema
The VSE 8.x AutoUpdate action fails to initiate an update session with a repository.
Problema
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
Causa
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.
Solução
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:
- Start Internet Explorer.
- Click Tools, Internet Options.
-
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:
-
Open the VSE 8.x console. Click Start, Programs, McAfee, VirusScan Console.
- Select Tools, Edit AutoUpdate Repository List.
- Select the Proxy settings tab in the Repository List menu.
-
Select Manually configure the proxy settings.
-
Do the following to configure the settings for each required protocol (HTTP and FTP):
-
-
Type the IP address (or the host name) of the proxy server and press Tab.
-
Type the port number that the proxy server listens on.
-
Select Use authentication.
-
Type the user name in the following format:
DomainName\administrator
(where DomainName is the domain where the user account resides)
-
Type the password and press Tab.
-
To confirm, type the password again, and then click OK.
Solução
Troubleshoot issues with a UNC repository
- Click Start, Run, type the full UNC path in the following format, and then press Enter:
\\servername\sharedfolder\
-
Confirm that the following files are present:
-
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:
- Open the VSE 8.x console. Click Start, Programs, McAfee, VirusScan Console.
- Select Tools, Edit AutoUpdate Repository List.
- Select the appropriate repository from the list, and then click Edit.
-
Make sure that the UNC path is correct.
-
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.
Solução
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.
|