August 9, 2018

Error in invoking target 'agent nmhs' of makefile while installing oracle 11g

When installing Oracle 11g  you may get the following error :-

 Error in invoking target 'agent nmhs'  of makefile '/u01/app/oracle/product/11.1.0/db_1/sysman/lib/ins_emagent.mk

Solution:-

Open the file it reports in error message.

vi $ORACLE_HOME/sysman/lib/ins_emagent.mk


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




Note : edit this file while you still have the installer open, once you have changed it just click retry on the installer window.

Datapatch Fails in Oracle 12c on Windows – Root Cause and Step-by-Step Fix

   Recently, while applying a patch on an Oracle 12c (12.2.0.1) database on Windows, I ran into a frustrating issue: datapatch kept failin...