Vault - Getting errors ITADB468E and CAVLT058E when running 'CAVaultManager.exe RecoverReplicationPassword'

Vault - Getting errors ITADB468E and CAVLT058E when running 'CAVaultManager.exe RecoverReplicationPassword'

105
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:58 PM


Symptom


When running the command 'CAVaultManager.exe RecoverReplicationPassword' the following error messages appear after providing the full path to the VaultEmergency.pass file:
C:\Program Files (x86)\PrivateArk\Server> CAVAultManager.exe RecoverReplicationPassword File name where encrypted emergency password for database access is stored [mandatory] ==> "C:\Keys CD Folder\VaultEmergency.pass" ... ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA2-512 (Protocol Integrity), SHA2-512 (Files Integrity). ITADB468E Unable to open encrypted file "C:\Keys CD Folder\VaultEmergency.pass" (Code: 123). CAVLT058E Error loading emergency password from file.
 


Environment


11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Vault Server PAS (any version)

Cause


The full PATH to the 'VaultEmergency.pass' file contains blanks. In the case shown in this article it is:
"C:\Keys CD Folder\VaultEmergency.pass"

The CAVaultManager.exe command expects the provided paths to the files without any quotes and blanks.


Resolution


The following procedure requires to stop the Vault services, so it will need to be done in a maintenance window.
  • Make a backup copy of the current dbparm.ini.
  • Copy the content of the current keys folder ("Keys CD Folder") into a new one like "KeysCDFolder".
  • Stop the vault services.
  • Edit dbparm.ini and modify all the instances of "Keys CD Folder" by "KeysCDFolder".
  • Save the changes.
  • Start the vault services and verify it all works OK.
  • Run the command:
CAVaultManager.exe RecoverReplicationPassword

and provide the path to the VaultEmergency.pass without any quotes and spaces:

C:\KeysCDFolder\VaultEmergency.pass

The command execution should succeed now.


Actions
  • Print
  • Copy Link

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