首页 > 数据库 > Oracle > CentOS7 安装11g R2 软件报错
OS: CentOS Linux release 7.3
DB:Oracle 11.2.0.4
%86时出现报错 Error in invoking target 'agent nmhs' of makefile

If this error is encountered, the user should select
Continue. Then, after the installation has completed, the user must download Patch 19692824 from My Oracle Support and apply it per the instructions included in the patch README.
官方的解释说是先继续安装,然后再打补丁,这个bug19692824是在创建数据库的时候引发的。如果你在安装数据库软件的时候就报错,建议使用下面的解决方法。
在makefile中添加链接libnnz11库的参数
修改
$ORACLE_HOME/sysman/lib/ins_emagent.mk,找到下面这行
$(MK_EMAGENT_NMECTL)
修改为(首字母是小写L,后面两位是数字1):
$(MK_EMAGENT_NMECTL) -lnnz11
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31519308/viewspace-2713006/ ,如需转载,请注明出处,否则将追究法律责任。