二.MOS上部分解决方法

对第一部分列出的问题,这里从MOS上摘取2个的解决方案。

2.1 Ins_net_client.Mk问题一

MOS 文章:

'Error In Invoking Target Ntcontab.o OfMakefile Ins_net_client.Mk' [ID 341621.1]

2.1.1 Symptoms

A popuperror occurs during the installation of the Oracle9i R2 Client (9.2.0.1)on Sun Solaris 5.9 (64-bit).

Popup error message:

Error in invoking target ntcontab.o of makefile ins_net_client.mk

2.1.2 Cause

Expected defaultSun Solaris installed utilities (from Sun Packages) not present in /usr/ccs/bindirectory.

Instead thefollowing utilities were symbolically linked to other provider (packaged)utilities and/or renamed in the '/usr/ccs/bin' directory:

/usr/ccs/bin/ar >> was symbolically linked to /software/binutils/bin/ar(original ar was

moved ot a new name)

/usr/ccs/bin/as >> was moved to a new name

/usr/ccs/bin/ld >> was symbolically linked to software/binutils/bin/ld(original ld was

moved ot a new name)

Investigation with System Administrator.

2.1.3 Solution

To implement the solution, please executethe following steps:

1. Request the System Administrator remove the symbolic links and restore theexpected default Sun Solaris installed utilities (at least long enough tocomplete the Oracle Client installation and relinking.

2. Once in place, run the Oracle9i R2 Client installation, or manually relinkthe Oracle Client:

--手工relink Oracle client

Run:

cd $ORACLE_HOME/network/lib

make -f ins_net_client.mk nnfgt.o

make -f ins_net_client.mk ntcontab.o

make -f ins_net_client.mk client_sharedlib

make -f ins_net_client.mk install

cd $ORACLE_HOME/sqlplus/lib

make -f ins_sqlplus.mk install

cd $ORACLE_HOME/bin

relink client

2.2 Ins_net_client.Mk问题二

MOS 文章:

Installing OracleAS on a Linux 64bit: Errorin invoking target ntcontab.o of makefile ins_net_client.mk [ID 400301.1]

2.2.1 Symptoms

While installingthe Application Server 10.1.2.0.2 on a Linux 64 bit distribution (e.g.RedHat 4.0 64bit) the following error may be raised in a pop up windowwhen the Universal Installer starts linking the binaries:

Error ininvoking target 'ntcontab.o' of makefile'/myoraclehome/network/lib/ins_net_client.mk'

The error may beraised by any installation type (Infrastructure, Metadata Repository, IdentityManagement, Midtiers).

2.2.2 Changes

Toinstall the Application Server 10.1.2.0.2 in a Linux 64bit O/S we need totailor the environment so the gcc compiler works as a 32bitcompiler.  By default the gcc compiler bundled with the Linux x86 64bitdistributions works in 64bit mode.

2.2.3 Cause

There were 2 issues preventing thecompilation:

1) The /usr/bin/gcc compiler need to bewrapped to compile in 32bit mode and pick up the crt1.o file

2) The /usr/lib/crt1.o file was missing.

2.2.4 Solution

Firstly review the advice given in:

Note:377359.1 HandlingOracle Application Server 10g Relinking Errors on Redhat and SUSE 64-bit Linux

If the advice in this note does not lead to a solution,try the work-around steps given below.

1) Create ashell script /usr/bin/gcc containing the following entries. Note the scriptwill differ depending on the gcc version. Create a different shell scriptdepending on the gccNN version:

For gcc32:

#!/bin/sh

exec /usr/bin/gcc32 -m32 -static -libgcc -B/usr/lib/ "$@"

For gcc33:

#!/bin/sh

exec /usr/bin/gcc33 -m32 -static -libgcc -B/usr/lib/ "$@"

For gcc34:

#!bin/sh

exec /usr/bin/gcc34 -m32 -static -libgcc -B/usr/lib-L/usr/lib/gcc/x86_64-redhat-linux/3.4.3/32 "$@"

2) Install the glibc-devel-2.3.4-2.25(32bit) RPM and verify you have /usr/lib/crt1.o afterwards

3) Verify libdb.so.2 is installedin the system. The file should be there if gnome-libs-1.4.1.2.90-34.1 (orlater) is installed:

rpm -qa |grep gnome-libs ==> Verifygnome-libs is there

rpm -ql gnome-libs-1.4.1.2.90-34.1| grep libdb ==> Verify libdb.so.2 isincluded in the rpm

4) Retry the failed relink and continue theinstallation.

2.3 ins_ctx.mk问题

MOS 文章:

Error in Invoking Target 'Install' of Makefile $ORACLE_HOME/ctx/lib/ins_ctx.mk [ID 362285.1]

2.3.1 Symptoms

While executingthe link phase of an Oracle Database Server installation on LINUX x86-64 thefollowing error occurs:

$ORACLE_HOME/bin/ctxhx fails to relink witherror

/usr/bin/ld: cannot find -lgcc_s_32

2.3.2 Cause

Missing required 32bit RPMs for:

libgcc

Per :

Note851598.1 Linux OS Requirements Reference List for Database Server

2.3.3 Solution

1. Check if you have the missing RPMinstalled.  For example:

rpm -qa --queryformat"%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libgcc

libgcc-4.1.2-48.el5 (x86_64)  <<<64bit version

libgcc-4.1.2-48.el5 (i386)   <<<32bit version

2. Install any missing RPM's per:

Note851598.1 Linux OS Requirements Reference List for Database Server

In this case libgcc-4.1.2-48.el5 (i386) <<<32bit version was missing.

3. Relink per

Note131321.1 How to Relink Oracle Database Software on UNIX/LINUX

for example:

% relink all > /tmp/relink.txt2>&1

4. Check relink.txt for errors

oracle link binaries,Oracle 单实例 Relink Binary Options 说明相关推荐

  1. Oracle 单实例 Relink Binary Options 说明

    一.引入问题 帮朋友在CentOS上安装一个10g的Oracle,结果朋友的CentOS版本是6.2的版本,最新的一个版本,不过Linux上基本都差不多,所以按照以前的步骤,迅速的操作起来,结果遇到N ...

  2. oracle link binaries,Oracle环境中使用NFS的mount选项

    在oracle环境中使用NFS,在mount的时候需要修改一些选项,否则可能导致各种问题,比如ORA-27086和ORA-27054错 误.不管你是将Oracle安装在NFS设备也好,是将datafi ...

  3. GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(一)

    环境 源端是一个RAC rac1 rac2: RHEL 4u7 + ORACLE 10.2.0.4 + ASM rac1 外网IP 192.168.47.241 虚拟IP 192.168.47.243 ...

  4. oracle ns,RAC到单实例SWITCHOVER

    RAC到单实例SWITCHOVER 现有RAC(12C)到单实例的物理DATAGUARD,需要SWITCHOVER主库到单实例上 ,使原来的 RAC成为备库,单实例备库成为主库. 在rac和单实例备库 ...

  5. oracle 11gr2 rac价格,调整Oracle 11gR2 RAC为单实例库

    1      应用场景 适用于Oracle RAC与应用程序不兼容的情况,需拆除为单实例: 应用案例:主机:alex1.alex2 共享存储:DATADG1(包含Disk1.Disk2....Disk ...

  6. Oracle RAC迁移到单实例(通过备份集手动恢复)

    该文章为网络资源整理,仅供个人学习笔记用途,如有侵权请联系删除! 实验环境 操作系统:centos6.8 源端:RAC11.2.0.4 (10.16.35.131/132) 目标端:Oracle 软件 ...

  7. oracle部署--安装oracle软件与部署单实例数据库

    一.安装oracle数据库软件 1.创建相应的用户组及用户 groupadd oinstall groupadd oper groupadd  dba useradd  -g oinstall -G ...

  8. Oracle 单实例 迁移到 RAC 实例 -- 使用RMAN 异机恢复

    Oracle 官网有关单实例迁移到RAC的一个步骤说明: How to Convert 10g Single-Instance database to 10g RAC using Manual Con ...

  9. Oracle单实例通过DG迁移至RAC集群(Oracle 11g 超详细文档)

    实验:Oracle单实例通过DG迁移至RAC集群(Oracle 11g 超详细文档) 步骤1:Oracle单实例搭建 1. 系统环境检查 2. 创建用户.组,配置环境变量.安装目录 3. 安装Orac ...

  10. Oracle 10g RAC RMAN备份异机单实例恢复

    本文通过将Oracle 10g RAC RMAN的完整的备份进行异机恢复的过程,可以对在恢复的过程中可以发现备份时的一些问题.比如规档日志的冗余,控制文件与参数文件的自动备份的利用等,本示例是拿了rm ...

最新文章

  1. ACM入门之【二分图】
  2. 一次性汇总了 30+ 字符串常用处理方法
  3. React的source code init时会自动检测Chrome dev tool的react extension装了没
  4. jdk自带常用命令行工具使用
  5. python 自动收集经济数据_完结】数据分析思维案例实战92 用Python自动办公,做职场高手【更新中】91.一课经济...
  6. python列表注解
  7. SpringMVC框架搭建的步骤
  8. 要掌握真正的免杀必须懂汇编---【汇编语言超浓缩教程】(转)
  9. Fushsia:一次对操作系统的重构
  10. mysql 执行时间有波动_阿里P8架构师谈mysql性能优化思路
  11. EditPlus中文绿色破解版安装
  12. 七种常用数据分析方法
  13. (软考)图示法求候选键,及快捷求候选键,和数据库模式分解的表格法,及无损连接分解的快捷判别方法
  14. Postman-APIs是干什么的?
  15. 再见2020,你好2021(2020年度总结)
  16. JavaScript基础练习题(一)
  17. Jacobi迭代法的matlab程序(《数值分析原理》)
  18. 计算机和人脑在线阅读,人脑与电脑(原文)
  19. 什么是交换机?什么是路由器?网络通信的底层原理到底是怎么回事?不清楚的程序猿快来科普下吧!
  20. probuf 流无协议文件反序列化

热门文章

  1. 【令人头秃的线段树】线段树入门题目详解(代码逐句分析)
  2. 求三角形面积(C++)
  3. java 幂函数_java的math常用方法
  4. odbc监控oracle,在zabbix下面使用ODBC 监控oracle数据库(11.2.0.3)和mysql数据库
  5. 搜索引擎提交软件_网站如何被搜索引擎快速收录?
  6. data为long 怎么设置vue_vue.js入门
  7. 手把手教你搭建FastDFS集群(下)
  8. vue+node全栈移动商城【7】路由跳转-注册页面
  9. SqlServer使用表值函数汇总
  10. C++ Primer 学习笔记_98_特殊的工具和技术 --优化内存分配