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
AFX Server fails to start in a WebSphere deployment after upgrading to 7.0.x or higher of RSA Identity Governance & Lifecycle 388Number of Views RSA Authentication Manager SDK 8.5 (for Java) failed on startup with a "CRED_MISMATCH" error 298Number of Views AM Auth SDK 8.5 (for Java) troubleshooting -- Invalid config file Invalid bootstrap data 162Number of Views Webtier failed to install on Windows Server 128Number of Views Windows Share is not accessible from local users after upgrading to 8.5 263Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide