加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

【ORACLE】安装Oracle 11g 86%报错:Error in invoking target &

发布时间:2020-12-12 13:41:04 所属栏目:百科 来源:网络整理
导读:?参考:?ID 2299494.1 In this Document ? Symptoms ? Changes ? Cause ? Solution ? References ? APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2] Linux x86-64 SYMPTOMS When installing Oracle databa
? Symptoms ? Changes ? Cause ? Solution ? References

?

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Linux x86-64

SYMPTOMS

When installing Oracle database 11.2.0.4 software on some Linux x86-64 releases,such as SUSE12SP1,SUSE12SP2 or RHEL7

the below error is reported during link stage:

Error in invoking target ‘agent nmhs‘ of make file /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk
$ORACLE_HOME/install/make.log shows below error:

collect2: error: ld returned 1 exit status
/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:176: recipe for target ‘/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl‘ failed
make[1]: Leaving directory ‘/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib‘
/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:52: recipe for target ‘emdctl‘ failed
make[1]: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1
make: *** [emdctl] Error 2

  

?

CHANGES

?This is a new oracle 11.2.0.4 installation on Linux

CAUSE

Link error on "ins_emagent.mk".

SOLUTION

1. 备份makefile?

cp $ORACLE_HOME/sysman/lib/ins_emagent.mk??$ORACLE_HOME/sysman/lib/ins_emagent.mk.bak

?

2. 编辑makefile $ORACLE_HOME/sysman/lib/ins_emagent.mk,查找下面的行

$(MK_EMAGENT_NMECTL)

  

Then replace the line with

$(MK_EMAGENT_NMECTL) -lnnz11

  

3. 点击Retry

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

?参考:?ID 2299494.1

In this Document

    推荐文章
      热点阅读