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

Oracle Interim Patch Installer version
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 :
OUI version :
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/" 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(
INFO:StackTrace: oracle.opatch.opatchprereq.PQSession.checkconflictagainstohwithdetail(
INFO:StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO:StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(
INFO:StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(
INFO:StackTrace: java.lang.reflect.Method.invoke(
INFO:StackTrace: oracle.opatch.PrereqSession.process(
INFO:StackTrace: oracle.opatch.OPatchSession.main(
INFO:StackTrace: oracle.opatch.OPatch.main(

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]

Satishbabu Gunukula, Oracle ACE


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


  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.


  3. I agree with your post, the Introduction of automation testing product shortens the development life cycle. It helps the software developers and programmers to validate software application performance and behavior before deployment. You can choose testing product based on your testing requirements and functionality. QTP Course in Chennai | QTP training

  4. Thanks for your informative article on UFT automation testing tool. Your post helped me to understand the features and functionality of QTP automation testing tool. QTP Training in Chennai | QTP training Chennai

  5. Thanks for Sharing the valuable information and thanks for sharing the wonderful article..We are glad to see such a wonderful article..
    QTP Training in Chennai | QTP Training Institute in Chennai | QTP Training

  6. The best thing is that your blog really informative thanks for your great information!
    erp software in chennai

  7. 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

  8. thank you for such a great article with us. hope it will be much useful for us. please keep on updating..
    Web D School


  9. دار السلام اهم شركة نقل عفش بالطائف وكذلك اهم شركة نقل عفش بمكة وجدة والمدينة المنورة تقوم الشركة بنقل العفش بحفر الباطن وتبوك وجازان وتقوم بنقل الاثاث بالقصيم
    شركة نقل عفش بالطائف
    شركة نقل عفش بالمدينة المنورة
    شركة نقل عفش بجازان وابها

  10. 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

  11. Awesome post……. your article is really informative and helpful for me and other bloggers too

    Oracle Fusion HCM Online Training

  12. Hi, am a big follower of your blog. I am really happy to found such a helpful and fascinating post that is written in well manner.

    mobile website builder

  13. 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

  14. 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

  15. 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

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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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

  25. 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

  26. 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

  27. 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