Thursday, September 6, 2018

Oracle patch failed with “CheckActiveFilesAndExecutables” failed error

We are applying patch on Oracle 12c and we got Prerequisite check “CheckActiveFilesAndExecutables” failed error. By looking the error we can see that files are active and used by some active processes.


$opatch apply
.....
[Sep 6, 2018 6:56:10 PM] [INFO] Finish fuser command /sbin/fuser /oracle/product/12.1.0.2/dbhome_1/lib/libsrvm12.so at Thu Sep 06 18:56:10 PDT 2018
[Sep 6, 2018 6:56:10 PM] [SEVERE] OUI-67073:UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Sep 6, 2018 6:56:10 PM] [INFO] Finishing UtilSession at Thu Sep 06 18:56:10 PDT 2018
[Sep 6, 2018 6:56:10 PM] [INFO] Log file location: /oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2018-09-06_18-55-32PM_1.log
[Sep 6, 2018 6:56:10 PM] [INFO] Stack Description: java.lang.RuntimeException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
at oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6670)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:988)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:363)
at oracle.opatch.opatchutil.NApply.process(NApply.java:343)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.opatch.UtilSession.process(UtilSession.java:359)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2670)
at oracle.opatch.OPatch.process(OPatch.java:811)
at oracle.opatch.OPatch.main(OPatch.java:861)
Caused by: java.lang.RuntimeException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
... 13 more
Caused by: oracle.opatch.PrereqFailedException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
... 13 more

In the log file I see that below lib is active and used by some processes

[Sep 6, 2018 6:55:49 PM] [INFO] Following executables are active :
/oracle/product/12.1.0.2/dbhome_1/lib/libclntsh.so.12.1
[Sep 6, 2018 6:55:49 PM] [INFO] Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following executables are active :
/oracle/product/12.1.0.2/dbhome_1/lib/libclntsh.so.12.1
[Sep 6, 2018 6:55:49 PM] [INFO] Start fuser command /sbin/fuser /oracle/product/12.1.0.2/dbhome_1/bin/adrci at Thu Sep 06 18:55:49 PDT 2018

To find which process using below lib run below command and you will get the process id

$ /sbin/fuser /oracle/product/12.1.0.2/dbhome_1/lib/libclntsh.so.12.1
/oracle/product/12.1.0.2/dbhome_1/lib/libclntsh.so.12.1: 8631m

Find out the process that is active using below command

$ps –ef |grep 8631     
oracle     8631      1  0 Aug23 ?        00:02:22 /oracle/product/12.1.0.2/dbhome_1/bin/tnslsnr LISTENER_ORCL-inherit

Either you stop the processes or kill the process. Once the processes is stopped you can proceed with opatch again and it should be successful.

Note that after patch is successful check for “SEVERE” errors if any in the log file.

Thanks
Satishbabu Gunukula
http://www.oracleracexpert.com


69 comments:


  1. Awesome blog. It was very informative. I would like to appreciate you. Keep updated like this best selenium training institute in hyderabad

    ReplyDelete
    Replies
    1. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Corporate TRaining Spring Framework the authors explore the idea of using Java in Big Data platforms.

      Spring Training in Chennai

      The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Click Here Best RPA Online Training to go to RPA Online Training Institute Details .

    ReplyDelete
  3. The actual time and effort took to create this wonderful article were really great and would like to read this blog regularly to get more updates...
    DevOps Training in Chennai | Oracle Online Training

    ReplyDelete
  4. I always enjoy reading quality articles by an individual who is obviously knowledgeable on their chosen subject. Ill be watching this post with much interest. Keep up the great work, I will be back

    Best Software Training Institute In Chennai | Best Software Online Training Institute In Chennai

    ReplyDelete
  5. I like this article.I was searching over search engines and found your blog and its really helps thank you so much Happy New Year 2019 Wish

    ReplyDelete

  6. I read this post. This post containing such a good post. Thanks for sharing. We are offering the services of Buddhist circuit train. You can visit the website for more information.
    Holy Buddha Tourism

    ReplyDelete
  7. Today I was riding in a bus and heard how the boys talked about this site. secure online casino sites Speak as if it’s cool for a couple of hours so much money decided to take a risk and really thank you guys

    ReplyDelete
  8. For Latest updates of Bollywood, Hollywood and Tollywood Check this blog
    Newsvx
    Shahrukh khan upcoming movies
    We are the best event organisers in delhi ncr
    Event organisers in delhi ncr
    social media marketing company in delhi
    Most of the people want graphic design in india to grow there product and brand
    Graphic design in delhi
    Best event management company in delhi ncr
    Webslogin is the best web designing company in india
    best web designing company in India
    Best wedding planning company in delhi ncr
    We are the best web designers in delhi ncr
    web designers in delhi

    ReplyDelete
  9. Thank you for sharing such a nice and interesting blog post. If anyone is going to travel from Chandigarh to Shimla or need a
    Chandigarh to Shimla Taxi Service then contact 1313 taxi chandigarh.

    ReplyDelete
  10. We are all aware of the fact that having high IQ is important. It helps us understand a lot of things faster, makes us better learners at school, college or university and comes in handy when we are trying to land that new job. However, we do not know much about EQ or emotional intelligence. This is the subject which the book ‘Emotional Intelligence: Why It Can Matter More Than IQ’ is dedicated to.

    if you want more just look here "social justice research paper"

    ReplyDelete
  11. من افضل وارخص الشركات التي توجد في منطقة مكة المكرمة والتي تعمل في مجال نقل العفش مع الفك والتركيب تلك الشركة الجيدة التي تقدم اعمال جيدة وتسمى افضل شركه نقل اثاث بجده وهي تلك التي تختص بنقل العفش من بيت الى بيت آخر في مدينة جدة وما جاورها من مناطق تابعة لها وقد نضطر قبل نقل العفش الى المكان الجديد الى تنظيف المنزل الجديد قبل النقل من افضل شركات منطقة مكة المكرمة التي تعمل في مجال تنظيف وتعقيم المنازل تلك الشركة الجيدة التي تقدم خدمات جيدة في تنظيف المنازل من الداخل ومن الخارج مثل شركة تنظيف منازل بجدة التي تختص بأعمال التنظيف للمنازل الجديدة والمفروشة ومن الأفضل ان تقوم بعمل مكافحة للحشرات بالتواصل مع افضل واقوى الشركات التي تقدم خدمات مكافحة حشرات المنزل البق والصراصير والنمل والعته تلك التي تستخدم مبيدات آمنة وفعالة وهي شركه مكافحه الحشرات بجده التي تتعامل في مكافحة الحشرات وتستخدم مبيدات آمنة ومضمونة ونحتاج ايضا الى تنظيف الخزان وذلك بالتعرف على اكبر وافضل واقوى شركات تنظيف خزانات المياه بجدة تلك التي تقوم بأعمال تنظيف وتعقيم خزانات المياه في جدة بمنتهى الدقة والاحترافية وتقدم شركه تنظيف خزانات بجده افضل الخدمات الجيدة في تنظيف وتعقيم الخزانات لكي تحافظ على الماء نظيفا ومعقما اطول فترة زمنية ممكنة

    ReplyDelete

  12. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    blockchain online training
    best blockchain online training
    top blockchain online training

    ReplyDelete
  13. If your looking for Online Illinois license plate sticker renewals then you have need to come to the right place.We offer the fastest Illinois license plate sticker renewals in the state.
    Best Institutes For Digital Marketing in Hyderabad

    ReplyDelete
  14. Informative blog, thanks for posting.
    Digital Marketing Training in KPHB with 100% Internships & Job Assistance

    ReplyDelete
  15. Awesome dispatch! I am indeed getting apt to over this info, is truly neighborly my buddy. Likewise fantastic blog here among many of the costly info you acquire. Reserve up the beneficial process you are doing here. website

    ReplyDelete
  16. I read that Post and got it fine and informative. visit

    ReplyDelete
  17. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. visit this site

    ReplyDelete
  18. This is very significant, and yet necessary towards just click this unique backlink: visit this site

    ReplyDelete
  19. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Satta Disawar

    ReplyDelete
  20. Thanks for sharing excellent information. Your site is very cool, and I am impressed by your details on this site.
    Pet Transportation Service
    Pickup And Dropoff Service
    Shipping Companies
    Transit Insurance Service
    Movers Tracking Services

    ReplyDelete
  21. I can recommend primarily decent and even responsible tips, as a result view it: read here

    ReplyDelete
  22. There you can download for free, see the first of these data. custom embroidered key tags

    ReplyDelete
  23. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. visit this site

    ReplyDelete
  24. I exploit solely premium quality products -- you will observe these individuals on: houston patches

    ReplyDelete
  25. Nasha Mukti Kendra in Punjab at Lifeline is expert with a massive experience in the field of medication and treatment. We have treated thousands of drug addicts to their full satisfaction level at our advanced Nasha Mukti Kender in Punjab.

    ReplyDelete
  26. Addiction is a serious problem that needs to be tackled immediately. There are many people who still believe that there is no treatment for addiction. However, with the right treatment and support, there is no reason why you cannot overcome addiction. Nasha Mukti Kendra in Jalandhar at some of why addiction arises, how you can overcome addiction, and the treatment that is available to help you overcome addiction.

    ReplyDelete
  27. Karnataka PUC Question Paper 2023 According to Karnataka Secondary Education Examination Board KSEEB announcement of the 2nd PUC Model Question Paper for class 12th, Karnataka Board 2nd PUC examinations will be held from March,HP Board 12th Question Paper 2023 at its various center in all over the Karnataka state. The 2nd PUC Model Paper 2023 are expected to be declared by the board in the month of May.

    ReplyDelete
  28. thank you for sharing your informative blog and keep sharing.
    Nasha Mukti Kendra in Shimlais a place that helps someone to get over their addiction. It is a place where they learn to live a sober and happy life.

    ReplyDelete
  29. اذا كنت من عشاق العاب الجريمة و المغامرات يمكنك تجربة تحميل لعبة جاتا 7 و الاستمتاع بي اللعبة و الدخول في جو المغامرات من خلال موقعنا تحميل العاب الكمبيوتر   يمكنك أيضا تحميل لعبة جاتا جميع الإصدارات .

    ReplyDelete
  30. Nice thanks for sharing informative post like this keep posting if like more details visit my website linkhttps://snowflakemasters.in/

    ReplyDelete
  31. Instant Cash Canada is a proud car title loans provider that offers hassle-free loans to people with instant approval, no credit checks, and the lowest interest rates. Customer satisfaction is most important to us which is why we offer you the to Pay off your loan at any time without Penalty. Get in touch now.

    ReplyDelete