RHEL5上安装Oracle10g_执行runInstaller报错

RHEL5上安装Oracle10g_执行runInstaller报错

1、执行runInstaller时,报以下错误

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<

解决办法: 加一个参数runInstaller -ignoreSysPreReqs2、runInstaller -ignoreSysPreReqs时,报的错误:

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-03-08_08-50-08PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-03-08_08-50-08PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

解决办法,要安装libXp-1.0.0-8.1.el5.i386.rpm包,这个包在rhel4/oel4中叫xorg-x11-deprecated-libs ,在rhel5/oel5中叫libXp。
执行runInstaller时,报以下错误
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<
解决办法2:
编缉以下文件
#vi /etc/redhat-release
将里面的内容改成
redhat-4