手動建庫時一個小錯誤:ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

還不算暈發表於2013-11-14

此前執行了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 background_dump_dest init.ora parameter has beendeprecated.
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_destuser_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,然後正常啟動即可。

相關文章