ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

Redhat 7安装Oracle 11.2.0.4 RAC 数据库软件中报错:Error in invoking target 'agent nmhs' of makefile

2020-03-20 16:03:34  阅读:293  来源: 互联网

标签:nmhs RAC 0.4 mk ins 报错 11.2 emagent Oracle


环境:Redhat Linux 7.6 + Oracle 11.2.0.4 RAC

现象:图像化安装数据库软件过程中的86%时,报错。

1. 具体现象

2. 定位问题

下列官方文档中有提到该问题的原因或者解决办法:

Installation walk-through - Oracle Grid/RAC 11.2.0.4 on Oracle Linux 7 (Doc ID 1951613.1)

Patch 19692824
During installation of Oracle Database or Oracle RAC on OL7, the following linking error may be encountered:

Error in invoking target 'agent nmhs' of makefile '<ORACLE_HOME>/sysman/lib/ins_emagent.mk'. See '<installation log>' for details.
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.

Installation of Oracle 11.2.0.4 Database Software on OL7 fails with 'Error in invoking target 'agent nmhs' of makefile ' & “undefined reference to symbol ‘B_DestroyKeyObject’” error (Doc ID 1965691.1)

3. 解决问题

官方文档给出的解决方法:

CAUSE
Unpublished bug 19692824
SOLUTION
01) Ignore the undefined symbol error during Oracle 11.2.0.4 installation and proceed further. The software installation will succeed without any further errors.
02) Download and install patch 19692824

还有一种较为简单有效的解决方法:

修改前备份原始文件
cd $ORACLE_HOME/sysman/lib
cp ins_emagent.mk ins_emagent.mk.bak
vi ins_emagent.mk

在makefile中添加链接libnnz11库的参数
修改$ORACLE_HOME/sysman/lib/ins_emagent.mk,找到下面这行
$(MK_EMAGENT_NMECTL)

修改为:
$(MK_EMAGENT_NMECTL) -lnnz11

在后面追加参数-lnnz11, 第一个是字母l,后面两个是数字1。 
保存退出后Retry。

标签:nmhs,RAC,0.4,mk,ins,报错,11.2,emagent,Oracle
来源: https://www.cnblogs.com/klyyk0950/p/12532291.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有