Article Number
000036331
Applies To
RSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.0.2 P02
Issue
When attempting to reset the RSA Identity Governance & Lifecycle passwords with the generateLoginKey.sh command, the error "command not found" is generated.
acm-702:/home/oracle/deploy # ./generateLoginKey.sh
./generateLoginKey.sh: line 6: EXPORT: command not found
Cause
The generateLoginKey.sh is incorrect in 7.0.2 P02 and later.
Resolution
This issue will be resolved in a future patch.
This error does not directly affect the successful execution of the generateLoginKey.sh command. As long as there are no other errors generated by the script, the script can be considered as executed successfully. The export command that fails is intended to allow the generateLoginKey.sh command to be executed from paths other than the default location of /home/oracle/deploy/. If an attempt is made to run this script from another location, the script will fail with the following output. This is considered a failure and the the issue should be resolved before proceeding.
root@acm-700 deploy]# ./generateLoginKey.sh avuser
could not find /tmp/aveksa/staging/aveksa.ear
could not find /tmp/aveksa/staging/database
could not find /tmp/aveksa/staging/deploy
Run /home/oracle/deploy/configure.sh to set a valid installation source directory.
Workaround
As a workaround, edit the generateLoginKey.sh to correct the incorrect command in the script. To do so,
- Open the script in a text editor.
- Delete line 5; that is:
EXPORT CONFIGURE=Y
- Add lines 5 and line 6 as shown.
CONFIGURE=Y
export CONFIGURE