Loading...

Knowledge Center


error code 5 (Access is Denied) (replication to SuperAgent Distributed Repository fails when the Mcafee Agent services do not use the system account)
Technical Articles ID:   KB87064
Last Modified:  4/28/2016

Environment

McAfee Agent (MA) 5.x, 4.x
McAfee ePolicy Orchestrator (ePO) 5.x

Problem

Replication to SuperAgent Distributed Repositories fails and you see the following error or similar recorded in the ePO server task log epoapsvr_<servername>.log:
 
20160428110514    I    #08464    NAINET      HTTP Session initialized
20160428110514    I    #08464    NAINET      Connecting to HTTP Server in socket-mode
20160428110514    I    #08464    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110515    E    #08464    NAINET      HTTPConnection.cpp(2262): Connected to Real Server: (Computer Name).(domain) on port: 8081. No Proxy used!
20160428110515    I    #08464    INETMGR     Started upload session 1 for site ePOSA_(Computer Name).
20160428110515    I    #08464    SITEMGR     UploadDirectoryTree: Downloading file Replica.log from site ePOSA_(Computer Name)::
20160428110515    I    #08464    INETMGR     Downloading file Replica.log from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000001, RemoteDir=.
20160428110515    I    #08464    NAINET      Open URL: http://(Computer Name).(domain):8081/Software/Replica.log
20160428110515    I    #08464    NAINET      Trying to download using windows socket library
20160428110515    I    #08464    NAINET      Sending HTTP GET Request Header. No Authentication used
20160428110515    I    #08464    NAINET      File not found, HTTP return code: 404
20160428110515    I    #08464    INETMGR     Download file Replica.log not found on the remote dir  in session 1.
20160428110515    I    #08464    SITEMGR     UploadDirectoryTree: Current is added to the branch list
20160428110515    I    #08464    SITEMGR     UploadDirectoryTree: Evaluation is added to the branch list
20160428110515    I    #08464    SITEMGR     UploadDirectoryTree: Previous is added to the branch list
20160428110515    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 5
20160428110515    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110515    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110515    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110515    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110515    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110515    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110515    I    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit remaining: 4
20160428110515    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 4
20160428110517    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110517    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110517    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110517    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110517    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110517    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110517    I    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit remaining: 3
20160428110517    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 3
20160428110519    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110519    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110519    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110519    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110519    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110519    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110519    I    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit remaining: 2
20160428110519    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 2
20160428110521    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110521    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110521    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110521    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110521    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110521    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110521    I    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit remaining: 1
20160428110521    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 1
20160428110523    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110523    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110523    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110523    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110523    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110523    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110523    I    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit remaining: 0
20160428110523    I    #08956    SITEMGR     ReplicationUploadFile: Uploading file SiteStat.xml to site ePOSA_(Computer Name)::, retry limit remaining: 0
20160428110525    I    #08956    INETMGR     Uploading file SiteStat.xml from session 1, LocalDir=C:\Windows\TEMP\nai4F4E.tmp\00000002, RemoteDir=.
20160428110525    I    #08956    NAINET      Uploading file C:\Windows\TEMP\nai4F4E.tmp\00000002\SiteStat.xml to HTTP Server
20160428110525    I    #08956    NAINET      Connecting to Real Server: (Computer Name).(domain) on port: 8081
20160428110525    I    #08956    NAINET      Connected to HTTP Server: (Computer Name).(domain)
20160428110525    W    #08956    NAINET      failed upload file: /Software/SiteStat.xml
20160428110525    I    #08956    INETMGR     Upload file SiteStat.xml failed in session 1, nainet ret=5.
20160428110525    e    #08956    SITEMGR     ReplicationUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)::, hr=-2147467259, retry limit reached
20160428110525    e    #08464    SITEMGR     WorkQueueUploadFile: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)
20160428110525    e    #08464    SITEMGR     ReplicateSite: Failed to upload file SiteStat.xml to site ePOSA_(Computer Name)
20160428110525    e    #08464    SITEMGR     ReplicateSite: Failed to upload directory tree to site ePOSA_(Computer Name)

20160428110525    I    #08464    NAINET      HTTP Session closed

Cause

The McAfee Agent services on the affected system are using a different account than the system account, and that account does not have sufficient rights for the replication.

Solution

To avoid the issue, use the system account for the McAfee Agent services.

Rate this document

Did this article resolve your issue?

Please provide any comments below

Beta Translate with

Select a desired language below to translate this page.

Glossary of Technical Terms


 Highlight Glossary Terms

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