- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-01-2025 08:39 PM
DR recently encountered the error 1045 problem, and also found two related solutions, such as the following information
https://community.cyberark.com/s/article/PADR0100W-Metadata-Replication-warning-Communication-error-Last-SQL-Error-0
https://community.cyberark.com/s/article/PADR0100W-Metadata-Replication-warning-Last-IO-Error-Code-1045
Regarding the solution, the vault service must be shut down before the operation can be performed (ReplicationUser.pass should be changed)?
Because the main VAULT is an HA node, can the ReplicationUser.pass of the HA node be directly overwritten and does the ReplicationUser.pass in the shared disk (share:H:\) also need to be overwritten?
Does the DR-Vault service need to be shut down?
Can the MasterReplicationUser.pass be directly overwritten after the ReplicationUser.pass is renamed?
If the operation fails, will it affect the main VAULT?
06-01-2025 11:31 PM
Hi @YU MIN YEH
Please find the reply inline,
Regarding the solution, the vault service must be shut down before the operation can be performed (ReplicationUser.pass should be changed)? No, the CyberArk documentation for CAVaultManager.exe RecoverReplicationPassword does not state that the Vault service (PrivateArk Server) needs to be shut down on the Primary/Master Vault to execute this command. You perform this on an Active Primary Vault.
Because the main VAULT is an HA node, can the ReplicationUser.pass of the HA node be directly overwritten and does the ReplicationUser.pass in the shared disk (share:H:) also need to be overwritten?
Yes, if your Primary Vault is an HA, the ReplicationUser.pass file generated by
CAVaultManager.exe RecoverReplicationPassword will be created in the locally. The critical step for an HA setup, as hinted in the article you have shared to copy the newly generated file to passive node.
The shared storage is for the Vault database itself, not for configuration files like
ReplicationUser.pass
Does the DR-Vault service need to be shut down?
Yes, based on the steps, you need to be able to rename MasterReplicationUser.pass and copy the new ReplicationUser.pass into place on the DR Vault
Can the MasterReplicationUser.pass be directly overwritten after the ReplicationUser.pass is renamed?
Per the KB, On the DR, paste the ReplicationUser.pass file where the keys are stored and rename it to MasterReplicationUser.pass
If the operation fails, will it affect the main VAULT?
This command CAVaultManager.exe RecoverReplicationPassword on the Primary Vault This itself is designed to safely regenerate the ReplicationUser password internally and update the ReplicationUser.pass
However if the file is not correctly copied the file or rename it on the DR, the consequence would be that the DR replication will continue to fail. The Primary Vault would continue to function normally.
Once you copy the file initiate a full replication from the Primary to the DR. This step is crucial to re-establish the synchronized state.
I would suggest to work with CyberArk Support team to execute the above steps.
Hope it helps !
06-01-2025 11:31 PM
Hi @YU MIN YEH
Please find the reply inline,
Regarding the solution, the vault service must be shut down before the operation can be performed (ReplicationUser.pass should be changed)? No, the CyberArk documentation for CAVaultManager.exe RecoverReplicationPassword does not state that the Vault service (PrivateArk Server) needs to be shut down on the Primary/Master Vault to execute this command. You perform this on an Active Primary Vault.
Because the main VAULT is an HA node, can the ReplicationUser.pass of the HA node be directly overwritten and does the ReplicationUser.pass in the shared disk (share:H:) also need to be overwritten?
Yes, if your Primary Vault is an HA, the ReplicationUser.pass file generated by
CAVaultManager.exe RecoverReplicationPassword will be created in the locally. The critical step for an HA setup, as hinted in the article you have shared to copy the newly generated file to passive node.
The shared storage is for the Vault database itself, not for configuration files like
ReplicationUser.pass
Does the DR-Vault service need to be shut down?
Yes, based on the steps, you need to be able to rename MasterReplicationUser.pass and copy the new ReplicationUser.pass into place on the DR Vault
Can the MasterReplicationUser.pass be directly overwritten after the ReplicationUser.pass is renamed?
Per the KB, On the DR, paste the ReplicationUser.pass file where the keys are stored and rename it to MasterReplicationUser.pass
If the operation fails, will it affect the main VAULT?
This command CAVaultManager.exe RecoverReplicationPassword on the Primary Vault This itself is designed to safely regenerate the ReplicationUser password internally and update the ReplicationUser.pass
However if the file is not correctly copied the file or rename it on the DR, the consequence would be that the DR replication will continue to fail. The Primary Vault would continue to function normally.
Once you copy the file initiate a full replication from the Primary to the DR. This step is crucial to re-establish the synchronized state.
I would suggest to work with CyberArk Support team to execute the above steps.
Hope it helps !
06-01-2025 11:46 PM
hi @Malhar Vora
Thanks for your reply:
I want to know that when ReplicationUser.pass is generated in the main vault, in addition to overwriting the ReplicationUser.pass in the shared disk, the ReplicationUser.pass of the node's own OPERA-KEY must also be overwritten?
So in addition to overwriting the ReplicationUser.pass in the shared disk, the ReplicationUser.pass of the node itself must also be overwritten?
According to what you said, generating ReplicationUser.pass (overwriting) does not affect the overall service, and at most only affects the DR service. If this is the case, I think I can change it myself.
06-01-2025 11:53 PM
Hi @YU MIN YEH
Per the document link you have shared
”e. On the DR, rename the MasterReplicationUser.pass file to MasterReplicationUser.pass.bck
f. Copy the ReplicationUser.pass file from the primary vault to DR.
Note - Do not overwrite the original ReplicationUser.pass file on the DR Vault.
g. On the DR, paste the ReplicationUser.pass file where the keys are stored and rename it to MasterReplicationUser.pass”
If you are making this change in Production, better to work along with CyberArk Support team.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

