ORACLE學習問題記錄(不斷更新)

1.11gr2手工建庫,啓動時出現ORA-32004錯誤

 

  1. SQL> startup 
  2. ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance 
  3. ORACLE instance started. 
  4. Total System Global Area  514736128 bytes 
  5. Fixed Size                  1337576 bytes 
  6. Variable Size             159385368 bytes 
  7. Database Buffers          348127232 bytes 
  8. Redo Buffers                5885952 bytes 
  9. Database mounted. 
  10. Database opened. 

查看官方文檔錯誤記錄

 

  1. ORA-32004: obsolete or deprecated parameter(s) specified for string instance 
  2. Cause: Obsolete or deprecated parameters for this instance type were specified in the SPFILE or the PFILE on the server side. 
  3. Action: See alert log for a list of parameters that are obsolete or deprecated. Remove them from the SPFILE or the server side PFILE. 

紅色爲解決辦法,查看alert log

 

  1. Mon Apr 18 11:58:54 2011 
  2. WARNING: The user_dump_dest init.ora parameter has been deprecated. 
  3. WARNING: Please remove the user_dump_dest parameter from the init.ora file. 
  4. WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data 
  5. WARNING: The new location for the user logs and traces is /opt/app/oracle/diag/rdbms/testdb/testdb/trace 

找到解決辦法

  1. SQL> create file='inittestdb.ora' from spfile; 
  2. SQL> ho vim inittestdb.ora 

  3. *.background_dump_dest='$ORACLE_BASE/admin/testdb/bdump' 
  4. *.user_dump_dest='$ORACLE_BASE/admin/testdb/udump' 

刪除 pfile中這兩行,然後

  1. SQL> create spfile from pfile; 
  2. SQL> shutdown immediate 
  3. SQL> startup 

ok!

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