Friday, November 1, 2013

OPATCH prereq failed with checkConflictAgainstOHWithDetail not executed

Recently I was working on applying a PSU One-Off Patch, before applying patch it is necessary to get conflict resolution with existing patch information.

I was running below command to get one-off patches conflict with the PSU and received error

$ opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./9352164

Invoking OPatch 10.2.0.4.2
 

Oracle Interim Patch Installer version 10.2.0.4.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.


PREREQ session


Oracle Home : /home/oracle/product/10.2.0/db_1
Central Inventory : /home/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.2
OUI version : 10.2.0.4.0
OUI location : /home/oracle/product/10.2.0/db_1/oui
Log file location : /home/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2013-10-29_15-58-39PM.log
Invoking prereq "checkconflictagainstohwithdetail"
The location "./9352164/README.html" is not a directory or a valid patch zip file.
Prereq "checkConflictAgainstOHWithDetail" not executed
PrereqSession failed: Invalid patch location


OPatch failed with error code 73

You may see below error when you check the log file

INFO:Invoking prereq "checkconflictagainstohwithdetail"
INFO:The location "./9352164/psu_root.sh" is not a directory or a valid patch zip file.
INFO:Prereq "checkConflictAgainstOHWithDetail" not executed
SEVERE:OUI-67073:PrereqSession failed: Invalid patch location.
INFO:Finishing PrereqSession at Tue Oct 29 16:22:07 PDT 2013
INFO:Stack Description: java.lang.RuntimeException: Invalid patch location.
INFO:StackTrace: oracle.opatch.opatchprereq.PQSession.parseBaseDirListFile(PQSession.java:2118)
INFO:StackTrace: oracle.opatch.opatchprereq.PQSession.checkconflictagainstohwithdetail(PQSession.java:1424)
INFO:StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO:StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO:StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO:StackTrace: java.lang.reflect.Method.invoke(Method.java:324)
INFO:StackTrace: oracle.opatch.PrereqSession.process(PrereqSession.java:251)
INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1937)
INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:619)


Solution: You will see this error when you don’t have a latest Opatch version. Go to My Oracle support and download the latest patch.

Irrespective of the Oracle version (9i,10g,11g) you will see this issue when you don’t have latest Opatch version.

Steps to install the newer version of OPATCH
1. Copy the patch into ORACLE_HOME
2. Rename the old “Opatch” directory
$ mv OPatch OPatch_bak
3. Unzip the file patch
4. Check new OPatch version
$ opatch version
You should be able to see new Opatch version.

Refer Metalink Notes:-
Master Note For OPatch (Doc ID 293369.1)
How To Download And Install The Latest OPatch Version [Article ID 274526.1]

Regards,
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com

37 comments:

  1. Hello SATISHBABU,
    Great post!
    In SAP scene,if you are using the latest MOPatch version for patches, it isn't show up.

    Thanks,
    Denis
    http://denisfg.blogspot.com/

    ReplyDelete
  2. SAP always provide latest MOPatch & OPatch with SBP Bundle and they recommend to use the same. I didn't see this error in SAP Environments, as I am always using latest versions before applying the patch.

    But MOPatch detects weather OPatch version is valid or not.

    Regards,
    Satish

    ReplyDelete
  3. We are ERPTREE Leading oracle fusion HCM Online Training institute. We are providing online training services since 1999. still we are adding more oracle related courses as the technology changes. 2000+ online courses are available. we all ways achieve our goal in satisfying students in result we
    have global recognition to our site. we have best faculty for all of our online courses.


    Oracle Fusion HCM Training

    ReplyDelete
  4. Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information.

    Oracle Fusion Financials Online Training

    ReplyDelete
  5. Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..
    white label website builder

    ReplyDelete
  6. I just have to thank you, because it’s very difficult to find valuable information like your blog today, thank you very much.
    Excellent Summer Courses in Guindy | Best Summer Classes in Chennai

    ReplyDelete
  7. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article
    Summer Camp Training in Chennai | Summer Camp Training in Madipakkam

    ReplyDelete
  8. Wow superb...Thank you for sharing the fantastic article,keep updating such a interesting post...Summer Courses in Chennai | Summer Courses in Thiruvanmiyur

    ReplyDelete
  9. Awesome..You have clearly explained.Its very useful for me to know about new things..Keep on blogging..Java Summer Courses in Chennai | Summer Courses in Chennai

    ReplyDelete
  10. Wonderful post and such a fantastic information that you gave to us. Thank you so much for it..Summer Courses in Thiruvanmiyur | Summer Courses in Chennai

    ReplyDelete
  11. Impressive blog with lovely information. Really very useful article for us thanks for sharing such a wonderful blog...Java Project Center in Chennai | Java Project Center in Velachery

    ReplyDelete
  12. Wonderful post and such a fantastic information that you gave to us. Thank you so much for it. You made a good site and also you sharing the best information on this topic.
    Blue prism Exams in Chennai | Blue prism Exam Centers in Chennai | Blue prism Certifications in Chennai

    ReplyDelete
  13. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article..Embedded Project Center in Chennai | Embedded Project Center in Velachery

    ReplyDelete
  14. This blog very nice and informative. Thanks for sharing this blog. waiting for your next articles...
    InDesign Certification Center in Chennai | No.1 InDesign Training in Keelkattalai

    ReplyDelete
  15. Nice blog. Thank you for sharing. The information you shared is very effective for learners..PHP Project Center in Chennai | PHP Project Center in Velachery

    ReplyDelete
  16. The website is looking bit flashy and it catches the visitors eyes.A design is pretty simple...Embedded Project Center in Chennai | Embedded Project Center in Velachery

    ReplyDelete
  17. Nice post.Thanks for your informative post. Your article helped me a lot to understand the future of blog.
    Certified Ethical Hacking Courses in Chennai | No.1 Ethical Hacking in Velachery

    ReplyDelete
  18. Really enjoying your sharing, you have a great teaching style and make these new concepts..VLSI Project Center in Chennai | VLSI Project Center in Velachery

    ReplyDelete
  19. Very informative post and useful post so happy to read this article share it for everyone..DotNet Project Center in Chennai | DotNet Project Center in Velachery

    ReplyDelete
  20. Wonderful post and such a fantastic information that you gave to us..VLSI Project Center in Chennai | VLSI Project Center in Velachery

    ReplyDelete
  21. I have read your blog its very attractive and impressive. I like it your blog..DotNet Project Center in Chennai | DotNet Project Center in Velachery

    ReplyDelete
  22. Excellent information you made in this blog, very helpful information. Thanks for sharing.Embedded Project Center in Chennai | Embedded Project Center in Velachery

    ReplyDelete
  23. Thanks for sharing informative article on Salesforce technology. Your article helped me a lot to understand the career prospects in cloud computing technology.
    Blue Prism Certification Center in Chennai | No.1 RPA Blue Prism in Medavakkam

    ReplyDelete
  24. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing..
    Python Certification Center in Chennai | No.1 Python Exams in Nanganallur

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

    ReplyDelete
  26. افضل الخدمات الخاصة باعمال نقل العفش مع الفك والتركيب في الطائف تقدمها افضل شركات نقل عفش الطائف وهي تعتبر من افضل الشركات المتخصصة في اعمال نقل الاثاث بواسطة فريق عمل مميز ومحترف وسيارات نقل عفش حديثة ومجهزة لأعمال نقل الاثاث بالطائف مقفلة ومبطنة من الداخل وستحصل على افضل خدمات شركات نقل العفش بالطائف باحترافية عالية وبالضمان من افضل شركة نقل عفش الطائف المتميزة والمؤهلة

    ReplyDelete