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

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

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete

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

    ReplyDelete
  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

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

    Oracle Fusion HCM Online Training

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  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

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

    ReplyDelete
  29. 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
  30. Excellent information you made in this blog, very helpful information. Thanks for sharing.Embedded Project Center in Chennai | Embedded Project Center in Velachery

    ReplyDelete
  31. 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
  32. 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