Thursday, January 19, 2017

error in invoking target 'agent nmhs' of makefile

I come across a situation that servers & Operating systems are (O/S) are getting upgraded and we cannot perform in place upgrade for easy roll backing capability.

Also new O/S does not support the Database version.

We need to restore the Oracle database into unsupported Server version. We have copied the Database binaries and during the Database upgrade we got below error.

error in invoking target 'agent nmhs' of makefile

Workaround:
During upgrade or clone  you will get this error when relink is running

Here is the workaround 
ls $ORACLE_HOME/sysman/lib/ins_emagent.mk

Search for the line 
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11

https://community.oracle.com/thread/1093616

Goto Database upgrade window and click on "Retry" and upgrade should run successfully.

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

41 comments:

  1. Such as very good information promoting content are provided and more skills are improved after refer that post.For more details about oracle fusion financial please check our website.
    Oracle Fusion Financial Training Institute



    ReplyDelete
  2. Hi,
    Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn more things. Erp tree the leading oracle fusion online training center,who are interested in learning oracle fusion and its suite just contact us through our website.
    Thank You,
    Oracle Financials training

    ReplyDelete
  3. Thank you for your information that you've shared. It's really helpful for me.
    * hotmail sign up

    ReplyDelete
  4. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
    Java Training in Chennai

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

    Oracle Fusion HCM Online Training

    ReplyDelete
  6. Looking so great article with most useful stuff, keep sharing and update us...
    Best Online Software Training Institute | Selenium Training

    ReplyDelete
  7. Great article, really very helpful content you made. Thank you, keep sharing.

    No 1 Commerce College in Hyd | Avinash college of commerce

    ReplyDelete
  8. Hey Really Thanks for sharing the best information regarding Oracle, hope you will write more great blogs.

    Oracle Fusion SCM Online Training

    ReplyDelete
  9. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book best Andaman honeymoon packages

    ReplyDelete
  10. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book ANDAMAN TRIP @ 7999

    ReplyDelete
  11. Hi Thanks for the nice information its very useful to read your blog. We provide best financial education

    ReplyDelete
  12. Thanks for sharing such a nice information, really help-full information. Keep Updating.

    Best CS Course training services | ISFS

    ReplyDelete
  13. We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming (7+ years) will ensure that we will deliver our best in python training in vijayawada. , and we believe that no one matches us in this context.

    ReplyDelete
  14. top 10 architects in chennai

    Architects and Interior Designers make your home look marvelous. They bring to you, your dream home. Here are top architects in Chennai that you look for

    ReplyDelete
  15. Thanks for sharing this knowledgeable blog, really an excellent informative website. It's very useful. Visit here: SEO Company.

    ReplyDelete
  16. Thank you for this insightful post on resolving the “Error in invoking target 'agent nmhs' of make file ins_emagent.mk” during Oracle 11.2.0.4 installation on Linux. Your solution to modify the ins_emagent.mk file by adding the -lnnz11 flag to the MK_EMAGENT_NMECTL command is a practical approach to address the linking issue.
    doyensys.com

    At Fast Prep Academy, we emphasize the importance of understanding and troubleshooting installation errors to ensure smooth deployments. Your article serves as an excellent resource for learners and professionals aiming to deepen their knowledge in Oracle database installations.

    ReplyDelete
  17. Great article! I really enjoyed reading it — you’ve clearly put a lot of effort into your work. Keep it up!

    ReplyDelete
  18. Great tutorial on integrating Stardog with Spring Framework! It’s been really helpful in my project. For those who are also balancing study and work, Fast Prep Academy’s SAT coaching online can help streamline preparation and save time.

    ReplyDelete
  19. Great post — this explanation of the “Error in invoking target ‘agent nmhs’ of makefile” issue is really clear and useful. The steps to edit ins_emagent.mk and add -lnnz11 to the $(MK_EMAGENT_NMECTL) line are presented well, and I appreciate you referencing Patch 19692824 as a fix — it saved me a lot of time when I hit this error while installing Oracle Database 11g Release 2 (11.2.0.4) on a Linux 7 host. I would only suggest adding a short note about verifying prerequisites (kernel version, required libraries, etc.) before patch application — that would make the article even stronger for others who might run into related issues.

    generative ai course in hyderabad

    ReplyDelete
  20. This post is an excellent technical resource for Oracle professionals, providing a clear and direct solution to the common installation error regarding the 'nmhs' target! Detailing how to fix the issue by modifying the 'ins_emagent.mk' file to include the necessary library link is incredibly helpful for ensuring a smooth and successful setup. I especially liked the focus on the specific environment variables and file paths, as these details are critical for effective troubleshooting. Just as a precise technical fix ensures the reliability of a database system, specialized medical expertise is vital for physical mobility and health, which is what we prioritize at our Orthopedic Hospital in Kadapa. Thanks for sharing these valuable Oracle expert insights!

    ReplyDelete
  21. The I appreciate how you focused on practical benefits rather than hype. This kind of balanced tech content is really valuable.
    Generative AI Online course in hyderabad

    ReplyDelete
  22. 🔧 Very helpful troubleshooting guide! I ran into the “Error in invoking target ‘agent nmhs’ of makefile” issue while upgrading an Oracle 11.2.0.4 installation on Linux, and this explanation made the fix much clearer. The step-by-step instruction to edit the ins_emagent.mk file and add the -lnnz11 linker flag is practical and worked perfectly for my setup. Thanks for sharing this solution — it’s exactly the kind of real-world fix DBAs need when facing obscure Oracle installation errors! ⭐ Keep up the great posts!

    generative ai training in hyderabad

    ReplyDelete
  23. Thanks for sharing this detailed troubleshooting tip! The explanation of the “Error in invoking target ‘agent’ (nmhs)” in Oracle environments and how to approach resolving it will definitely help DBAs and DevOps engineers facing similar issues.

    As database technologies and cloud architectures evolve, many professionals are also enhancing their expertise in scalable data platforms and analytics workflows. I recently came across Snowflake Masters, which offers practical learning resources in this space. Those interested can explore the Best Snowflake training in Hyderabad to learn more about cloud data warehousing and hands-on training options.

    Appreciate you sharing this valuable insight!

    ReplyDelete