記一次OPatch failed with error code 73錯誤
環境:
ORACLE10.2.0.4 64BIT
REDHAT 5.6 64BIT
AGENT 11.2.0.1 64BIT
打5759944補丁遇到:OPatch failed with error code 73
[@more@]因為公司內使用EM11g作為整體的資料監控平臺,所以在agent端agent是11g,而DB是10g所以在opatch的時候呼叫的是agent的目錄,最終導致安裝補丁失敗:
[oracle@bi 5759944]$ ../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_1
Central Inventory : /u01/oracle/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_1/oui
Log file location : /u01/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-12-12_15-59-34PM.log
ApplySession applying interim patch '5759944' to OH '/u01/oracle/product/10.2.0/db_1'
List of Homes on this system:
Home name= agent11g1, Location= "/u01/oracle/product/10.2.0/db_1/agent11g"
OPatchSession cannot load inventory for the given Oracle Home /u01/oracle/product/10.2.0/db_1. Possible causes are:
No read or write permission to ORACLE_HOME/.patch_storage
Central Inventory is locked by another OUI instance
No read permission to Central Inventory
The lock file exists in ORACLE_HOME/.patch_storage
The Oracle Home does not exist in Central Inventory
ApplySession failed: ApplySession failed to prepare the system. OracleHomeInventory gets null oracleHomeInfo
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
解決辦法是執行oracle資料庫的重新定位:
[oracle@bi 5759944]$ ../../oui/bin/attachHome.sh
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/oracle/oraInventory
'AttachHome' was successful.
重新打補丁,問題解決:
[oracle@bi 5759944]$ ../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_1
Central Inventory : /u01/oracle/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_1/oui
Log file location : /u01/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-12-12_16-02-15PM.log
ApplySession applying interim patch '5759944' to OH '/u01/oracle/product/10.2.0/db_1'
Running prerequisite checks...
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_1')
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 '5759944' for restore. This might take a while...
Backing up files affected by the patch '5759944' for rollback. This might take a while...
Patching component oracle.rdbms, 10.2.0.4.0...
Updating archive file "/u01/oracle/product/10.2.0/db_1/lib/libserver10.a" with "lib/libserver10.a/opitca.o"
Running make for target ioracle
ApplySession adding interim patch '5759944' to inventory
Verifying the update...
Inventory check OK: Patch ID 5759944 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 5759944 are present in Oracle Home.
The local system has been patched and can be restarted.
OPatch succeeded.
[oracle@bi 5759944]$ ../opatch lsinventory
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_1
Central Inventory : /u01/oracle/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_1/oui
Log file location : /u01/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-12-12_16-02-47PM.log
Lsinventory Output file location : /u01/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-12-12_16-02-47PM.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 5759944 : applied on Mon Dec 12 16:02:32 CST 2011
Created on 9 Dec 2008, 20:31:46 hrs PST8PDT
Bugs fixed:
5759944
--------------------------------------------------------------------------------
OPatch succeeded.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10130206/viewspace-1056802/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ERROR】OPatch failed with error code 73ErrorAI
- OPatch failed with error code 73AIError
- weblogic報錯: OPatch failed with error code 73WebAIError
- OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)AIErrorOracleNull
- "OPatch failed with error code 73"故障一例AIError
- OPatch failed with error code 73 (These not-installed components)AIError
- opatch error code 73 PrereqSession failed Invalid patch location 解決ErrorSessionAI
- OPatch failed with error code 135, Given 'ocmrf' file does not existsAIError
- 執行opatch lsinventory報錯73
- Job for mysqld.service failed because the control process exited with error code錯誤解決MySqlAIError
- Opatch 報錯 Prerequisite check CheckMinimumOPatchVersion failedUIAI
- 解決錯誤:ASP.NET Error: Failed to access IIS metabaseASP.NETErrorAI
- Java could not be located. OPatch cannot proceed!.OPatch failedJavaAI
- android模擬器 一個錯誤:X Error of failed request: BadRequest (invalid request code or no such operation)...AndroidErrorAI
- 記一次android app啟動錯誤 Error running :Default Activity not foundAndroidAPPError
- [Android] Eclipse錯誤:Conversion to Dalvik format failed with error 1AndroidEclipseORMAIError
- myeclipse中提示Hot Code Replace Failed提示窗錯誤EclipseAI
- ORA-00600: internal error code, arguments: [kgantc_1]錯誤排查記錄Error
- 記錄一次根據錯誤資訊無法定位錯誤的錯誤
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- MongoDB的一次錯誤記錄MongoDB
- 打補丁報錯Opatch error : "Unable to lock Central InventoryError
- MYSQL-Operating System Error Codes(錯誤程式碼)MySqlError
- ORA-00600: internal error code, arguments: [2103]錯誤Error
- git push出現unpack failed: error Missing tree錯誤的解決方法GitAIError
- 記一次 oracle expdp 匯出錯誤Oracle
- MySQL error 錯 誤 碼MySqlError
- PostgreSQL error 錯誤碼SQLError
- Error page: / Error infos: DedeCms錯誤警告Error
- 記錄一次常見的錯誤:java.sql.SQLException: Got error 28 from storage engineJavaSQLExceptionGoError
- IMP-00017: following statement failed with ORACLE error 957錯誤的解決方法AIOracleError
- win10系統提示’CreateProcess Failed Code 740’錯誤怎麼辦Win10AI
- oem12c opatchauto failed with error code 135AIError
- git: 記一次push的錯誤,印象深刻Git
- 記一次Windows下啟動錯誤故障Windows
- Error Curves——錯誤曲線Error
- ORA-00600: internal error code, arguments: [4194] 錯誤處理Error
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull