ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Prerequisite check "CheckActiveFilesAndExecutables" failed

Prerequisite check "CheckActiveFilesAndExecutables" failed

原创 Linux操作系统 作者:renjixinchina 时间:2013-08-27 18:25:40 0 删除 编辑

APPLIES TO:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 11-Jan-2012


SYMPTOMS

While trying to apply or rollback any patch using OPatch, it fails with the following error:

%opatch apply 
or 
%opatch rollback -id

Running prerequisite checks...


Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:


Following executables are active :
/opt/oracle/product/10.2.0/bin/oracle

ApplySession failed during prerequisite checks: Prerequisite check "CheckActiveFilesAndExecutables" failed.
System intact, OPatch will not attempt to restore the system

OPatch failed with error code 74

CAUSE

According to the above  error message, oracle binary ($ORACLE_HOME/bin/oracle) is still active or in use.
It can also  fail with other ORACLE_HOME active files/libraries .
Example:
/u01/app/oracle/10.2.0/bin/tnslsnr
/u01/app/oracle/11.2.0.3/lib/libclntsh.so.11.1

SOLUTION

Verify and ensure that all database instances/services that are running from the $ORACLE_HOME being patched are cleanly shutdown.
Also  identify the process that is using these active files/libraries.Then stop the process who is still accessing it and then apply/rollback the patch.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15747463/viewspace-769389/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-01-30

  • 博文量
    373
  • 访问量
    2060426