oracle安装包安装失败,由于gcc软件包没有安装导致的Oracle安装失败

在Linux上安装Oracle 10g,安装前进行系统环境检查的时候,出现一个告警一个失败,此时下面的Next按钮还能继续点下去,按照以往的经验,忽视之,一路Next点下去,然后在安装软件完成后进行Link Pending时,开始出现报错,错误如下:

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'ntcontab.o' of makefile '/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'. See '/u01/app/oracle/product/10.2.0/db_1/oraInventory/logs/installActions2012-03-12_08-44-05PM.log' for details.

Exception Severity: 1

INFO: Exception handling set to prompt user with options to Retry Ignore

User Choice: Ignore

INFO: Calling Action unixActions10.2.0.1.0 make

installMakePath = /usr/bin/make

installMakeFileName = /u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk

installTarget = nnfgt.o

installArguments = ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1,

undoMakeFileName = null

undoTarget = null

undoArguments = null

logFile = /u01/app/oracle/product/10.2.0/db_1/install/make.log

progMsg = Linking nnfgt

INFO: The output of this make operation is also available at: '/u01/app/oracle/product/10.2.0/db_1/install/make.log'

INFO:

INFO: Start output from spawned process:

INFO: ----------------------------------

INFO:

INFO: rm -f nnfgt.*

......

之后一路ignore或continue点下去之后,数据库软件不能用,在dbca建库的时候,会抛出下面的一个Exception

[oracle:/u01/app/oracle/product/10.2.0/db_1/bin#]./dbca

UnsatisfiedLinkError exception loading native library: njni10

Exception in thread "main" java.lang.UnsatisfiedLinkError: get

at oracle.net.common.NetGetEnv.get(Native Method)

at oracle.net.config.Config.getNetDir(Unknown Source)

at oracle.net.config.Config.initConfig(Unknown Source)

at oracle.net.config.Config.(Unknown Source)

at oracle.sysman.assistants.util.NetworkUtils.(NetworkUtils.java:222)

at oracle.sysman.assistants.util.step.StepContext.(StepContext.java:255)

at oracle.sysman.assistants.dbca.backend.Host.(Host.java:682)

at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:205)

at oracle.sysman.assistants.dbca.ui.InteractiveHost.(InteractiveHost.java:54)

at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)

at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)

at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)

于是只好检查数据库的安装日志,发现在前面环境监察的时候,有这样的一个错误:

INFO: --------------------------------------------------------------------------------

INFO: Checking Packages

This is a prerequisite condition to test whether the packages required for installing the product are available on the system.

INFO: Checking for make-3.79; found make-1:3.80-7.EL4. Passed

Checking for binutils-2.14; found binutils-2.15.92.0.2-25. Passed

Checking for gcc-3.2; found Not found. Failed <<<<

Checking for libaio-0.3.96; found libaio-0.3.105-2. Passed

Check complete. The overall result of this check is: Failed <<<<

再试用rpm -qa |grep gcc发现果然没有安装gcc软件包

安装gcc软件包之后,将原来安装的文件删掉重新安装数据库之后,一切顺利.

所以,以后在安装数据库的时候,一定要关注数据库的安装日志[@more@]

linux centos 安装oracle过程中所有缺少的rpm包 i386: compat-libstdc++-33-3.2.3-61.i386 elfutils-libelf-devel-0.137-3.el5.i386 elfutils-libelf-devel-static-0.137-3.el5.i386 gcc-4.1.2-46.el5.i386 gcc-c++-4.1.2-46.el5.i386 glibc-devel-2.5-42.i386 glibc-headers-2.5-42.i386 kernel-headers-2.6.18-164.el5.i386 libaio-0.3.105-2.i386 libaio-devel-0.3.106-3.2.i386 libgcc-3.4.6-3.i386 libgomp-4.4.0-6.el5.i386 libstdc++-3.4.6-11.i386 libstdc++-devel-4.1.2-46.el5.i386 pdksh-5.2.14-1.i386 sysstat-7.0.2-3.el5.i386 unixODBC-2.2.11-7.1.i386 unixODBC-devel-2.2.11-7.1.i386 i686: binutils-devel-2.20.51.0.2-5.36.el6.i686 compat-libstdc++-33-3.2.3-69.el6.i686 elfutils-libelf-devel-0.152-1.el6.i686 glibc-2.12-1.25.el6.i686 glibc-devel-2.12-1.25.el6.i686 libaio-0.3.107-10.el6.i686 libaio-devel-0.3.107-10.el6.i686 libgcc-4.4.5-6.el6.i686 libstdc++-4.4.5-6.el6.i686 libstdc++-4.4.4-13.el6.i686 libstdc++-devel-4.4.4-13.el6.i686 libstdc++-docs-4.4.7-3.el6.i686 unixODBC-2.2.14-12.el6_3.i686 unixODBC-devel-2.2.14-12.el6_3.i686 zlib-1.2.3-29.el6.i686 zlib-devel-1.2.3-29.el6.i686 x86_64: binutils-2.20.51.0.2-5.20.el6.x86_64 binutils-2.20.51.0.2-5.36.el6.x86_64 binutils-devel-2.20.51.0.2-5.36.el6.x86_64 compat-libcap1-1.10-1.x86_64 compat-libstdc++-33-3.2.3-69.el6.x86_64 elfutils-libelf-devel-0.152-1.el6.x86_64 elfutils-libelf-devel-0.163-3.el7.x86_64 gcc-c++-4.4.5-6.el6.x86_64 glibc-2.12-1.25.el6.x86_64 glibc-2.17-105.el7.x86_64 glibc-devel-2.12-1.25.el6.x86_64 ksh-20100621-6.el6.x86_64 libaio-0.3.105-2.x86_64 libaio-0.3.107-10.el6.x86_64 libaio-0.3.109-13.el7.x86_64 libaio-devel-0.3.105-2.x86_64 libaio-devel-0.3.106-5.x86_64 libaio-devel-0.3.107-10.el6.x86_64 libaio-devel-0.3.109-13.el7.x86_64 libgcc-4.4.5-6.el6.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.4.5-6.el6.x86_64 libstdc++-4.8.5-4.el7.x86_64 libstdc++-devel-4.4.5-6.el6.x86_64 make-3.81-19.el6.x86_64 pdksh-5.2.14-30.x86_64 pdksh-5.2.14-36.el5.x86_64 sysstat-9.0.4-18.el6.x86_64 unixODBC-2.2.11-7.1.x86_64 unixODBC-2.2.14-12.el6_3.x86_64 unixODBC-2.3.1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值