DR error "ITAPE281E Error while retrieving file (Code 20, 5, 65536)" observed when attempting a full replication

DR error "ITAPE281E Error while retrieving file (Code 20, 5, 65536)" observed when attempting a full replication

136
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:57 PM


Symptom


The following error is observed within the PADR.log when a full Disaster Recovery (DR) replication is attempted:

[11/11/2021 10:31:22.406902] :: PADR0088I Triggering Full Replication.
[11/11/2021 10:31:22.406945] :: PAREP061I Generating Full backup.
[11/11/2021 10:32:16.195938] :: CASTM003E Vault transaction failed. Reason: ITAPE281E Error while retrieving file (Code 20, 5, 65536). . ITAPE281E Error while retrieving file (Code 20, 5, 65536).
[11/11/2021 10:32:16.195990] :: PADR0005E Full Replicate failed. (Code -1409281)
[11/11/2021 10:32:16.196150] :: PADR0005E Reset Slave failed (Code -1409281)
[11/11/2021 10:32:16.196175] :: PADR0011E Replicate failed.
[11/11/2021 10:32:17.218663] :: PADR0100W Metadata Replication

This impacts the general functionality of the DR replication, which results in the following being observed within the Vault italog: 

ITATP153E Security warning - Failed to rotate OpenID keys. Contact Idira support. Reason: Signing key has not yet been replicated to DR site(s). Key will not be changed. 



Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8 Privileged Access Manager (PAM, self-hosted) Vault Server PAS - Vault - DR

Cause


The error "ITAPE281E Error while retrieving file (Code 20, 5, 65536)" can be broken down as follow:
  • "20" is a location in the code, which is where files are sent to the client
  • "5" is ERROR_ACCESS_DENIED, which is a return code returned by the OS when we try to read a file. This is not necessarily a permissions problem, this might be a low level error code.
  • "65536" is an error value in the Vault for files with a reading-error
What appears to happen when this error is observed is the Vault is/was trying to send a file and called the OS to read the file. However, the OS failed to read this and returned an error, which caused the Vault to set the error flag in the current file object.


Resolution


  • Run ProcMon to determine what folder is being accessed when this issue is happening.
  • In the instance where this was observed, the directory "<drive>:\StagingArea" did not have sufficient permissions. Once explicitly adding Read rights to this directory, in addition to the existing full control of user SYSTEM, this helped in ensuring the full replication completed without issues.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000015AYCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail