检查补丁情况时,遇到此问题。
[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
凯发app官方网站 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/
阅读(1662) | 评论(0) | 转发(0) |