ORA-02095: specified initialization parameter cannot be modified

After identifying that the registered control files are incorrect (after receiving the ORA-00205: error in identifying control file, check alert log for more info error) though after executing the system set control files, I would receive and ORA-02095: specified initialization parameter cannot be modified error
May 30, 2014
OIM-11gR2-PS2
ORA-02095: specified initialization parameter cannot be modified

When trying to initiate the DB instance, I would receive the following error:
June 16, 2014
Oracle-Databases

ERROR at line 1: ORA-02095: specified initialization parameter cannot be modified

I would run the 'SQL show parameter control_files

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string /home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/ora_control1, /home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/ora_control2

You can see that the control_files are not pointing to the correct location
Actual locations
/home/oracle/app/oracle/oradata/orcl/control01.ctl
/home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl

ls -la /home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/ora_control1
/home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/ora_control2

So I tried altering the control files...

ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl','/home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl'
ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl'

-- Now i'm getting the following error

SQL ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl','/home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl'
2 ;
ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl','/home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl'
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified

So I tried this...

ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl','/home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl' scope=spfile;

Then this...

ALTER SYSTEM SET control_files='/home/oracle/app/oracle/oradata/orcl/control01.ctl' scope=spfile;

Still getting..

ERROR at line 1: ORA-02095: specified initialization parameter cannot be modified


SOLUTION

I was able to create a new SPFILE from the PFILE, which allowed me to initiate the startup

CREATE SPFILE FROM PFILE='/home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl11gR2.ora';

Then I was able to connect...

[oracle@localhost dbs]$ sqlplus sys/Password1@localhost.localdomain:1521/ORCL as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 29 11:57:57 2014

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL

About the author

Daniel is a Technical Manager with over 10 years of consulting expertise in the Identity and Access Management space.
Daniel has built from scratch this blog as well as technicalconfessions.com
Follow Daniel on twitter @nervouswiggles

Comments

Other Posts

NameID element must be present as part of the Subject in the Response message

ShibbolethSAML

August 7, 2018
Created by: Daniel Redfern
NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration.
Read More...

HOW TO provision AD group membership from OpenIDM

OpenIDMICFAD-connector

June 15, 2018
Created by: Daniel Redfern
For what I see, there's not too many supportive documentations out there that will demonstrate how provision AD group membership with the ICF connector using OpenIDM. The use of the special ldapGroups attribute is not explained anywhere in the Integrators guides to to the date of this blog. This quick blog identifies the tasks required to provision AD group membership from OpenIDM to AD using the LDAP ICF connector. However this doesn't really explain what ldapGroups actually does and there's no real worked example of how to go from an Assignment to ldapGroups to an assigned group in AD. I wrote up a wiki article for my own reference: AD group memberships automatically to users This is just my view, others may disagree, but I think the implementation experience could be improved with some more documentation and a more detailed example here.
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

ICFIDMOpenIDMOpenICF

November 8, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

org.forgerock.script.exception.ScriptCompilationException: missing ; before statement

IDMsync.confforgerockopenidm

November 8, 2017
Created by: Daniel Redfern
org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statemen

OpenIDMsync.confForgeRock

September 17, 2017
Created by: Daniel Redfern
ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

Caused by: org.forgerock.json.resource.BadRequestException: Target does not support attribute groups

OpenIDMForgeRockICFConnector

September 17, 2017
Created by: Daniel Redfern
When performing the attempt of a reconciliation from ForgeRock IDM to Active Directory, I would get the following error
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

OpenIDMForgeRockICFConnectorAD

September 17, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_g

OpenIDMIDMGoogleGoogle-AppsICFreconciliation

September 12, 2017
Created by: Daniel Redfern
During the reconcilation from OpenIDM to the ICF google apps connector, the following error response would occur. ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_grant
Read More...

forgerock-openidm-encryptedjwt-error

OpenIDMIDMForgeRockJWTIAM

August 29, 2017
Created by: Daniel Redfern
Received the JWT error
Read More...

Unexpected character ('¾' (code 190)): expected a valid value

ForgeRock-OpenIDMOpenIDMIDMKeystore

June 25, 2017
Created by: Daniel Redfern
Unexpected character occurred when the IP addresses changes and the virtual instance was migrated into a separate network subnet.
Read More...