Incorrect database parameter causes the database not to start, on an RSA Identity Governance & Lifecycle Appliance
Originally Published: 2018-12-28
Article Number
Applies To
RSA Product/Service Type: Appliance
RSA Version/Condition: 6.9.1 and above
Issue
For example:
ORA-00821: Specified value of sga_target 512M is too small, needs to be at least 768MConsequently, the RSA Identity Governance and Lifecycle product cannot be started because the database is not running.
Cause
The problem does not appear until the database is re-started, because SCOPE=SPFILE was used.
Resolution
Once the bad parameter value has been fixed, the PFILE can then be converted back into the SPFILE, and used to start the database.
Login to the RSA Appliance as root, and then substitute root with the oracle user.
- login as root
- su - oracle
Confirm the ASM path for the SPFILE
The default location and name for the Oracle database parameter file (PFILE) is $ORACLE_HOME/dbs/initAVDB.ora.
However, when Oracle ASM is being used, the parameters are stored in the Oracle ASM instance as an SPFILE.
So, to confirm the ASM path for the SPFILE, we need to examine the contents of the default PFILE, because it points to the SPFILE in the Oracle ASM instance.
- Show the ASM path for the SPFILE, that is contained in the PFILE.
oracle@igl-710:~> cat $ORACLE_HOME/dbs/initAVDB.ora SPFILE='+DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115'
Copy the existing SPFILE to /tmp
Next, we need to copy the SPFILE to the /tmp directory for conversion and editing.
- Set the environment for Oracle ASM, and run the Oracle ASM Command-Line Utility.
oracle@igl-710:~> export ORACLE_SID=+ASM oracle@igl-710:~> export ORACLE_HOME=/u01/app/12.1.0/grid oracle@igl-710:~> asmcmd ASMCMD>
- Using the ASM path from step 3, copy the SPFILE to the /tmp directory, and then exit the ASMCMD utility.
ASMCMD> cp +DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115 /tmp/spfileAVBD.ora copying +DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115 -> /tmp/spfileAVDB.ora ASMCMD> exit oracle@igl-710:~>
Create the new SPFILE
Now that we have extracted the database SPFILE file from the Oracle ASM instance, we need to convert it to a PFILE so it can be edited.
Once the parameter has been fixed, we then convert the PFILE back into an SPFILE.
Once the parameter has been fixed, we then convert the PFILE back into an SPFILE.
- Run SQL*Plus and connect as SYSDBA.
oracle@igl-710:~> sqlplus / as sysdba
- Create the PFILE, and then exit out of SQL*Plus.
SQL> create PFILE='/tmp/pfileAVDB.ora' from SPFILE='/tmp/spfileAVDB.ora'; File created. SQL> exit oracle@igl-710:~>
- Edit the /tmp/pfileAVDB.ora file, and make the necessary changes.
oracle@igl-710:~> vi /tmp/pfileAVDB.ora
- Convert the PFILE back into an SPFILE using SQL*Plus, then exit.
oracle@igl-710:~> sqlplus / as sysdba SQL> create SPFILE='/tmp/new_spfileAVDB.ora' from PFILE='/tmp/pfileAVDB.ora'; File created. SQL> exit
Replace the SPFILE
Specifically, we will be replacing the SPFILE for the AVDB database in the Oracle ASM instance, with the new SPFILE we created in the /tmp directory.
- Use the ASMCMD utility to replace the SPFILE, then exit the ASMCMD utility.
(still need to actually do this) oracle@igl-710:~> asmcmd ASMCMD> rm +DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115 ASMCMD> cp /tmp/new_spfileAVBD.ora +DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115 copying /tmp/new_spfileAVDB.ora -> +DG01/AVDB/PARAMETERFILE/spfileAVDB.ora_1520389862115 ASMCMD> exit oracle@acm-710:~> - Return to the normal RSA Identity Governance and Lifecycle environment by running setDeployEnv.sh, then start the database and application.
oracle@acm-710:~> cd /home/oracle oracle@acm-710:~> . setDeployEnv.sh oracle@acm-710:~> acm startdb Database is running. oracle@acm-710:~> acm start
Related Articles
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 AFX Server remains in a 'Not running' State, afx status shows 'timed out waiting for AFX applications to start' and esb.AF… 1.12KNumber of Views '[Ljava.lang.StackTraceElement;@382839bd 0 [main] ERROR com.aveksa.cli.BaseExecCLIModule' error backing up (exporting) th… 471Number of Views Replacing the server certificate used for the RSA Identity Governance & Lifecycle appliance web administration interface 3.07KNumber of Views On database startup for RSA Identity Governance and Lifecycle the following error is seen: CRS-2501: Resource 'ora.avdb.d… 499Number of Views
Trending Articles
An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x RSA Authentication Manager 8.9 Release Notes (January 2026) RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager Upgrade Process
Don't see what you're looking for?