手动建库时一个小错误:ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

时间:2021-11-03 05:53:41

此前执行了CREATE SPFILE FROM MEMORY.  重新使用SPFILE启动时,出错如下:

SYS@ bys3>startup

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

ORACLE instance started.

Total System Global Area  150654976 bytes

Fixed Size                  1363216 bytes

Variable Size              96469744 bytes

Database Buffers           50331648 bytes

Redo Buffers                2490368 bytes

Database mounted.

Database opened.

查看ALERT日志,发现有以下错误信息:

LICENSE_MAX_USERS = 0

SYS auditing is disabled

Thu Nov 14 15:43:16 2013

WARNING: The b
ackground_dump_dest init.ora parameter has been
deprecated.

WARNING: Please remove the background_dump_dest parameter from the init.ora file.

WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data

WARNING: The new location for the background logs and traces is /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/rdbms/bys3/bys3/trace

Thu Nov 14 15:43:16 2013

WARNING: The
user_dump_dest init.ora parameter has been deprecated.

WARNING: Please remove the user_dump_dest parameter from the init.ora file.

WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data

WARNING: The new location for the user logs and traces is /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/rdbms/bys3/bys3/trace

解决方法:

1.先CREATE PFILE FROM SPFILE。

2.然后在PFILE里将background_dump_dest,user_dump_dest这两个参数删除。--在PFILE里可以看到这两个参数后面都显示的大致有参数deprecated.这种语句。如下:

*.user_dump_dest='/u01/app/oracle/product/11.2.0/dbhome_1/log/diag/rdbms/bys3/bys3/trace' #Deprecate parameter

3.重新使用CREATE SPFILE FROM PFILE,然后正常启动即可。