oracle10.2.0.5漏洞,Oracle 10.2.0.5 opatch报错
Linux redhat 5 Oracle 10.2.0.5 執行opatch lsinventory報錯:
[oracle@rac2 8350262]$ opatch lsinventory
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.
Oracle Home?????? : /opt/ora10g/product/10.2.0/db_1
Central Inventory : /opt/ora10g/oraInventory
from?????????? : /etc/oraInst.loc
OPatch version??? : 10.2.0.5.1
OUI version?????? : 10.2.0.5.0
OUI location????? : /opt/ora10g/product/10.2.0/db_1/oui
Log file location : /opt/ora10g/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2012-11-27_10-49-37AM.log
Patch history file: /opt/ora10g/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
List of Homes on this system:
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
根據metalink Opatch error: "Inventory load failed... OPatch cannot load inventory for the given Oracle Home." [ID 864117.1]
注冊oracleHome信息到Inventory
To implement the solution, please execute the following steps:
1. Register/Attach the OracleHome information to the existing Central Inventory using following command
- For OracleHome version 10.2.0.2 or higher :
% cd $ORACLE_HOME/oui/bin
% ./attachHome.sh
or
% ./runInstaller -silent -attachHome \
ORACLE_HOME=$ORACLE_HOME \
ORACLE_HOME_NAME=""
- For OracleHome version 10.1.0.2 to 10.2.0.1:
% cd $ORACLE_HOME/oui/bin
% ./runInstaller -silent -attachHome \
ORACLE_HOME=$ORACLE_HOME \
ORACLE_HOME_NAME=
Note : Please replace with the name that you want to give this OracleHome.
Note :
'-attachHome' operation does not work for Oracle Database Home versions 9.2.0.x or below.
For 9.2.0.x, incase central inventory is missing/corrupted OR OracleHome information is missing from existing central inventory, then only available options are
- restore the central inventory from last known good backup
OR
- reinstall the OracleHome
2. Now use OPatch command to check this OracleHome details
- following command should display all OracleHomes registered in the Central Inventory. Which should include your OracleHome as one of the entry
$ORACLE_HOME/OPatch/opatch lsinventory -all
- following command should display installed components in the OracleHome set in the environment ($ORACLE_HOME)
$ORACLE_HOME/OPatch/opatch lsinventory -detail
總結
以上是生活随笔為你收集整理的oracle10.2.0.5漏洞,Oracle 10.2.0.5 opatch报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle插入时判断重复,Oracle
- 下一篇: matlab的实用与仿真,MATLAB建