在执行opatch lsinventory的时候出现如下错误:
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
导致这个错误的原因是oracle home错误,解决方法很简单:
1、执行attachHome.sh脚本
% cd $ORACLE_HOME/oui/bin
% ./attachHome.sh
2、runInstaller -silent -attachHome
% ./runInstaller -silent -attachHome
ORACLE_HOME=$ORACLE_HOME
ORACLE_HOME_NAME=""
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22049049/viewspace-1029100/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22049049/viewspace-1029100/