ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

开启归档日志时候启动报ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.

 解决方法1:

1、alter system reset log_archive_start scope=spfile;
因为我们oracle在10g之后归档日志就是自动启动,不需要设置开启。
SQL> show parameter log_archive_start

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_start                    boolean     FALSE
SQL> alter system set log_archive_start=true scope=spfile;

System altered.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.
SQL> alter system reset log_archive_start scope=spfile;

System altered.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.

解决方法2:如果不是这个log_archive_start影响的,那可以查看告警日志

 可以看到是加入了这个过期参数影响的,直接执行

alter system reset log_archive_start scope=spfile sid='*';

 参数过期参数语句

SELECT  NAME, DESCRIPTION FROM V$PARAMETER V WHERE V.ISDEPRECATED='TRUE';

每个版本的过期参数不一样,可以通过查看过期查看来查看错误

原文地址:https://www.cnblogs.com/xmao/p/12106628.html