installDatabaseOnly.sh script fails with error "No such file or directory" in RSA Governance & Lifecycle
2 years ago
Article Number
000071725
Applies To
  • RSA Governance & Lifecycle 8.0
Issue
Installation of RSA-provided Oracle database (RSA_IGL_DatabaseOnly.8.0.0.tar.bz2) fails with the following output on console:
acm-db:/tmp/aveksa/dbpackage # ./installDatabaseOnly.sh
This script installs Oracle Database for the RSA IGL Application.
Verifying Operating System distribution and version...
Copying files to /tmp/aveksa
cp: cannot stat '../../../packages': No such file or directory
cp: cannot stat '../../../staging': No such file or directory
./installDatabaseOnly.sh: line 144: cd: /tmp/aveksa/staging/deploy: No such file or directory
common.sh not found
acm-db:/tmp/aveksa/dbpackage #
Cause
The database installation script, installDatabaseOnly.sh, fails with the above error if the database-only package (RSA_IGL_DatabaseOnly.8.0.0.tar.bz2) is extracted into and the installation script is run from any folder other than /tmp/aveksa.  For example, the failed scenario described above shows that the package was extracted into a folder /tmp/aveksa/dbpackage.
Resolution
This is a known issue in RSA Governance & Lifecycle 8.0 database-only tar package (RSA_IGL_DatabaseOnly.8.0.0.tar.bz2) and currently under investigation.
Workaround
Extract the database package (RSA_IGL_DatabaseOnly.8.0.0.tar.bz2) into the folder /tmp/aveksa, and then run the installation script installDatabaseOnly.sh from the folder /tmp/aveksa.
For example:
acm-db:/tmp/aveksa # ./installDatabaseOnly.sh
This script installs Oracle Database for the RSA IGL Application.
Verifying Operating System distribution and version...
Copying files to /tmp/aveksa
cp: cannot stat '../../../packages': No such file or directory
cp: cannot stat '../../../staging': No such file or directory
END USER LICENSE AGREEMENT
...
Have you reviewed the release notes and agree to the license terms (yes or no)? yes
...
Installing Oracle...
...
Creating AVDB Instance...
...
[0:08:10 100%] executing packages/As_Public_Schema_User.pkb
[0:08:10 100%] executing Create Scripts/Create_Synonyms_Public_Schema.sql
The log is available at: /tmp/aveksa/staging/database/log/create.log
--------------------------------------------------------------------------
Oracle installation completed.
acm-db:/tmp/aveksa #