RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1 SP1 patch 2
It has been reported that after upgrading to Authentication Manager SP1 patch 2, replication on all instances failed.
1- SSH to one of replicas.
2-Navigate to /opt/rsa/am/server.
cd /opt/rsa/am/server
3- Start the replication service manually by running the following command"
./rsaserver start
4-Within one minute the replication service failed to start.
5-Reviewing the /opt/rsa/am/server/logs/ReplicaReplication.log found the following error:
@@@2015-04-13 23:14:46,673 FATAL [ApplyP2R latestAppliedSweepId: 2181752
linesCommittedInNextSweep: 0 nextSweepIdToApply: 2181753]
.......
at java.lang.Thread.run(Thread.java:680)
Caused by: java.sql.BatchUpdateException: Batch entry 2 insert into
rsa_rep.am_attr_categories
( id, label_key, is_editable_ind, domain_object_type ) values
( E'000000000000000000002001f0020036', E'TOKEN_SOFT_ANDROID_2.x', 'false', E'TOKEN' )
was aborted. Call getNextException to see the cause.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2598)As a workaround, the replica(s) can be redeployed or all duplicate records in the replica's database can be removed manually.
Before continuing, please take a backup of the Authentication Manager database from the Operations Console.
To remove the duplicate records, follow the steps below:
1- Connect to Authentication Manager server via SSH.
2- Navigate to /opt/rsa/am/utils.
cd /opt/rsa/am/utils
3- Run the following command.
./rsautil manage-secret -a listall
4- Part of the output will be as follows:
Database Administrator User ID ........................: rsa_dba
Database Administrator Password .....................: P4c9XXXWm7lBaXXXB7sXXXXNo32Q
5- Copy the rsa_dba Database Administrator User ID and Database Administrator Password to a text editor.
6- Navigate to /opt/rsa/am/pgsql/bin.
cd /opt/rsa/am/pgsql/bin
7- Run the following to access the SQL prompt:
./psql -h localhost -p 7050 -d db -U rsa_dba
8- Enter the Database Administrator Password (from step 4) when prompted.
9-When in the SQL prompt, run the following, where the ID number is the value seen in the ReplicaReplication.log
DELETE FROM rsa_rep.am_attr_categories WHERE id ='<id value displayed in ReplicaReplication.log>';
commit;
10- Navigate back to/opt/rsa/am/server and start the service.
cd /opt/rsa/am/server
./rsaserv start
11- Check the /opt/rsa/am/server/logs/ReplicaReplication.log to see if the error happens again.
12- If there are any errors, follow Steps 6 through 11 again, using the new ID value to delete that record.
Related Articles
Validate connection for Oracle Scanning - ORA - 12541 error 37Number of Views AFX Server fails to start in a WebSphere deployment after upgrading to 7.0.x or higher of RSA Identity Governance & Lifecycle 390Number of Views "The features parameter is not in a valid JSON format" error opening escalation workflow on RSA Governance & Lifecycle 23Number of Views Tables embedded in workflow email nodes are malformed after upgrading to version 7.1.1 of RSA Identity Governance & Lifecycle 89Number of Views How to capture web sessions using Fiddler for troubleshooting purposes 325Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA Authentication Manager Patch Updates RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to replace the RSA Authentication Manager self signed console certificate with a signed certificate from Microsoft Act…