Unable to attach Authenticaiton Manager 8.1 SP1 replica
Originally Published: 2015-01-26
Last Modified: 2023-10-06
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1.0 SP1
Platform: VMware ESXi 5
Issue
[Begin Attach] choose replica_package.zip (used new ocadmin and password)
Processing request. Please wait. . . start of task 11:30:33am CST
Transferring data from primary instance Completed
Configuring replica instance Completed
Starting services in progress 7mins...(X) Failed
Sending....
Failed to attach replica instance.
You must redeploy this replica instance by performing the following steps:
Install log FATAL: Did not receive the first change from the primary within the expected time period
select latest_sweep_id from rsa_rep_util.AM_P2R_ReplicaStatus where action_cd = 'propagated';
select latest_sweep_id from rsa_rep_util.AM_P2R_PrimaryStatus where action_cd = 'written';
but 0 rows for each
select * from rsa_rep_util.AM_PRIMARY_CAPTURE; 0 rows
No Sweeps files in the /opt/rsa/am/replication directory, just latest_chgsets
Cause
Symptom is
ERROR: ld.so: object '/lib/libreadline.so.5' from LD_PRELOAD cannot be preloaded: ignored.}}
in the /opt/rsa/am/replication/addreplicaxxxxxxxxxxx<date>.log
Resolution
Workaround
Delete /lib/libreadline.so.5, reboot the primary and try clean replica attachment with new replica deployment
Engineering Note: If any one is attempting to do this manually
- Only delete the 32-bit libreadline.so.5 from the /lib directory
- DO NOT delete the 64-bit libreadline.so.* files from under /lib64 (deleting the wrong files may cause the AM system to fail to start and the system console to be inaccessible).
Longer answer:
The fix is a simple cleanup script which removes the 32-bit /lib/libreadline.so.5.2 as well as the symbolic link /lib/libreadline.so.5
The change is introduced near the beginning of the patch manifest additions for bug fixes. When the patch P1 is installed the log will show:
Cleanup /lib/libreadline installation
Removing: /lib/libreadline.so.5
Removing: /lib/libreadline.so.5.2
or, if the files are already removed:
Cleanup /lib/libreadline installation
No need to clean: /lib/libreadline.so.5
No need to clean: /lib/libreadline.so.5.2
________________________________________
The fix for this is not backed-out with un-install or rollback.
The fix can be applied multiple times - has no effect if the files are already removed.
Notes
If you attempt to run ./psql -h localhost -p 7050 -d db -U rsa_dba and see the the symptom
ERROR: ld.so: object '/lib/libreadline.so.5' from LD_PRELOAD cannot be preloaded: ignored
You have this problem, even if you get to the PGSQL db=# prompt
Related Articles
Replica is not synchronizing with primary on RSA Authentication Manager 8.1 1.1KNumber of Views Unable to attach a replica instance to primary due to duplicate key value in RSA Authentication Manager 8.7 SP1 or later 153Number of Views Promote a replica from the command line - RSA Authentication Manager 7.1 59Number of Views RSA Authentication Manager 8.1 Quick Setup Fails with "Failed to Attach Replica Instance" 1.87KNumber of Views RSA Authentication Manager Replica Attach Fails with SystemFingerprintException 1.45KNumber of Views
Trending Articles
Deploy an Identity Router Virtual Machine in Microsoft Azure How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console How to download the RSA Authentication Manager Console Root Certificate in DER format How to Change the Token Lifetime Extension Window in Authentication Manager Using rsautil AFX Server and Remote Collection Agents fail to start after updating Java to version 1.8u241 (1.8.0_241) / 1.7u251 (1.7.0_…
Don't see what you're looking for?