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>
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
To resolve this issue, follow the steps below:
- Copy the rsaenv file from another working instance of RSA Authentication Manager 8.x, either primary or replica.
- 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.