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
AM Auth SDK 8.5 (for Java) troubleshooting -- Invalid config file Invalid bootstrap data 162Number of Views RSA Authentication Manager SDK 8.5 (for Java) failed on startup with a "CRED_MISMATCH" error 300Number of Views Webtier failed to install on Windows Server 128Number of Views All Data Collectors fail with an 'ORA-01400: cannot insert NULL into' error after upgrading to 7.0.x of RSA Identity Gover… 132Number of Views SonicWall SonicOS - RADIUS Configuration for Authentication Manager - RSA Ready Implementation Guide 31Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA SecurID Desktop Token 5.0.3 for Windows Administrator's Guide Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU Logs overflow with Connection to the Workpoint Server errors in RSA Governance & Lifecycle