CentOS安装Oracle错误解决
2013-01-09 23:42
579 查看
安装环境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
错误一
日志如下($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
相关文章推荐
- centos安装oracle10及重启后的tns错误解决
- oracle 10.2.0.1 CentOS X64平台安装错误解决
- 安装Oracle 11.2.0.2.0 for RedHat5.4_32bit碰到的一些错误--分析并解决
- Oracle 11g安装过程中错误解决
- Oracle OLE DB驱动无法安装,注册出现错误,解决方法!
- 关于Oracle安装完成后,登录时遇到的错误的解决办法
- Oracle Aix下安装实例DISPLAY not set.错误解决 dbca
- 安装Oracle时出现加载areaqueries数据库失败的错误的解决办法
- oracle 安装过程常见的几个错误与解决方法
- 最小化安装CentOS 6.4 解决 -bash: locate: command not found 错误
- 检查和安装OracleJVM ,解决“ORA-29538: Java 未安装”错误
- CentOS安装scp命令及出现错误解决
- Oracle安装中ORA-28547错误的解决之道
- AIX安装oracle 11g R1报java错误和OPatch failed with error code 160错误解决
- VirtualBox 在CentOS下安装增强功能及错误解决
- 安装Oracle 11.2.0.2.0 for RedHat5.4_32bit碰到的一些错误--分析并解决
- centos 系统 安装 drm:radeon_acpi_init Cannot find a backlight controller 错误解决方法
- oracle安装时出现"加载数据库错误areasQueries"错误的解决办法
- 解决 CentOS 7.0 在VMware 10下安装 WMware Tools错误的问题
- oracle安装过程中遇到的一些错误解决方法