000036331 - When attempting to reset the RSA Identity Governance & Lifecycle passwords with the generateLoginKey.sh command, the error "command not found" is generated. 

Document created by RSA Customer Support Employee on May 29, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036331
Applies ToRSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.0.2 P02
IssueWhen 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


 
CauseThe generateLoginKey.sh is incorrect in 7.0.2 P02 and later.  
ResolutionThis 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 director
y.


 
WorkaroundAs a workaround, edit the generateLoginKey.sh to correct the incorrect command in the script.  To do so,
  1. Open the script in a text editor.  
  2. Delete line 5; that is:


EXPORT CONFIGURE=Y


  1. Add lines 5 and line 6 as shown.


CONFIGURE=Y
export CONFIGURE


 

Attachments

    Outcomes