Failed to connect to the database error during upgrade to RSA Identity Governance & Lifecycle 7.0.1
Originally Published: 2017-04-06
Article Number
Applies To
RSA Version/Condition: 7.0.1
Issue
[Wed Mar 29 15:44:41 EDT 2017] Shutting down RSA Identity Governance and Lifecycle...
[Wed Mar 29 15:44:41 EDT 2017] Shutting down RSA Identity Governance and Lifecycle completed
--------------------------------------------------------------------------
[Wed Mar 29 15:44:41 EDT 2017] Configuring users...
[Wed Mar 29 15:44:41 EDT 2017] Configuring users completed
--------------------------------------------------------------------------
[Wed Mar 29 15:44:41 EDT 2017] Installing Oracle Client...
[Wed Mar 29 15:44:43 EDT 2017] Installing Oracle Client completed
--------------------------------------------------------------------------
[Wed Mar 29 15:44:43 EDT 2017] Checking database connections...
Checking database...
Failed to connect to the database[Wed Mar 29 15:44:43 EDT 2017] Checking database connections...
Checking database...
Failed to connect to the databaseCause
- Open the following files in a text editor:
- /tmp/aveksa/staging/deploy/common.sh,
- /tmp/aveksa/staging/deploy/install.sh and
- /tmp/aveksa/staging/database/cliAveksa.sh
- Add the following command as the first line in each file. This will print subsequent executed commands to the terminal.
set -x
- Save and close the files.
- Run the installation again.
- The last command run before the failure is:
. CHECK_SQLPLUS=Y . su - oracle -c 'tmp/aveksa/staging/deply/../database/cliAveksa.sh -check dbtuning silent' . "[' 126 -gt 0 ']' . tee -a /tmp/aveksa-install.log . echo 'Failed to connect to the database' . failed to connect to the database return 2 . '[' N = N ']' echo ''
- When you execute the following command as root, the following permission denied error is seen:
su - oracle -c '/tmp/aveksa/staging/deploy../database/cliAveksa.sh -check dbrunning silent'
bash: /tmp/aveksa/staging/deploy../database/cliAveksa.sh: Permission deniedResolution
Follow the instructions in the RSA Identity Governance and Lifecycle V7.0.1 Installation Guide to create /tmp/aveksa/staging and /tmp/aveksa/packages as root and untar the files to /tmp/aveksa/staging/ as root.
The files need to be executable and we must be allowed to write logs to /tmp. Run the following:
chmod +x /tmp/aveksa/staging/deploy/common.sh chmod +x /tmp/aveksa/staging/deploy/install.sh chmod +x /tmp/aveksa/staging/database/cliAveksa.sh
Related Articles
How to connect to SQL in RSA Authentication Manager 8.x 324Number of Views RSA Identity Governance & Lifecycle upgrade or migration error "ORA-00942: table or view does not exist" 192Number of Views Cancelling a change made in a review redirects to a null page or a request could not be handled error in RSA Identity Gove… 29Number of Views On RSA Via Lifecycle and Governance the aveksa_server start returns message: Cannot connect to the database, but the DB is up 677Number of Views v7.0.0 installation fails during configuring wildfly Failed to set session cookie. Error message - Unable to connect to co… 58Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to recover the Application and AFX after an unexpected database failure in RSA Identity Governance & Lifecycle RSA MFA Agent 2.4 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?