Linux Oracle 10.2.0.5 版本 opatch lsinventory報錯
Linux Oracle 10.2.0.5 版本 opatch lsinventory報錯
1. opatch lsinventory報錯
$ opatch lsinventory
Invoking OPatch 10.2.0.5.1
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /opt/oracle/product/10gr2
Central Inventory : n/a
from :
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.5.0
OUI location : /opt/oracle/product/10gr2/oui
Log file location : n/a
Patch history file: /opt/oracle/product/10gr2/cfgtoollogs/opatch/opatch_history.txt
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
OPatch failed with error code 104
2.此環境下oracle 目錄 是從別的機器tar過來的
3.確少/etc/oraInst.loc檔案,新增
4.重建oraInventory目錄
$ cd $ORACLE_HOME/oui/bin
$ pwd
/opt/oracle/product/10gr2/oui/bin
/opt/oracle/product/10gr2/oui/bin
執行attachHome.sh
$ ./attachHome.sh
./attachHome.sh: line 5: cd: /bases/oracle/product/10gr2/oui/bin: No such file or directory
Starting Oracle Universal Installer...
./attachHome.sh: line 5: cd: /bases/oracle/product/10gr2/oui/bin: No such file or directory
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
OiiolLogger.addFileHandler:Error while adding file handler - /opt/oraInventory/logs/AttachHome2012-12-25_09-38-45AM.log
java.io.FileNotFoundException: /opt/oraInventory/logs/AttachHome2012-12-25_09-38-45AM.log (No such file or directory)
'AttachHome' failed.
OiiolLogger.addFileHandler:Error while adding file handler - /opt/oraInventory/logs/AttachHome2012-12-25_09-38-45AM.log
java.io.FileNotFoundException: /opt/oraInventory/logs/AttachHome2012-12-25_09-38-45AM.log (No such file or directory)
'AttachHome' failed.
5.檢查 $ORACLE_HOME/oraInst.loc檔案
其中inventory_loc引數與/etc/oraInst.loc檔案,修改保持一致
6.再次執行attachHome.sh
$ ./attachHome.sh
Starting Oracle Universal Installer...
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
OiiolLogger.addFileHandler:Error while adding file handler - /opt/oraInventory/logs/AttachHome2012-12-25_10-05-49AM.log
java.io.FileNotFoundException: /opt/oraInventory/logs/AttachHome2012-12-25_10-05-49AM.log (No such file or directory)
'AttachHome' failed.
OiiolLogger.addFileHandler:Error while adding file handler - /opt/oraInventory/logs/AttachHome2012-12-25_10-05-49AM.log
java.io.FileNotFoundException: /opt/oraInventory/logs/AttachHome2012-12-25_10-05-49AM.log (No such file or directory)
'AttachHome' failed.
提示無目錄/opt/oraInventory/logs,建立該目錄,再次執行
$ ./attachHome.sh
Starting Oracle Universal Installer...
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 /opt/oraInventory
'AttachHome' was successful.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /opt/oraInventory
'AttachHome' was successful.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-751592/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 10.2.0.5 opatch報錯Oracle
- 執行opatch lsinventory報錯73
- opatch inventory 查詢時報錯"LsInventory: OPatch Exception while accessing O2O"ExceptionWhile
- [Upgrade] Oracle 10.2.0.5 opatch utility upgradeOracle
- opatch lsinventory 報oraInst.loc檔案不存在AI
- opatch lsinventory 報指定的oraInst.loc 檔案無效AI
- opatch命令報錯Inventory is corrupted
- Oracle 10.2.0.5 emca配置報錯-ssl Open wallet failed, ret = 28750OracleAI
- Oracle 10.2.0.5 DBCA建庫報錯ORA-27125Oracle
- Oracle 更新 OPatch 工具版本 的方法 說明Oracle
- weblogic報錯: OPatch failed with error code 73WebAIError
- Opatch 報錯 Prerequisite check CheckMinimumOPatchVersion failedUIAI
- oracle 10gR2 10.2.0.5最新版本釋出 --for linuxOracle 10gLinux
- aix6.1安裝oracle10.2.0.5報錯BEFORE CONTINUING:JAVA KSHAIOracleUIJava
- oracle 10.2.0.5 平臺上ORA-600錯誤Oracle
- 打補丁報錯Opatch error : "Unable to lock Central InventoryError
- opatch報錯:The oraInst.loc file specified is not validAI
- 【opatch】Oracle打補丁工具opatch簡介Oracle
- Windows平臺下opatch apply報錯:OUI-67073WindowsAPPUI
- RMAN跨版本恢復--從Oracle10.2.0.5恢復到Oracle11.2.0.4Oracle
- Oracle OPatch工具-小記Oracle
- 【Oracle】Opatch 工具介紹Oracle
- $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithOracleAI
- oracle for linux安裝報錯 file /home/oracle/.Xauthority does not existOracleLinux
- opatch 版本下載及psu下載
- Oracle更新Opatch故障處理Oracle
- Oracle的OPatch補丁更新Oracle
- oracle 10.2.0.5 版本之後 asm disk header 自動備份機制OracleASMHeader
- LINUX 按裝ORACLE 9204 報錯解決!!LinuxOracle
- oracle dg報錯Oracle
- oracle emctl 報錯Oracle
- 【opatch打補丁】oracle10.2.0.5.0升級10.2.0.5.9 for linuxOracleLinux
- Linux系統 Oracle 10gR2(10.2.0.5)RAC安裝LinuxOracle 10g
- 使用OPatch給Oracle打補丁Oracle
- oracle 跨小版本dg切換應用補丁報錯處理Oracle
- Oracle TNS報錯大全Oracle
- 連線oracle報錯Oracle
- upgrade 10.2.0.5 to 11.2.0.4 on linuxLinux