Application of RSA Identity Governance & Lifecycle 7.0.2 patch 07 fails to start Aveksa Compliance Manager (ACM) for remote database installation
4 years ago
Originally Published: 2018-06-08
Article Number
000041895
Applies To
RSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.0.2 P07
 
Issue
Application of RSA Identity Governance & Lifecycle 7.0.2 patch 07 fails to start the Aveksa Compliance Manager (ACM) for remote database installation.

ACM cannot be started, as it fails with this message, on screen and in /tmp/aveksa-install.log:
 
Cannot connect to the database. The watchdog will start the server when it can connect to the database.

When you run the installation with an strace, you will find an Oracle network error in the output:
 
ORA-12154: TNS:could not resolve

When you run the installation with 'set -x' in patch.sh, you will see that we are using an incomplete
connect string:
 
+ su - oracle -c '/usr/bin/Check_Instance_Running.sh :/myconnectstring silent'




 
Cause
Variables are missing.
Resolution
This problem has been reported to engineering (ACM-88194).
Workaround
To workaround this problem, aveksa_server needs to be modified.
 

PLEASE MAKE SURE YOU TAKE A BACKUP OF EITHER FILE BEFORE MODIFYING THEM.

For example:
 
cp <path/file> /tmp
 

If you are reading this before you start the P07 patch installation, please edit /tmp/aveksa/staging/deploy/init.d/aveksa_server before you start the P07 installation.

 

If you already did the P07 patch installation, and the ACM startup at the end failed,please edit /etc/init.d/aveksa_server and restart ACM after the change. Your installation will show that P07 was correctly applied.

Depending on the file above that needs to bed edited, add the two lines in red after line 40 as outlined below:
export $(grep ^AVEKSA_OWNER= $AVEKSA_HOME/Aveksa_System.cfg)
export $(grep ^AVEKSA_WILDFLY_HOME= $AVEKSA_HOME/Aveksa_System.cfg)
export $(grep ^REMOTE_ORACLE= $AVEKSA_HOME/Aveksa_System.cfg)
export $(grep ^USE_ASM= $AVEKSA_HOME/Aveksa_System.cfg)
export $(grep ^REMOTE_ORACLE_IP= $AVEKSA_HOME/Aveksa_System.cfg)
export $(grep ^REMOTE_ORACLE_PORT= $AVEKSA_HOME/Aveksa_System.cfg)

No need to add the text in black as that already exists in the file.