Error "PAREP006E Could not load local safes, code 2." observed when attempting to perform a DR replication
122
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:04 PM
Symptom
When attempting a full DR replication, the following error is experienced within the PADR.log and the replication job fails:
[01/12/2021 16:19:40.963358] {pid= 4428} {tid= 2076} :: PADR0009I Replicate started.
[01/12/2021 16:19:40.964802] {pid= 4428} {tid= 2076} :: PAREP006E Could not load local safes, code 2.
[01/12/2021 16:19:40.964830] {pid= 4428} {tid= 2076} :: PADR0011E Replicate failed.
Environment
9.10;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 Disaster Recovery Vault Replicator
Cause
There was a recent network related outage on the network where the DR is located, which could have caused some data corruption within the Data directory (for example, "<drive>:\PrivateArk\Safes\Data").
Resolution
Carry out the following steps on the DR server:
1. Stop the DR service.
2. Navigate to <drive>:\PrivateArk\Safes\ and rename "<drive>:\PrivateArk\Safes\Data" to "<drive>:\PrivateArk\Safes\Data_old" (for example)
3. Create a new folder, called Data, with the same permissions as the the original folder.
4. Navigate to "C:\Program Files (x86)\PrivateArk\PADR\conf" and open the PADR.ini file, delete the following two lines of this file, and save the changes:
NextBinaryLogNumberToStartAt
LastDataReplicationTimestamp
5. Start the DR service.
The replication should now complete successfully. Once the replication does complete successfully, the "Data_old" directory can be deleted.