The rsaenv command to set the environmental variable fails to allow a connection to RSA Authentication Manager 8.x database
4 years ago
Originally Published: 2016-03-04
Article Number
000063257
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
 
Issue
When running the . ./rsaenv command to set the environmental variable, the command line is returned without prompting for the password for the rsa_dba user, as shown in the example below (note that the command is dot space dot slash):
 
rsaadmin@primary81:/opt/rsa/am/utils> . ./rsaenv
rsaadmin@primary81:/opt/rsa/am/utils> /opt/rsa/am/pgsql/bin/psql -h localhost -p 7050 -d db -U rsa_dba
rsaadmin@primary81:/opt/rsa/am/utils>
Cause
This behavior happens when the /opt/rsa/am/utils/rsaenv file is corrupt and shows a file size of 0 bytes. The size of the rsautil file should NOT be 0 bytes, as below:
rsaadmin@am81p:/opt/rsa/am/utils> ls -al rsaenv
-rw-r--r-- 1 rsaadmin rsaadmin 1337 Dec  6  2013 rsaenv
Resolution
To resolve this issue, follow the steps below:
  1. Copy the rsaenv file from another working instance of RSA Authentication Manager 8.x, either primary or replica.
  2. Place the file in /opt/rsa/am/utils.
If the deployment contains only one primary server, contact RSA Customer Support for fresh copies of this file.