ORA-1578 / ORA-26040 - NOLOGGING 操作引起的壞塊 - 錯誤解釋和解決方案
如何在Data Guard Physical Standby環境上安裝Patchset、PSU 或 CPU (文件 ID 1577628.1)
文件內容
|
目標 |
在主庫和備庫上都安裝補丁集,例如10.2.0.4 Patchset或者2010年1月份10.2.0.4 RDBMS PSU。 |
|
解決方案 |
過程總覽: |
補丁集安裝的詳細步驟 – 例如10.2.0.4 PSU 3 或 Patch 9119284 |
|
參考 |
適用於:
Oracle Database - Enterprise Edition - 版本 10.1.0.2 到 11.2.0.3 [發行版 10.1 到 11.2]本文件所含資訊適用於所有平臺
目標
在主庫和備庫上都安裝補丁集,例如10.2.0.4 Patchset或者2010年1月份10.2.0.4 RDBMS PSU。
對於邏輯備庫,請參看文件“Document 437276.1 Upgrading Oracle Database with a Logical Standby Database In Place”
在主庫和備庫中安裝Patchset/PSU/CPU的過程與安裝Patchset一致,下面是完成這個操作的方法:
解決方案
過程總覽:
1. 在主庫上停止傳送日誌到備庫。
2. 關閉備庫,按照README安裝補丁集到RDBMS
軟體。這包括Patchset/Patchset Update(PSU)/Critical Patch Update
(CPU)。對備庫RDBMS本身您將無法也不需要執行指令碼(catpatch.sql等)。啟動備庫到mount狀態,不要啟動日誌應用服務。
3. 關閉主庫,按照README安裝Patchset/PSU/CPU到RDBMS軟體和RDBMS本身(執行catpatch/catbundle/catcpu等)。
注意: Oracle11gR2的(11.2.0)的最新補丁集需要被安裝到一個新的ORACLE_HOME。所以記得重置您的環境變數並複製相應的檔案(SPFILE,網路檔案等..)到新的ORACLE_HOME。詳細資訊參看資料庫升級指南。
4. 啟動主庫,重新啟用日誌傳送到備庫。
5. 在備庫啟動日誌應用服務,主庫中的RDBMS變更(catpatch/ catbundle/catcpu 指令碼)透過重做日誌被應用到備庫。
注意: 備庫上的資料庫軟體升級後應立即執行步驟5。這是為了確保資料字典(CATPROC)版本與資料庫軟體的版本匹配。如果不匹配(例如,您首先升級了備庫軟體,升級主庫前在備庫中執行了角色轉換(switchover)),你可能會遇到嚴重的問題。在Data
Guard物理備庫環境中不支援不同的補丁級別,詳細的資訊請參看
Document 785347.1 Mixed Oracle Version support with Data Guard Redo Transport Services
6. 執行檢查,以確保補丁已成功安裝在主庫和備庫。
補丁集安裝的詳細步驟 – 例如10.2.0.4 PSU 3 或 Patch 9119284
注意: 如果您使用Oracle Restart(從11.2.0.x),你必須使用類似RAC 資料庫中的SRVCTL命令,停止/啟動資料庫和服務。
1. 如果您使用Data Guard Broker配置,在主庫禁用歸檔到備庫。
如果是RAC,您將需要確保所有主庫例項禁用歸檔。如果配置了Data Guard Broker,需要透過DGMGRL管理。如果您使用sqlplus,並沒有配置broker,將需要在sql提示符中執行。
1.1 使用DGMGRL禁用日誌傳送
Connected.
DGMGRL> show database verbose plb_prm
Database
Name: plb_prm
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
plb
Properties:
InitialConnectIdentifier = 'plb_prm_dgmgrl'
..
.
Current status for "plb_prm":
SUCCESS
DGMGRL> edit database plb_prm set state='LOG-TRANSPORT-OFF';
Succeeded.
DGMGRL> exit
或
1.2 如果您使用sqlplus管理環境
在這種情況下,您沒有Data Guard Broker配置。使用sqlplus禁用從主庫到備庫的歸檔傳送目標地址。
2. 在備庫軟體上安裝補丁。
如果這是一個RAC備庫,這個補丁將安裝到所有節點。
2.1.1 如果這是一個單例項環境,關閉此home下所有正在執行的程式。
包括此home下所有正在執行的監聽程式,資料庫例項,asm例項等。
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-FEB-2010 08:41:29
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aulnx9.au.oracle.com)(PORT=1666)))
The command completed successfully
[oracle@aulnx9 patches]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 4 08:42:02 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
或
2.1.2 如果這是一個RAC備庫,關閉需要打補丁的ORACLE_HOME下正在執行的所有RAC服務。
在這個示例中,RAC資料庫被稱為plb,此ORACLE_HOME下正在執行的監聽程式名稱是lsnrplb。
[oracle@aulnx13 ~] srvctl stop listener -n aulnx13.au.oracle.com -l lsnrplb_aulnx13
[oracle@aulnx13 ~] srvctl stop listener -n aulnx14.au.oracle.com -l lsnrplb_aulnx14
2.2 10.2.0.4發行版的OPatch無法安裝PSU,會出現下面的錯誤。
/home/oracle/patches/9119284
[oracle@aulnx9 9119284]$ which opatch
/u01/oracle/product/10.2.0/db_plb/OPatch/opatch
[oracle@aulnx9 9119284]$ opatch apply
Invoking OPatch 10.2.0.4.2
Oracle Interim Patch Installer version 10.2.0.4.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.0/db_plb
Central Inventory : /u01/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.2
OUI version : 10.2.0.4.0
OUI location : /u01/oracle/product/10.2.0/db_plb/oui
Log file location : /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch2010-02-04_08-45-30AM.log
ApplySession failed: Patch ID is null.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
2.2.1 解決這個問題,需要在home中安裝補丁6880880,它是最新的OPatch版本。
如果你已經有了一個新版本的OPatch,那麼此步驟不必執行。
下載補丁6880880,按照README的提示安裝。
[oracle@aulnx9 patches]$ pwd
/home/oracle/patches
[oracle@aulnx9 patches]$ ls
9119284 OPatch
[oracle@aulnx9 patches]$ cp -rp OPatch/ /u01/oracle/product/10.2.0/db_plb/
2.3 OPatch為新版本後,安裝補丁到備庫
請注意:在備庫中只安裝補丁到資料庫軟體,不需要執行catupgrade/catcpu/catbundle.sql指令碼,因為這部分會透過重做日誌應用到備庫。
下面的示例是安裝PSU補丁9119284到單例項備庫。
Invoking OPatch 11.2.0.1.1
Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.0/db_plb
Central Inventory : /u01/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.1
OUI version : 10.2.0.4.0
OUI location : /u01/oracle/product/10.2.0/db_plb/oui
Log file location : /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch2010-02-04_08-57-57AM.log
Patch history file: /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '9119284' to OH '/u01/oracle/product/10.2.0/db_plb'
Running prerequisite checks...
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/oracle/product/10.2.0/db_plb')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '9119284' for restore. This might take a while...
Backing up files affected by the patch '9119284' for rollback. This might take a while...
Execution of 'sh /home/oracle/patches/9119284/custom/scripts/pre -apply 9119284 ':
Return Code = 0
Patching component oracle.rdbms.rsf, 10.2.0.4.0...
Updating archive file "/u01/oracle/product/10.2.0/db_plb/lib/libgeneric10.a" with "lib/libgeneric10.a/qcodfdef.o"
..
.
Updating jar file "/u01/oracle/product/10.2.0/db_plb/rdbms/jlib/qsma.jar" with "/rdbms/jlib/qsma.jar/oracle/qsma/QsmaFileManager.class"
Copying file to "/u01/oracle/product/10.2.0/db_plb/rdbms/lib/env_rdbms.mk"
..
.
Running make for target idgmgrl
Running make for target ioracle
Running make for target client_sharedlib
Running make for target itnslsnr
Running make for target iwrap
Running make for target genplusso
ApplySession adding interim patch '9119284' to inventory
Verifying the update...
Inventory check OK: Patch ID 9119284 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 9119284 are present in Oracle Home.
--------------------------------------------------------------------------------
********************************************************************************
********************************************************************************
** ATTENTION **
** **
** Please note that the Patch Set Update Installation (PSU Deinstallation) **
** is not complete until all the Post Installation (Post Deinstallation) **
** instructions noted in the Readme accompanying this PSU, have been **
** successfully completed. **
** **
********************************************************************************
********************************************************************************
--------------------------------------------------------------------------------
Execution of 'sh /home/oracle/patches/9119284/custom/scripts/post -apply 9119284 ':
Return Code = 0
The local system has been patched and can be restarted.
OPatch succeeded.
2.4 啟動備庫到mount狀態,重啟監聽程式。
2.4.1 如果這是單例項環境(非RAC備庫)
啟動監聽程式:
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-FEB-2010 09:06:02
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/oracle/product/10.2.0/db_plb/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/oracle/product/10.2.0/db_plb/network/admin/listener.ora
Log messages written to /u01/oracle/product/10.2.0/db_plb/network/log/lsnrplb.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aulnx9.au.oracle.com)(PORT=1666)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aulnx9.au.oracle.com)(PORT=1666)))
STATUS of the LISTENER
------------------------
Alias lsnrplb
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 04-FEB-2010 09:06:02
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/10.2.0/db_plb/network/admin/listener.ora
Listener Log File /u01/oracle/product/10.2.0/db_plb/network/log/lsnrplb.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aulnx9.au.oracle.com)(PORT=1666)))
Services Summary...
Service "plb_std_DGMGRL.au.oracle.com" has 1 instance(s).
Instance "plb_std", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
啟動資料庫:
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 4 15:12:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup mount
ORACLE instance started.
Total System Global Area 268435456 bytes
Fixed Size 1266968 bytes
Variable Size 138414824 bytes
Database Buffers 125829120 bytes
Redo Buffers 2924544 bytes
Database mounted.
或
2.4.2 如果這是RAC備庫
[oracle@aulnx13 ~]$ srvctl start listener -n aulnx12 -l lsnrplb_aulnx14
[oracle@aulnx13 ~]$ srvctl start database -d plb_std -o mount???????????¨
3. 在主庫上安裝補丁。
請注意:主庫可能也需要OPatch升級,按照備庫安裝補丁6880880同樣的方式處理。
切換到主庫的補丁目錄並安裝PSU
[oracle@aulnx8 9119284]$ pwd
/home/oracle/patches/9119284
3.1 停止即將安裝補丁的home下正在執行的所有程式。
包括監聽程式和資料庫等等。
3.1.1 如果這是一個單例項主庫(非RAC)
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-FEB-2010 09:06:28
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aulnx8.au.oracle.com)(PORT=1666)))
The command completed successfully
[oracle@aulnx8 9119284]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 4 09:06:36 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
或
3.1.2 如果這是一個RAC主庫
[oracle@aulnx11 ~]$ srvctl stop listener -n aulnx12 -l lsnrplb_aulnx12
[oracle@aulnx11 ~]$ srvctl stop database -d plb
3.2 在主庫軟體上安裝補丁。
如備庫一樣,下面的示例是安裝PSU補丁9119284到單例項主庫。
Invoking OPatch 11.2.0.1.1
Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.0/db_plb
Central Inventory : /u01/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.1
OUI version : 10.2.0.4.0
OUI location : /u01/oracle/product/10.2.0/db_plb/oui
Log file location : /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch2010-02-04_09-10-28AM.log
Patch history file: /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '9119284' to OH '/u01/oracle/product/10.2.0/db_plb'
Running prerequisite checks...
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/oracle/product/10.2.0/db_plb')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '9119284' for restore. This might take a while...
Backing up files affected by the patch '9119284' for rollback. This might take a while...
Execution of 'sh /home/oracle/patches/9119284/custom/scripts/pre -apply 9119284 ':
Return Code = 0
Patching component oracle.rdbms.rsf, 10.2.0.4.0...
Updating archive file "/u01/oracle/product/10.2.0/db_plb/lib/libgeneric10.a" with "lib/libgeneric10.a/qcodfdef.o"
..
.
Updating jar file "/u01/oracle/product/10.2.0/db_plb/rdbms/jlib/qsma.jar" with "/rdbms/jlib/qsma.jar/oracle/qsma/QsmaFileManager.class"
..
.
Running make for target client_sharedlib
Running make for target idgmgrl
Running make for target ioracle
Running make for target client_sharedlib
Running make for target itnslsnr
Running make for target iwrap
Running make for target genplusso
ApplySession adding interim patch '9119284' to inventory
Verifying the update...
Inventory check OK: Patch ID 9119284 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 9119284 are present in Oracle Home.
--------------------------------------------------------------------------------
********************************************************************************
********************************************************************************
** ATTENTION **
** **
** Please note that the Patch Set Update Installation (PSU Deinstallation) **
** is not complete until all the Post Installation (Post Deinstallation) **
** instructions noted in the Readme accompanying this PSU, have been **
** successfully completed. **
** **
********************************************************************************
********************************************************************************
--------------------------------------------------------------------------------
Execution of 'sh /home/oracle/patches/9119284/custom/scripts/post -apply 9119284 ':
Return Code = 0
The local system has been patched and can be restarted.
OPatch succeeded.
3.3 升級/修補RDBMS和字典物件。
在RAC環境中,這步只需在一個例項執行,並確保其他的叢集例項關閉。下面的示例再次顯示安裝PSU9119284到單例項(非RAC)主庫。
更改目錄到$ORACLE_HOME/rdbms/admin,補丁已安裝到此目錄,執行以下命令。
[oracle@aulnx8 admin]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 4 09:25:09 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup restrict
ORACLE instance started.
Total System Global Area 268435456 bytes
Fixed Size 1266968 bytes
Variable Size 138414824 bytes
Database Buffers 125829120 bytes
Redo Buffers 2924544 bytes
Database mounted.
Database opened.
SQL> @catbundle psu apply
PL/SQL procedure successfully completed.
..
.
SQL> COMMIT;
Commit complete.
SQL> SPOOL off
SQL> SET echo off
Check the following log file for errors:
/u01/oracle/product/10.2.0/db_plb/cfgtoollogs/catbundle/catbundle_PSU_PLB_APPLY_2010Feb04_09_25_28.log???????????¨
SQL>@catupgrade
如果這是一個Critical Patch Update(CPU),請您執行:
SQL>@catcpu
4. 在主庫中重新建立Data Guard環境。
4.1.1 在單例項主庫已經安裝過補丁的ORACLE_HOME中重啟程式。
這包括監聽程式,資料庫例項,ASM例項和這個ORACLE_HOME中之前執行的其他程式。
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-FEB-2010 09:45:43
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/oracle/product/10.2.0/db_plb/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/oracle/product/10.2.0/db_plb/network/admin/listener.ora
Log messages written to /u01/oracle/product/10.2.0/db_plb/network/log/lsnrplb.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aulnx8.au.oracle.com)(PORT=1666)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aulnx8.au.oracle.com)(PORT=1666)))
STATUS of the LISTENER
------------------------
Alias lsnrplb
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 04-FEB-2010 09:45:43
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/10.2.0/db_plb/network/admin/listener.ora
Listener Log File /u01/oracle/product/10.2.0/db_plb/network/log/lsnrplb.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aulnx8.au.oracle.com)(PORT=1666)))
Services Summary...
Service "plb_prm_DGMGRL.au.oracle.com" has 1 instance(s).
Instance "plb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
或
4.1.2 如果這是一個RAC環境,使用srvctl在每個節點,從安裝過補丁的ORACLE_HOME中重啟監聽。
[oracle@aulnx11 ~]$ srvctl start listener -n aulnx12 -l lsnrplb_aulnx12
4.1.3. 強制主庫在監聽程式中註冊它的服務。
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 4 09:45:50 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter system register;
System altered.
4.2.1 在單例項(非RAC)中禁用限制會話,允許終端使用者連線
System altered.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
或
4.2.2 在RAC的主庫,重啟主庫和它所有的例項
[oracle@aulnx11 ~] srvctl start database -d plb
如果有其它的RAC服務連線到這個資料庫,都將需要使用srvctl重新啟動
4.3 重新啟用日誌傳送到備庫
這將使透過catupgrade/catbundle/catcpu指令碼對資料庫的改變被應用到備庫。
4.3.1 如果您使用Data Guard Broker配置
DGMGRL for Linux: Version 10.2.0.4.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect /
Connected.
DGMGRL> edit database plb_prm set state='ONLINE';
Succeeded.
DGMGRL> exit
或
4.3.2 如果您使用sqlplus重新啟用從主庫到備庫傳送歸檔的目標地址
其中,X是用於傳送重做日誌到備庫的目標數值。
5. 主庫將繼續傳送重做日誌,備庫將繼續介質恢復並應用主庫在安裝補丁過程中的變更。
在備庫警報日誌中,你會看到執行cat指令碼過程中生成的日誌,傳送並應用到備庫:
RFS[1]: Archived Log: '/oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_79_5pmz52s2_.arc'
RFS[1]: Archived Log: '/oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_76_5pmz55l4_.arc'
RFS[1]: Archived Log: '/oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_77_5pmz55oo_.arc'
RFS[1]: Archived Log: '/oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_78_5pmz561c_.arc'
Thu Feb 4 09:46:24 2010
Media Recovery Log /oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_76_5pmz55l4_.arc
Media Recovery Log /oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_77_5pmz55oo_.arc
Media Recovery Log /oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_78_5pmz561c_.arc
Thu Feb 4 09:46:44 2010
Media Recovery Log /oradata/flash_recovery_area/PLB_STD/archivelog/2010_02_04/o1_mf_1_79_5pmz52s2_.arc
Media Recovery Waiting for thread 1 sequence 80
6.檢查補丁已成功安裝在主庫和備庫。
例如PSU補丁 9119284。
請注意:目前(10.2.0.4
PSU)的版本不會更新到工具的頭資訊中,如sqlplus,也不會更新到資料庫的版本資訊中。它們會保持在10.2.0.4.0,例如在安裝過PSU後不會更新到10.2.0.4.3。您將只能透過inventory看到PSU資訊,或檢視版本
Invoking OPatch 11.2.0.1.1
Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.0/db_plb
Central Inventory : /u01/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.1
OUI version : 10.2.0.4.0
OUI location : /u01/oracle/product/10.2.0/db_plb/oui
Log file location : /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch2010-02-04_10-01-18AM.log
Patch history file: /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /u01/oracle/product/10.2.0/db_plb/cfgtoollogs/opatch/lsinv/lsinventory2010-02-04_10-01-18AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
There are 2 products installed in this Oracle Home.
Interim patches (1) :
Patch 9119284 : applied on Thu Feb 04 10:15:51 EST 2010
Unique Patch ID: 11999265
Created on 17 Dec 2009, 03:32:08 hrs PST8PDT
Bugs fixed:
6418420, 7835247, 7207654, 7592346, 6724797, 7936993, 7331867, 9093300
..
.
7523787, 6029179, 5231155, 6455659
--------------------------------------------------------------------------------
OPatch succeeded.
或
透過registry history檢視檢視PSU資訊。
ACTION_TIME
---------------------------------------------------------------------------
ACTION NAMESPACE
------------------------------ ------------------------------
VERSION BUNDLE_SERIES ID
------------------------------ ------------------------------ ----------
04-FEB-10 09.26.25.026334 AM
APPLY SERVER
10.2.0.4 PSU 3
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31393455/viewspace-2130471/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01578和ORA-26040--NOLOGGING操作引起的壞塊-錯誤解釋和解決方案
- 修復由於主庫NOLOGGING操作引起的備庫ORA-01578和ORA-26040錯誤
- svn的操作,報錯,和解決方案 一。
- Oracle 修復由於主庫NOLOGGING引起的備庫ORA-01578和ORA-26040錯誤Oracle
- 資料塊損壞ORA-1578(發現損壞塊)
- php7 使用 phpunit 部分錯誤和解決方案PHP
- 由JS註釋引起的JS錯誤JS
- 5個常見可用性錯誤和解決方案
- Mac提示app損壞、Error,Mac電腦最常見錯誤的解決方案MacAPPError
- latex 錯誤以及解決方案
- DB2 DDL操作引起的GoldenGate錯誤DB2Go
- Linux下錯誤解決方案Linux
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- EXP匯出ORA-01578(資料塊損壞)錯誤解決方法
- 引起索引失效的原因和解決方法索引
- 雲伺服器出現502錯誤的原因分析和解決方案伺服器
- oracle壞塊問題的解決Oracle
- 報錯No bean named ' is defined的原因和解決方案Bean
- 掉電引起的ORA-1172錯誤解決過程(二)
- 掉電引起的ORA-1172錯誤解決過程(一)
- 掉電引起的ORA-1172錯誤解決過程(三)
- Ubuntu Cannot allocate memory 錯誤解決方案Ubuntu
- ORA-28000錯誤解決方案
- ORA-07445: 錯誤解決方案
- ORA-00054錯誤解決方案(摘)
- ORA-1578 解決思路
- ORA-00845的錯誤與解決方案
- SVN 遇到的一些錯誤解決方案
- PbootCMS中常見的錯誤提示及其解決方案boot
- ORA-04031錯誤分析和解決
- ora-371錯誤的原因和解決方法
- Hadoop常見錯誤及解決方案Hadoop
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- MySQL插入資料1366錯誤解決方案MySql
- 開發常見錯誤及解決方案
- MySQL錯誤Incorrect file format解決方案薦MySqlORM
- Java java.lang.ExceptionInInitializerError 錯誤解決方案JavaExceptionError
- DataGuard ORA-10458錯誤解決方案