Linux ·

Linux7安装Oracle 11g 86%报错:Error in invoking target ‘agent nmhs’ of makefile

OS:Oracle Linux 7.2 64bit
DB:Oracle 11.2.0.3
%86时出现报错   Error in invoking target 'agent nmhs' of makefile
Linux7安装Oracle 11g 86%报错:Error in invoking target 'agent nmhs' of makefile Linux 第1张

解决方案
在makefile中添加链接libnnz11库的参数
修改$ORACLE_HOME/sysman/lib/ins_emagent.mk,将
$(MK_EMAGENT_NMECTL)修改为:$(MK_EMAGENT_NMECTL) -lnnz11
建议修改前备份原始文件
[oracle@ysserver ~]$ cd $ORACLE_HOME/sysman/lib
[oracle@ysserver lib]$ cp ins_emagent.mk ins_emagent.mk.bak
[oracle@ysserver lib]$ vi ins_emagent.mk
Linux7安装Oracle 11g 86%报错:Error in invoking target 'agent nmhs' of makefile Linux 第2张

进入vi编辑器后  命令模式输入/NMECTL 进行查找,快速定位要修改的行
在后面追加参数-lnnz11        第一个是字母l   后面两个是数字1
Linux7安装Oracle 11g 86%报错:Error in invoking target 'agent nmhs' of makefile Linux 第3张

保存退出后Retry
Linux7安装Oracle 11g 86%报错:Error in invoking target 'agent nmhs' of makefile Linux 第4张

参与评论