Visit Counter

Saturday, January 16, 2021

Error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle 11.2.0.4 on Linux 7.6

While installation Oracle 11g database getting below 

"error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle 11.2.0.4 on Linux 7.6"


collect2: error: ld returned 1 exit status

/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:176: recipe for target '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl' failed

make[1]: Leaving directory '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib'

/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:52: recipe for target 'emdctl' failed

make[1]: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1

make: *** [emdctl] Error 2





CHANGE

 This is a new oracle 11.2.0.4 installation on LinuxGES


CAUSE

Link error on "ins_emagent.mk".


SOLUTION

Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line


$(MK_EMAGENT_NMECTL)

Then replace the line with


$(MK_EMAGENT_NMECTL) -lnnz11

Then click “Retry” button to continue.



No comments:

Post a Comment