Friday, August 9, 2013

Reason: Cannot apply patch due to fatal error & CheckActiveFilesAndExecutables failed

We have seen below error when user applying latest SBP patch on Oracle Database .


Running prerequisite check "CheckMultipleTranslationPatches" ... UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /oracle/RACP/112_64/cfgtoollogs/opatch/opatch2013-07-24_17-44-07PM_1.log

OPatch failed with error code 73
Processing patch "!16056266!16056266"...failed.
Reason: Cannot apply patch due to fatal error.

In mopatch or opatch log file, user will not find enough information except “Reason: Cannot apply patch due to fatal error”. The log file mention in the mopatch log will have reason for failure.

Contents from log file /oracle/RACP/112_64/cfgtoollogs/opatch/opatch2013-07-24_17-44-07PM_1.log

[Jul 24, 2013 5:37:13 PM] Following executables are active :
[Jul 24, 2013 5:37:13 PM] Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Jul 24, 2013 5:37:13 PM] OUI-67073:UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed. 

Opatch or Mopatch needs to modify some files which are still being used by some process. As you see one of the Oracle library is still active.

Find out the process which is still actively using the library /oracle/RACP/112_64/lib/ and kill or stop the process.

$ /sbin/fuser /oracle/RACP/112_64/lib/
/oracle/RACP/112_64/lib/ 9785m

$ ps –ef |grep 9785
oraracp 9785 1 0 Jul24 ? 00:02:39 /oracle/RACP/112_64/bin/tnslsnr LISTENER_RACP -inherit
oraracp 19813 7919 0 17:25 pts/2 00:00:00 grep 9785

$ lsnrctl stop LISTENER_RACP
$ kill -9 9785

The listener process is still running and causing the issue. We have stopped the listener process and reapplied the patch successfully.


Satisbabu Gunukula, Oracle ACE


  1. شركة نقل عفش بالرياض وجدة والدمام والخبر والجبيل اولقطيف والاحساء والرياض وجدة ومكة المدينة المنورة والخرج والطائف وخميس مشيط وبجدة افضل شركة نقل عفش بجدة نعرضها مجموعة الفا لنقل العفش بمكة والخرج والقصيم والطائف وتبوك وخميس مشيط ونجران وجيزان وبريدة والمدينة المنورة وينبع افضل شركات نقل الاثاث بالجبيل والطائف وخميس مشيط وبريدة وعنيزو وابها ونجران المدينة وينبع تبوك والقصيم الخرج حفر الباطن والظهران
    شركة نقل عفش بجدة
    شركة نقل عفش بالمدينة المنورة
    شركة نقل اثاث بالرياض