I have a problem with a SPFILE as shown below.How can I get rid of that problem?Any suggestions?
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2182592 bytes
Variable Size 784335424 bytes
Database Buffers 276824064 bytes
Redo Buffers 5595136 bytes
Database mounted.
Database opened.
SQL> alter system reset log_archive_start scope=spfile sid='*';
alter system reset log_archive_start scope=spfile sid='*'
*
ERROR at line 1:
ORA-32010: cannot find entry to delete in SPFILE
asked Dec 20, 2011 at 13:09
1
Well, you can hack around with an SPFILE easily enough:
SQL> create pfile='/tmp/initSID.ora' from spfile;
Now edit that ordinary text file, then
SQL> create spfile from pfile='/tmp/initSID.ora';
And you can play with the temporary one with
SQL> startup pfile='/tmp/initSID.ora';
Note tho’ there is no actual problem with specifying obsolete parameters other than the message; the only issue is if you were relying on them to set some desired behavior, and they were ignored.
answered Dec 21, 2011 at 10:56
GaiusGaius
11.2k3 gold badges30 silver badges64 bronze badges
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
this error mainly occurs when you have used a parameter or changed the dynamic parameter which is not anymore used in that current version of oracle. In my case, I change the background_dump_dest location and gave the scope spfile so this parameter is not used in oracle 11g so what is did is
1)shut immediate the database
2)startup pfile = '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora'
3)Now create spfile from pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora'
4)file created
5)now shut immediate
6)startup
you wont get that error again.
I hope this will help.
atokpas
8,5541 gold badge15 silver badges27 bronze badges
answered Feb 1, 2017 at 9:51
I am getting ORA-32004 error while starting the database but all the parameters in spfile are fine. This issue came after upgrade the database from 10g to 11.2.0.4.0
SQL> startup ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
How to fix the ORA-32004 error?
Cause: ORA-32004 causes because one or more obsolete parameters were specified in the SPFILE. These depreciated parameters are still in use by spfile.
Action: See alert log for a list of parameters that are obsolete or deprecated. Remove it from the SPFILE.
You must check alert log to see the names of the parameters that are obsolete.
You can also find the obsolete parameters with this SQL*Plus query:
select name from v$obsolete_parameter where isspecified='TRUE';
OR
select p.name,p.value from v$parameter p, v$spparameter s where s.name=p.name and p.isdeprecated='TRUE' and s.isspecified='TRUE';
Once found, you must remove it from the spfile or pfile. You can use alter system command to remove it from spfile.
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/
Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez
Anuradha’s LinkedIn: https://www.linkedin.com/in/dbaanuradhamudgal/
LinkedIn Group: Oracle Cloud DBAAS
Facebook Page: OracleHelp
May 5, 2021
I got ” ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ” error in Oracle database.
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
Details of error are as follows.
ORA-32004: Obsolete and/or deprecated parameter(s) specified. Cause: One or more obsolete and/or parameters were specified in the SPFILE or the PFILE on the server side. Action: See alert log for a list of parameters that are obsolete. or deprecated. Remove them from the SPFILE or the server side PFILE.
Obsolete and/or deprecated parameter(s) specified.
This ORA-32004 error is related with One or more obsolete and/or parameters were specified in the SPFILE or the PFILE on the server side.
To solve this error, See alert log for a list of parameters that are obsolete. or deprecated. Remove them from the SPFILE or the server side PFILE.
How to Check Obsolete Parameter in Oracle
You can query the deprecated parameter list using the following script.
SQL>SELECT name from v$parameter WHERE isdeprecated = 'TRUE' ORDER BY 1; NAME ——————————————————————————– active_instance_count background_dump_dest buffer_pool_keep buffer_pool_recycle commit_write cursor_space_for_time fast_start_io_target global_context_pool_size instance_groups lock_name_space log_archive_local_first log_archive_start max_enabled_roles parallel_automatic_tuning parallel_io_cap_enabled parallel_server parallel_server_instances plsql_debug plsql_v2_compatibility remote_os_authent resource_manager_cpu_allocation sec_case_sensitive_logon serial_reuse sql_trace standby_archive_dest user_dump_dest 26 rows selected.
You can also use the following script.
SQL> select p.name,p.value from v$parameter p, v$spparameter s where s.name=p.name and p.isdeprecated='TRUE' and s.isspecified='TRUE'; NAME -------------------------------------------------------------------------------- VALUE -------------------------------------------------------------------------------- sec_case_sensitive_logon FALSE
You can remove or disable this parameter from spfile as follows.
alter system reset sec_case_sensitive_logon scope=spfile sid='*';
Do you want to learn Oracle Database for Beginners, then read the following articles.
Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )
1,695 views last month, 6 views today
Symptoms:
[oracle@vmxdb01.dbaglobe.com ~]$ sqlplus '/ as sysdba'SQL*Plus: Release 11.1.0.6.0 - Production on Fri Sep 18 14:30:15 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.Total System Global Area 1068937216 bytes
Fixed Size 2151248 bytes
Variable Size 612371632 bytes
Database Buffers 448790528 bytes
Redo Buffers 5623808 bytes
Database mounted.
Solutions:
Deprecated parameters can be found after non-default parameters, for example, in our case, the deprecated parameter is «sql_trace».
Fri Sep 18 14:30:21 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =121
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.6.0.
Using parameter settings in server-side pfile /opt/app/oracle/product/11.1.0/dbs/initorcl.ora
System parameters with non-default values:
processes = 1000
sessions = 1105
nls_territory = "SINGAPORE"
resource_manager_plan = "DEFAULT_PLAN"
memory_target = 1G
control_files = "+DATA/orcl/controlfile/control01.ctl"
control_files = "+ARC/orcl/controlfile/control02.ctl"
db_block_size = 8192
compatible = "11.1.0.0.0"
log_archive_dest_1 = "LOCATION=+ARC/"
log_archive_format = "%t_%s_%r.dbf"
db_create_file_dest = "+DATA"
db_recovery_file_dest = "+ARC"
db_recovery_file_dest_size= 45000M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)"
audit_file_dest = "/opt/app/oracle/admin/orcl/adump"
audit_trail = "DB"
db_name = "orcl"
open_cursors = 300
sql_trace = FALSE
diagnostic_dest = "/opt/app/oracle"
Deprecated system parameters with specified values:
sql_trace
End of deprecated system parameter listing
Fri Sep 18 14:30:21 2009
PMON started with pid=2, OS id=29803
Fri Sep 18 14:30:21 2009
VKTM started with pid=3, OS id=29805 at elevated priority
VKTM running at (20)ms precision
Skip to content
AS I was playing around with Oracle 11g instance, I set the log_archive_start parameter with SPFILE option.
Unfortunately this parameter is obsolete since 10g (oh never realised), so now every time I start this instance Oracle gives me a warning.
01 |
SQL> shutdown immediate; |
04 |
ORACLE instance shut down. |
06 |
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance |
07 |
ORACLE instance started. |
09 |
Total System Global Area 711430144 bytes |
10 |
Fixed Size 1338896 bytes |
11 |
Variable Size 536871408 bytes |
12 |
Database Buffers 167772160 bytes |
13 |
Redo Buffers 5447680 bytes |
So now I want to reset or remove this parameter. Well solution comes from Tom Kyte’s forum.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2200190221847
1 |
SQL> shutdown immediate; |
4 |
ORACLE instance shut down. |
5 |
SQL> create pfile from spfile; |
Let us find where the init.ora file went…
01 |
oracle@domU-12-31-39-03-BD-92:[/u01/app/oracle/product/11.2.0/db_1/dbs] |
04 |
-rw-rw---- 1 oracle oinstall 1544 Feb 15 2010 hc_DBUA0.dat |
05 |
-rw-rw---- 1 oracle oinstall 1544 Feb 15 2010 hc_odmdb.dat |
06 |
-rw-r--r-- 1 oracle oinstall 2851 May 15 2009 init.ora |
07 |
-rw-r--r-- 1 oracle oinstall 900 May 25 21:19 initodmdb.ora |
08 |
-rw-r----- 1 oracle oinstall 24 Feb 15 2010 lkODMDB |
09 |
lrwxrwxrwx 1 oracle oinstall 31 Feb 19 2010 orapwodmdb -> /u02/admin/odmdb/dbs/orapwodmdb |
10 |
drwx------ 2 oracle oinstall 4096 Feb 15 2010 peshm_DBUA0_0 |
11 |
drwx------ 2 oracle oinstall 4096 Feb 15 2010 peshm_odmdb_0 |
12 |
lrwxrwxrwx 1 oracle oinstall 36 Feb 19 2010 spfileodmdb.ora -> /u02/admin/odmdb/dbs/spfileodmdb.ora |
13 |
oracle@domU-12-31-39-03-BD-92:[/u01/app/oracle/product/11.2.0/db_1/dbs] |
Oh yes! we found it now let us edit it and remove the obsolete parameter.
01 |
odmdb.__db_cache_size=167772160 |
02 |
odmdb.__java_pool_size=4194304 |
03 |
odmdb.__large_pool_size=4194304 |
04 |
odmdb.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment |
05 |
odmdb.__pga_aggregate_target=247463936 |
06 |
odmdb.__sga_target=465567744 |
07 |
odmdb.__shared_io_pool_size=0 |
08 |
odmdb.__shared_pool_size=281018368 |
09 |
odmdb.__streams_pool_size=0 |
10 |
*.audit_file_dest='/u02/admin/odmdb/adump' |
12 |
*.compatible='11.2.0.0.0' |
13 |
*.control_files='/u02/oradata/odmdb/control01.ctl','/u02/flash_recovery_area/odmdb/control02.ctl' |
17 |
*.db_recovery_file_dest='/u02/flash_recovery_area' |
18 |
*.db_recovery_file_dest_size=4039114752 |
19 |
*.diagnostic_dest='/u01/app/oracle' |
20 |
*.dispatchers='(PROTOCOL=TCP) (SERVICE=odmdbXDB)' |
21 |
*.log_archive_start=FALSE |
22 |
*.memory_target=713031680 |
25 |
*.remote_login_passwordfile='EXCLUSIVE' |
26 |
*.undo_tablespace='UNDOTBS1' |
Now, after we edited the init.ora file we’ll recreate the spfile FROM pfile.
03 |
SQL*Plus: Release 11.2.0.1.0 Production on Fri May 25 21:37:18 2012 |
05 |
Copyright (c) 1982, 2009, Oracle. All rights reserved. |
07 |
Connected to an idle instance. |
10 |
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance |
11 |
ORACLE instance started. |
13 |
Total System Global Area 711430144 bytes |
14 |
Fixed Size 1338896 bytes |
15 |
Variable Size 536871408 bytes |
16 |
Database Buffers 167772160 bytes |
17 |
Redo Buffers 5447680 bytes |
21 |
SQL> create spfile from pfile; |
22 |
create spfile from pfile |
25 |
ORA-32002: cannot create SPFILE already being used by the instance |
Oops.. The database was started with SPFILE (by default) so PFILE is not in effect.
So let us restart the database with PFILE. The default PFILE location is $ORACLE_HOME/dbs/init$ORACLE_SID.ora in my instance.
So, we’ll shutdown the database, start it up with PFILE option, recreate SPFILE from PFILE, and then restart the database.
02 |
SQL> shutdown immediate; |
05 |
ORACLE instance shut down. |
07 |
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production |
08 |
With the Partitioning, OLAP, Data Mining and Real Application Testing options |
09 |
oracle@domU-12-31-39-03-BD-92:[/home/oracle] |
11 |
/u01/app/oracle/product/11.2.0/db_1 |
12 |
oracle@domU-12-31-39-03-BD-92:[/home/oracle] |
15 |
SQL*Plus: Release 11.2.0.1.0 Production on Fri May 25 21:57:38 2012 |
17 |
Copyright (c) 1982, 2009, Oracle. All rights reserved. |
19 |
Connected to an idle instance. |
21 |
SQL> startup PFILE="/u01/app/oracle/product/11.2.0/db_1/dbs/initodmdb.ora" |
22 |
ORACLE instance started. |
24 |
Total System Global Area 711430144 bytes |
25 |
Fixed Size 1338896 bytes |
28 |
Variable Size 536871408 bytes |
29 |
Database Buffers 167772160 bytes |
30 |
Redo Buffers 5447680 bytes |
33 |
SQL> create spfile from pfile; |
NOTE: There is no ORA warning. We’ll just restart the database now and we are good to go… The database started using SPFILE 🙂
Also we are in ARCHIVELOG mode.
02 |
SQL> shutdown immediate; |
05 |
ORACLE instance shut down. |
07 |
ORACLE instance started. |
09 |
Total System Global Area 711430144 bytes |
10 |
Fixed Size 1338896 bytes |
11 |
Variable Size 536871408 bytes |
12 |
Database Buffers 167772160 bytes |
13 |
Redo Buffers 5447680 bytes |
16 |
SQL> archive log list; |
17 |
Database log mode Archive Mode |
18 |
Automatic archival Enabled |
19 |
Archive destination USE_DB_RECOVERY_FILE_DEST |
20 |
Oldest online log sequence 135 |
21 |
Next log sequence to archive 137 |
22 |
Current log sequence 137 |
Next we’ll explore how to manage a database in archivelog mode.
