今天打PSU时报下面错误:
Apr 12, 2016 10:19:30 PM] OUI-67073:UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
[Apr 12, 2016 10:19:30 PM] Finishing UtilSession at Tue Apr 12 22:19:30 CST 2016
[Apr 12, 2016 10:19:30 PM] Log file location: /oracle/app/ora11g/product/db/cfgtoollogs/opatch/opatch2016-04-12_22-
19-26PM_1.log
[Apr 12, 2016 10:19:30 PM] Stack Description: java.lang.RuntimeException: Prerequisite check "CheckMinimumOPatchVer
sion" failed.
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:5
786)
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:1587)
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1136)
[Apr 12, 2016 10:19:30 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Apr 12, 2016 10:19:30 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
[Apr 12, 2016 10:19:30 PM] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
[Apr 12, 2016 10:19:30 PM] StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Apr 12, 2016 10:19:30 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)
经查:
是存在Oracle进程所致:
ps -ef|grep oracle
将所有Oracle进程kill掉后,恢复正常。
还遇到Opatch版本过低导致无法运行
把原来Opatch目录备份
下载更高版本Opatch p6880880_112000_Linux-x86-64
解压到$ORACLE_HOME目录下后,再次执行成功。
阅读(1888) | 评论(0) | 转发(0) |