Home > problem-cause-solution > “Prerequisite check “CheckActiveFilesAndExecutables” failed error” While issueing opatch apply

“Prerequisite check “CheckActiveFilesAndExecutables” failed error” While issueing opatch apply


While applying interim patch, I got Prerequisite check “CheckActiveFilesAndExecutables” failed error and resolved the issue with the help of fuser.

oracle@mydb1>opatch apply
 Invoking OPatch
Oracle Interim Patch Installer version
 Copyright (c) 2011, Oracle Corporation.  All rights reserved.
Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1
 Central Inventory : /u01/app/oraInventory
 from           : /etc/oraInst.loc
 OPatch version    :
 OUI version       :
 Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-02-01_21-16-28PM.log
Applying interim patch '9578670' to OH '/u01/app/oracle/product/11.2.0/dbhome_1'
 Verifying environment and performing prerequisite checks...
 Prerequisite check "CheckActiveFilesAndExecutables" failed.
 The details are:
Following executables are active :
 [ Error during Prerequisite for apply Phase]. Detail: ApplySession failed during prerequisite checks: Prerequisite check "CheckActiveFilesAndExecutables" failed.
 Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-02-01_21-16-28PM.log

Recommended actions: OPatch needs to modify files which are being used by some processes.

OPatch failed with error code 41


Something is using oracle library.


I had solved the issue first looking at the log file and saw that the inuse control made by fuser, this is also a clue for me to find who is using the library file.

oracle@mydb1>/sbin/fuser /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: 12195m
oracle@mydb1>ps -ef |grep 12195
 oracle   12195 11944  0 Jan19 pts/7    00:00:00 adrci
 oracle   22813  3717  0 21:18 pts/13   00:00:00 grep 12195
 oracle@mydb1>kill -9 12195

After than I had successfully applied the patch.

  1. Tom Fredericks
    February 27, 2013 at 10:11 pm

    This solved my problem. Thanks.

  2. Sairam Nimmala
    March 5, 2013 at 12:28 pm

    Thank you . This solved my issue

  3. Reddy
    April 10, 2013 at 11:12 am

    Was very useful for me. Thank you

  4. Kevin
    June 7, 2013 at 12:00 am

    good post. helped me resolve this issue

  5. Simbah
    September 26, 2013 at 10:18 pm

    You just need to shutdown your listener and dbconsole:

    # lsnrctl stop
    # emctl stop dbconsole

  6. satya
    May 22, 2014 at 1:26 pm

    yes its worked for me

  7. satya
    May 22, 2014 at 1:27 pm

    thank you

  8. JKM
    September 17, 2014 at 3:30 pm

    Thank you ,its worked for me

  9. Sangeeta
    May 12, 2015 at 3:27 pm

    Thanks for the post, it resolved my problem, opatch apply process was holding the process and the command helped me to look into this. thanks.

  1. February 13, 2013 at 6:42 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Don Charisma

because anything is possible with Charisma

Carol no Mundo!

Aventuras de uma intercambista a trabalho pelo mundo!

Blog do PHP

Oracle DBA for rookies!


Welcome to the world of Oracle with me....


News and reviews from the world of gadgets, gear, apps and the web


WordPress.com is the best place for your personal blog or business site.

Gurcan Orhan's ODI and DWH Blog

Some words about Oracle Data Integrator and Data Warehousing.

%d bloggers like this: