Replica synchronization is failing at "Downloading database from the primary" in RSA Authentication Manager 8.x
Originally Published: 2019-10-10
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
Errors are found in the /opt/rsa/am/server/logs/replica_replication.log. In the example below, the mentioned sweep file in the error does not exist on the primary on the directory /opt/rsa/am/replication/p2r_sweeps_to_apply:
java.lang.RuntimeException: could not find sweep file /opt/rsa/am/replication/p2r_sweeps_to_apply/p2r_sweep_15325090.sql.gz
with .sha256 file even though latest propagated sweep id is 15325090
at com.rsa.replication.ApplyP2R.isSweepFileReadyToBeApplied(ApplyP2R.java:313)
at com.rsa.replication.ApplyP2R.workIfNeccessary(ApplyP2R.java:71)
at com.rsa.replication.ReplicationRunnable.work(ReplicationRunnable.java:70)
at com.rsa.replication.util.ServiceCallable.work(ServiceCallable.java:110)
at com.rsa.replication.util.ServiceCallable.runMainLoopUnsafe(ServiceCallable.java:99)
at com.rsa.replication.util.ServiceCallable.runMainLoop(ServiceCallable.java:80)
at com.rsa.replication.util.ServiceCallable.call(ServiceCallable.java:42)
at com.rsa.replication.util.ServiceCallable.call(ServiceCallable.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)Cause
- DBRefresh.groovy
- ReplicationUtils.groovy
Resolution
You can manually transfer the missing scripts from another primary server that is running the same version of RSA Authentication Manager and place them in /opt/rsa/am/config/src/scripts directory on the primary that shows the error.
If you do not have a second primary, and are running RSA Authentication Manager 8.4 patch 5, copies of the files are attached to the article that can be used instead of pulling them from another primary server
The scripts for RSA Authentication Manager 8.4 patch 5 are attached to this article. If you are running a different version of the software, do not use these files. Contact RSA customer support to provide the correct scripts for your version.
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
Replica is not synchronizing with primary on RSA Authentication Manager 8.1 1.09KNumber of Views Cisco ASA authenticates to the RSA Authentication Manager 8.x primary but not to the replica 548Number of Views RSA Authentication Manager Replica Attach Fails with SystemFingerprintException 1.44KNumber of Views Promotion for maintenance fails: Unable to apply the data updates from the primary instance 304Number of Views Securid PAM agent for AIX 5.3 - unable to use ldap groups 3Number of Views
Trending Articles
Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA Authentication Manager 8.9 Release Notes (January 2026) AFX Server Fails to Start with 'Could Not Build a Validated Path' and 'Timed Out Waiting for AFX Applications to Start' in… AFX Server stuck in 'Not running' State, with error 'timed out waiting for AFX applications to start' Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory
Don't see what you're looking for?