当前位置:Gxlcms > 数据库问题 > Linux7安装Oracle 11g 86%报错:Error in invoking target 'agent nmhs' of makefile

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

时间:2021-07-01 10:21:17 帮助过:3人阅读

OS:Oracle Linux 7.2 64bit
DB:Oracle 11.2.0.3
%86时出现报错   Error in invoking target ‘agent nmhs‘ of makefile
技术图片

解决方案
在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
技术图片

进入vi编辑器后  命令模式输入/NMECTL 进行查找,快速定位要修改的行
在后面追加参数-lnnz11        第一个是字母l   后面两个是数字1
技术图片


保存退出后Retry
技术图片

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

标签:快速定位   退出   备份   nbsp   magent   server   参数   acl   strong   

人气教程排行