oracle資料庫升級dbua操作阻塞解決方案(解決ORA-32004報錯)

來源:互聯網
上載者:User

標籤:acl   name   his   刪除   作業系統   11.2.0.4   去掉   orm   and   

作業環境

1、SuSE11sp3作業系統

2、oracle 11.2.0.3版本升級到11.2.0.4版本

問題現象

  oracle 11.2.0.3版本升級到11.2.0.4版本時執行dbua命令在擷取dabase資訊步驟時提示輸入pfile檔案,無法next操作,升級阻塞。(不是在自己環境操作,暫無)

問題分析

  oracle start mount步驟時會出現提示ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance錯誤,按照之前的理解是不會影響oracle的使用,但是不確定這個問題是否是阻塞的原因。查看alert*.log看看啟動時是否有報錯。

  1、登入oracle使用者,利用find $ORACLE_BASE -name "alert*.log" 尋找alert log日誌。清空該記錄檔或者使用tail -f alert*.log

  2、重啟oracle執行個體(shutdown immedate;start mount)

  3、通過alert log日誌看到有如下提示資訊:

Deprecated system parameters with specified values:  remote_os_authent       End of deprecated system parameter listing

  4、根據提示不贊成該參數值有預設值,利用show parameter remote_os_authent查看確實存在預設值為TRUE

  5、利用如下SQL查看確實為到期參數,下一步就是要把這個參數去掉。

SQL> column name format a10; SQL> column value format a10; SQL> column isdefault format a10; SQL> column descriptio format a10; SQL>SELECT NAME,Value,isdefault,Description FROM v$parameter WHERE isdeprecated = ‘TRUE‘ And Name=‘remote_os_authent‘; 

  6、查看參數檔案時spfile,不能直接修改,先產生品file檔案

    (1) 查看參數檔案類型,有值表示使用的是spfile

SQL>show parameter spfile

   (2)產生pfile檔案。說明:/home/oracle是ORACLE使用者家目錄。可任意指定oracle可訪問的路徑。

create pfile=‘/home/oracle/pfile.ora‘ from spfile;

   (3)開啟pfile.ora檔案,刪除remote_os_authent參數所在行

   (4)重啟ORACLE執行個體,利用pfile.ora檔案開啟,重建spfile檔案後再重啟一下ORACLE使spfile檔案生效(說明:由於這裡在升級操作,只能啟動到mount狀態,startup mount)。

SQL> shutdown immedate;SQL> startup mount pfile=‘/home/oracle/pfile.ora‘;SQL> create spfile from  pfile=‘/home/oracle/pfile.ora‘;

   (5)重新執行dbua命令開始操作升級,問題解決,升級成功。

問題解決

  參考問題分析步驟,實際上應該是ORA-32004提示會影響dbua操作,目標是解決這個ORA-32004提示即可。

其他

ORA-32004資訊參考如下,給出了明確的操作方法,查看alert log,從spfile或者pfile檔案刪掉到期參數。

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. 

 

 

     

  

oracle資料庫升級dbua操作阻塞解決方案(解決ORA-32004報錯)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.