Error in invoking target ntcontab.o During CRS installation [ID 443675.1]

Error in invoking target ntcontab.o During CRS installation [ID 443675.1]


 

Modified 01-AUG-2008     Type PROBLEM     Status PUBLISHED

 

In this Document
  Symptoms
  Changes
  Cause
  Solution


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1
Linux x86-64

Symptoms

When installing CRS using runInstaller, get an error when doing "linking oracle net required
support files 10.2.0.1":

error in invoking target 'ntcontab.o' of makefile
'/u01/app/oracle/product/10.2.0/crs/network/lib/ins_net_client.mk'.

make.log shows:

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=
/u01/app/oracle/product/10.2.0/crs//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/u01/app/oracle/product/10.2.0/crs/rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then /
   /u01/app/oracle/product/10.2.0/crs/bin/gennttab > ntcontab.c ;/
   gcc -c ntcontab.c ;/
   rm -f /u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o ;/
   mv ntcontab.o /u01/app/oracle/product/10.2.0/crs/lib/ ;/
       /usr/bin/ar rv /u01/app/oracle/product/10.2.0/crs/lib/libn10.a
/u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o ; fi)
ntcontab.c:7:23: sys/types.h: No such file or directory
mv: cannot stat `ntcontab.o': No such file or directory
/usr/bin/ar: /u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o: No such file or directory
make: *** [ntcontab.o] Error 1

Changes

New installation.

Cause

The output of the link command shows that the compiler is looking for sys/types.h.
Package glibc-headers-* is not installed which cause header file (/usr/include/sys/types.h) missing on the system.

Solution

Install the missing package glibc-headers-* (ie, glibc-headers-2.3.4-2.13).

Reinstall CRS (recommended) after clean up existing installation per
Note 239998.1 10g RAC: How to Clean Up After a Failed CRS Install
or
Execute commands in $ORA_CRS_HOME/install/make.log manually for client relink.


 

 

 

 

 

 

------------------------------------------------------------------------------

QQ:492913789

Email:ahdba@qq.com

Blog: http://www.cndba.cn/dave 


网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977()

DBA3 群:62697850   DBA 超级群:63306533;    

聊天 群:40132017

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

 

在处理 Oracle 安装或配置过程中,出现 `error in invoking target 'libasmclntsh19.ohso fix'` 的错误通常与系统环境、依赖库或权限相关。以下是一些可能的原因和解决方法: ### 原因分析 1. **缺少依赖库** 系统中可能存在缺失的共享库(如 `libpthread`, `libaio`, `libnsl` 等),导致无法正确加载 `libasmclntsh19.ohso`。 2. **Oracle 安装介质损坏或不完整** 如果安装包文件损坏或者未完全解压,可能导致目标文件 `libasmclntsh19.ohso` 不存在或不可用。 3. **权限问题** 执行安装脚本或链接操作时,用户可能没有足够的权限访问某些目录或执行特定命令。 4. **环境变量配置不当** `LD_LIBRARY_PATH` 或 `ORACLE_HOME` 等关键环境变量未正确设置,导致系统无法定位到正确的库路径。 5. **操作系统版本不兼容** 某些 Oracle文件对操作系统版本有严格要求,若使用了不支持的操作系统版本,可能会引发此类错误。 --- ### 解决方案 - **检查依赖库** 使用 `ldd libasmclntsh19.ohso` 查看该文件的依赖关系,并确保所有依赖库都已正确安装。 ```bash ldd $ORACLE_HOME/lib/libasmclntsh19.ohso ``` - **重新解压安装包** 确保安装介质完整无损,尝试重新解压 Oracle 安装包并重新运行安装程序。 - **调整权限** 确保当前用户对 `$ORACLE_HOME` 及其子目录具有读写权限。 ```bash chown -R oracle:oinstall /u01/app/oracle/product/19.0.0/dbhome_1 chmod -R 775 /u01/app/oracle/product/19.0.0/dbhome_1 ``` - **配置环境变量** 在 `.bash_profile` 或 `/etc/profile` 中添加以下内容: ```bash export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export PATH=$ORACLE_HOME/bin:$PATH ``` 然后执行: ```bash source ~/.bash_profile ``` - **确认操作系统兼容性** 确认所使用的 Linux 发行版和内核版本是否在 Oracle 19c 支持列表中。例如,Oracle 19c 官方推荐使用 Oracle Linux 7 或 Red Hat Enterprise Linux 7 及以上版本。 --- ### 额外建议 - 运行 `relink` 命令以重建 Oracle文件: ```bash cd $ORACLE_HOME/bin ./relink all ``` - 检查日志文件,例如 `$ORACLE_HOME/cfgtoollogs/oraInstRoot.sh` 或 `$ORACLE_HOME/install/make.log`,获取更详细的错误信息。 - 若问题依旧存在,可尝试升级 Oracle 软件补丁或联系 Oracle 支持团队获取进一步帮助。 ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值