Could not determine the AVDB SPFILE from "srvctl config database -d AVDB" when running modifyhostname.sh in RSA Via Lifecycle and Governance
Originally Published: 2016-03-23
Last Modified: 2022-06-20
Article Number
Applies To
Issue
Could not determine the AVDB SPFILE from "srvctl config database -d AVDB"
You may need to start oracle
Restarting Oracle does not resolve the issue. Cause
srvctl config database -d AVDBThe output will look similar to this.
Database unique name: AVDB Database name: AVDB Oracle home: /u01/app/oracle/product/11.2.0/db_1 Oracle user: oracle Spfile: +DG01/AVDB/spfileAVDB.ora Domain: Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Database instance: AVDB Disk Groups: DG01 Services:If the SPFILE parameter is not configured correctly or if it is blank, you will run into this issue while running modifyhostname script.
Resolution
Workaround
- Login to Oracle as sysdba using SQL*Plus or a similar client.
- Run the following command:
show parameter spfile;
The output will look like the sample below. The value may be different depending on the Oracle configuration.
NAME TYPE VALUE ------ ------ ------------------------------------------------------ spfile string /u01/app/oracle/product/12.1.0/db_1/dbs/spfileAVDB.ora
- SSH in to the RSA Via L&G server and run the following:
srvctl modify database -d AVDB -p <enter the string value received from Step 2>
- In this case, we would have to run the following command:
srvctl modify database -d AVDB -p /u01/app/oracle/product/11.2.0/db_1/dbs/spfileAVDB.ora
- Verify that the SPFILE is properly set by running this command:
srvctl config database -d AVDB You will see that SPFILE value is now correctly updated as follows: Database unique name: AVDB Database name: AVDB Oracle home: /u01/app/oracle/product/11.2.0/db_1 Oracle user: oracle Spfile: /u01/app/oracle/product/12.1.0/db_1/dbs/spfileAVDB.ora Domain: Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Database instance: AVDB Disk Groups: DG01 Services:
- Run modifyhostname.sh again.
Related Articles
RSA SecurID TokenConverter cannot write to output file 59Number of Views Group owner approval is getting assigned to wrong owner in RSA Identity Governance & Lifecycle 43Number of Views Installation of RSA Identity Governance & Lifecycle 7.0.2 fails during WildFly install/config phase with jboss-modules.jar… 137Number of Views Allow the Use of Nonstandard Email Domains 24Number of Views Role membership rules configured in the RSA Identity Governance & Lifecycle's Role UI do not create rules when no checkbox… 57Number of Views
Trending Articles
Don't see what you're looking for?