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
The generateLoginKey.sh is incorrect in 7.0.2 P02 and later.
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 avusercould 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.
As a workaround, edit the generateLoginKey.sh to correct the incorrect command in the script. To do so,