oracle linux 安装过程错误 :Error in invoking target ‘agent nmhs’ of makefile

时间:2021-09-10 07:49:19

Problem:
When installing 11.2.0.4 on Redhat 7:

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


Workaround:

in $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for the line: $(MK_EMAGENT_NMECTL)
Change it to: $(MK_EMAGENT_NMECTL) -lnnz11


Solution:

https://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm#CJAEJECJ

7.2.4 Error During Oracle Database Installation on Oracle Linux 7
When installing Oracle Database 11g Release 2 (11.2.0.4) on Oracle Linux 7 and Red Hat Enterprise Linux 7, Oracle Universal Installer shows the following error message:

Error in invoking target 'agent nmhs' of makefile
When creating the database, the following error occurs:

Error securing Database Control

Apply patch 19692824 to the Database home:
https://updates.oracle.com/download/19692824.html

For additional information about how to apply the patch and when to apply the patch, refer to Note 1951613.1

This issue is tracked with Oracle bug 19692824.