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

53 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. The best thing is that your blog really informative thanks for your great information!
    erp software in chennai

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

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

    ReplyDelete
  8. 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
  9. Awesome post……. your article is really informative and helpful for me and other bloggers too

    Oracle Fusion HCM Online Training

    ReplyDelete
  10. 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
  11. 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
  12. 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
  13. 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
  14. Wow superb...Thank you for sharing the fantastic article,keep updating such a interesting post...Summer Courses in Chennai | Summer Courses in Thiruvanmiyur

    ReplyDelete
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. Wonderful post and such a fantastic information that you gave to us..VLSI Project Center in Chennai | VLSI Project Center in Velachery

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

    ReplyDelete
  29. 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
  30. 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
  31. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us. Do check Six Sigma Training in Bangalore | Six Sigma Training in Dubai & Get trained by an expert who will enrich you with the latest trends.

    ReplyDelete
  32. Astonishing web diary I visit this blog it's incredibly magnificent. Strangely, in this blog content made doubtlessly and sensible. The substance of information is instructive.
    Oracle Fusion Financials Online Training
    Oracle Fusion HCM Online Training
    Oracle Fusion SCM Online Training

    ReplyDelete
  33. An astounding web diary I visit this blog, it's inconceivably magnificent. Strangely, in this current blog's substance made point of fact and sensible. The substance of information is instructive.
    Oracle Fusion Financials Online Training
    Oracle Fusion HCM Online Training
    Oracle Fusion SCM Online Training
    oracle Fusion Technical online training

    ReplyDelete
  34. An astounding web diary I visit this blog, it's inconceivably magnificent. Strangely, in this current blog's substance made point of fact and sensible. The substance of information is instructive.
    A bewildering web journal I visit this blog, it's unfathomably heavenly. Oddly, in this present blog's substance made purpose of actuality and reasonable. The substance of data is informative
    A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
    Oracle Fusion Financials Online Training
    Oracle Fusion HCM Online Training
    Oracle Fusion SCM Online Training

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

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

    Big Data and Hadoop Online Training
    Big Data Hadoop Training
    Hyderabad

    ReplyDelete
  37. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.

    Spark and Scala Online Training
    Spark Scala Training
    Hyderabad

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

    ReplyDelete