检查补丁情况时,遇到此问题。
[oracle@dbserver1 /oracle/product/10.2.0/db_1]$ opatch lsinv
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 : /oracle/product/10.2.0/db_1
Central Inventory : /oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.4.0
OUI location : /oracle/product/10.2.0/db_1/oui
Log file location : /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2020-11-20_16-45-07PM.log
Patch history file: /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2020-11-20_16-45-07PM.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.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
Exception in thread "main"
OPatch failed with error code 1
不能显示补丁,似乎眼熟的问题,搜了搜support.oracle.com,是因为没有正确配置jdk,找另外
一台正常的主机将$ORACLE_HOME/jdk这个目录打包过来,替换一下就ok了。
参考:
Exception in thread "main" : OPatch Failed With Error Code 1 (Doc ID 1413882.1)
http://blog.itpub.net/17252115/viewspace-768225/
阅读(1822) | 评论(0) | 转发(0) |