安装环境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