ApplySession failed: Patch ID is null.
本例是需要將Oracle10.2.0.1升級到10.2.0.4後,再升級到10.2.0.4.4。
升級時遇到一個小錯誤:Patch ID is null.多數情況這是由於沒有升級OPatch包產生的。
oracle@localhost 9352164]$ 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/app/oracle
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/app/oracle/oui
Log file location : /u01/app/oracle/cfgtoollogs/opatch/opatch2015-01-09_14-05-29PM.log
ApplySession failed: Patch ID is null.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
解決方案:升級OPatch包
步驟如下:
10.2.0.4.4補丁編號9352164,OPatch升級包檔案為p6880880_102000_Linux-x86-64.zip
[oracle@rac1 ~]$ ls -l /tmp/p*
-rwxr-xr-x 1 root root 5280481 Jan 13 00:42 /tmp/p11724977_10204_Linux-x86-64.zip
-rwxr-xr-x 1 root root 1195551830 Jan 13 00:42 /tmp/p6810189_10204_Linux-x86-64.zip
-rwxr-xr-x 1 root root 27412455 Jan 13 00:42 /tmp/p6880880_102000_Linux-x86-64.zip
-rwxr-xr-x 1 root root 53853693 Jan 13 00:42 /tmp/p9294403_10204_Linux-x86-64.zip
-rwxr-xr-x 1 root root 22294298 Jan 13 00:42 /tmp/p9352164_10204_Linux-x86-64.zip
-rwxr-xr-x 1 root root 1486426 Jan 13 00:42 /tmp/p9952234_10204_Linux-x86-64.zip
1. 解壓縮OPatch包到/home/oracle目錄,解壓後得到一個OPatch目錄
# su - oracle
$ unzip /tmp/p6880880_102000_Linux-x86-64.zip
$ ls -l | grep OPatch
drwxr-xr-x 7 oracle oinstall 4096 Nov 3 2010 OPatch
2. 備份原有的OPatch
$ mv $ORACLE_HOME/OPatch $ORACLE_HOME/OPatchbak
3. 更換新的OPatch
$ cp -Rp /home/oracle/OPatch $ORACLE_HOME/OPatch
4. 驗證更新後的版本
$ $ORACLE_HOME/OPatch/opatch version
Invoking OPatch 10.2.0.5.1
OPatch Version: 10.2.0.5.1
OPatch succeeded
原來的版本為10.2.0.4.2,現在的版本為10.2.0.5.1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1402122/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- opatch error code 73 PrereqSession failed Invalid patch location 解決ErrorSessionAI
- 記錄下 patch Grid Infrastructure for StandaloneASTStruct
- Quick Reference to Patchset Patch Numbers [ID 753736.1]UI
- git 生成patch和使用patchGit
- IDA Pro的patch外掛 KeyPatch
- android:製作 Nine-Patch 圖片Android
- Oracle Grid Infrastructure Patch Set Update 11.2.0.4.3OracleASTStruct
- idapython import 'site' failedPythonImportAI
- android: failed to find provider info for downloadsAndroidAIIDE
- patch_id,version, action ,status,action_time,description
- Error: Expected ref to be a function, a string, an object returned by React.createRef(), or null.ErrorFunctionObjectReactNull
- 如何使用git 生成patch 和打入patchGit
- Android resource linking failedAndroidAI
- maridb Error 'Operation DROP USER failed forErrorAI
- Diff and Patch
- Quick Reference to RDBMS Database Patchset Patch Numbers (文件 ID 753736.1)UIDatabase
- LINUX 的patch 製作,及打patchLinux
- 打 patch 報錯:corrupt patch at line 36
- 【AndroidStudio】Error:Execution failed for task ':app:preDebugAndroidTestBuild'.AndroidErrorAIAPPUI
- Android 3.0 DELETE_FAILED_INTERNAL_ERRORAndroiddeleteAIError
- ora-21561 OID generation failedAI
- ORA-21561: OID generation failedAI
- Oracle Data Server Interim Patch Installation (OPatch) (Doc ID 189489.1)OracleServer
- Oracle補丁集的補丁號Patch ID/Number速查Oracle
- Oracle Critical Patch Update - January 2008 and Beyond [ID 467881.1]Oracle
- aix打patchAI
- OAF and Jdev Patchdev
- ORA-27550: Target ID protocol check failed [ID 730516.1]ProtocolAI
- IDEA 報錯Failed to load JVM DLLIdeaAIJVM
- 11.1.0.7 Patch Set - List of Bug Fixes by Problem Type (文件 ID 601739.1)
- 2.3.3.4 Application PatchAPP
- oracle安裝patchOracle
- Oracle ebs patch typeOracle
- The server quit without updating PID file (/mydata/mysql/BIDB.pid).[FAILED]ServerUIMySqlAI
- 11.2.0.4 Patch Set - List of Bug Fixes by Problem Type (Doc ID 1562142.1)
- 10.2.0.5 Patch Set - List of Bug Fixes by Problem Type (文件 ID 1088172.1)
- 如何編寫 iOS PatchiOS
- oracle 10g patchOracle 10g