CentOS安装Oracle错误解决

本文介绍了在CentOS 5.3环境下安装Oracle过程中遇到的三个常见错误及其解决方案:缺少libstdc++.so.5文件、emagent进程占用问题及运行进程冲突导致的安装失败。提供了详细的解决步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装环境CentOS 5.3

错误一

日志如下($ORACLE_HOME/oraInventory/logs/installActions2013-01-09_04-18-19PM.log)

INFO: gcc:

INFO: /usr/lib/libstdc++.so.5: No such file or directory

INFO:

INFO: /opt/oracle/10g/bin/genorasdksh: Failed to link liborasdkbase.so.10.2

INFO: make: *** [liborasdkbase] Error 1

INFO: End output from spawned process.

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

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/opt/oracle/10g/rdbms/lib/ins_rdbms.mk'. See '/opt/ora

cle/oraInventory/logs/installActions2009-09-17_04-18-19PM.log' for details.

Exception Severity: 1

解决办法

根据以上日志可知安装时缺少“/usr/lib/libstdc++.so.5”,此so可通过安装“compat-libstdc++-33-3.2.3-61.i386.rpm”得到解决。

也可以用yum install compat-libstdc++-33-3* 来安装解决。

 

错误二

emagent,text file busy

 

在rhel环境上升级oracle 10.2.0.1到10.2.0.4的过程中,在安装patch的时候可能会遇到如下关键字的错误信息
“$ORACLE_HOME/bin/emagent (text file busy)”的错误信息,此信息大概的意思是emagent这个进程被占用了,解决的
方法就是”找到它,干掉它”。
[root@rhel5u4test ~]# fuser /opt/u01/oracle/product/10.2.0/db_1/bin/emagent
/opt/u01/oracle/product/10.2.0/db_1/bin/emagent:  6346e
[root@rhel5u4test ~]# ps -ef|grep 6346
oracle    6346     1  0 00:40 ?        00:00:11 /opt/u01/oracle/product/10.2.0/db_1/bin/emagent
oracle   21493  6346  0 10:15 ?        00:00:00 [emagent] <defunct>
root     21596 21561  0 10:19 pts/2    00:00:00 grep 6346
[root@rhel5u4test ~]# kill -9 6346
kill掉相关的进程后,”retry”一下就过去了。

 

错误三

 

INFO: Oracle Universal Installer has detected that there are processes running in the currently selected Oracle Home. The following processes need to be shutdown before continuing:

 

Solution
IBM has released AIX patch to solve the issue:
IZ67400: FUSER GIVES INCORRECT PIDS WITH -X OPTION

Registration is required to review patch IZ67400 on IBM web site.

Also, next workaround could be used:

As root:
1) rename fuser
mv /sbin/fuser /sbin/fuser_renamed
2) touch /sbin/fuser
3) chmod +x /sbin/fuser

As oracle software owner:
1) Try to install the patchset (fuser can now return nothing, hence the Installer should continue)

After successful install, as root:
1) rename fuser back to its original name
mv /sbin/fuser_renamed /sbin/fuser

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

lizhongren

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值