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.
Database mounted.
Database opened.

解法辦法:

1、查看詳細的錯誤信息
SQL> ho oerr ora 32004    #查看詳細的錯誤信息
32004, 00000, "obsolete or deprecated parameter(s) specified for %s instance"
// *Cause:  Obsolete or deprecated parameters for this instance type
//          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.

2、查看告警日誌文件alterSID.ora

  告警日誌文件的存放位置可以通過background_dump_dest參數來獲取,Oracle 10g的默認存放地址在/u01/app/oracle/admin/bdump/目錄中,但在Oracle 11g做些了改變文件默認存放在/u01/app/oracle/diag/rdbms/$ORACLE_SID/$ORACLE_SID/trace/下。

  通過alertSID.ora文件可以找到如下信息:

Deprecated system parameters with specified values:
  remote_os_authent
因爲設置了remote_os_authent參數,纔會出現ORA-32004信息,此參數爲過期或者不被建議設置的參數。

3、導出pfile文件,刪除remote_os_authent參數,startp pfile='/u01/......./initorcl.ora'

注:即使通過alter system 語句將remote_os_authent設置爲默認的值,也還是會出現此問題。必須刪除spfile或pfile裏面設置的值,纔不會出現此問題。



 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章