zoukankan      html  css  js  c++  java
  • Redhat 7安装Oracle 11.2.0.4 RAC 数据库软件中报错:Error in invoking target 'agent nmhs' of makefile

    环境: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
    我报路长嗟日暮,学诗谩有惊人句。 九万里风鹏正举。风休住,蓬舟吹取三山去!
  • 相关阅读:
    嵌入式和就业(转)
    [转] 电子技术·笔记1(9月份)
    ERP系统
    Win7 启动修复
    A1pass大大对黑客学习的建议
    你凭什么能过上你想要的生活?
    Hacker需要掌握的基础
    Hacker学习发展流程图
    硬盘SMART参数解释
    u盘的一些理解
  • 原文地址:https://www.cnblogs.com/klyyk0950/p/12532291.html
Copyright © 2011-2022 走看看