Oracle 10g on OracleLinux 5

今天在OracleLinux5 上安装Oracle 10g的时候,报了下面这个错

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-12-31_09-06-20PM. Please wait ...[oracle@10gR2 database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-12-31_09-06-20PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source)

之前同样的系统上安装11g还没有问题,比较奇怪,放狗查了一下,说是缺少  xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm 这个rpm包。

详细参考: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Oracle_10g_and_Linux_Installation_Errors_and_Troubleshooting.html

在OracleLinux5的介质里面找了一下,还没找到要的包,不过在OracleLinux4的介质里面还是找到了。
试着装了 xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm

[root@10gR2 ~]# rpm -ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm 
warning: xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm: Header V3 DSA signature: NOKEY, key ID 0c98ff9d
Preparing...                ########################################### [100%]
   1:xorg-x11-deprecated-lib########################################### [100%]


再次执行 ./runInstaller,还是报同样的错误。

尝试把 xorg-x11-libs-6.8.2-1.0.1.EL.63.i386.rpm 包再装上,终于可以了。

另外,发现/etc 目录下面有oracle-release 和 redhat-release这2个版本记录文件,但是Oracle在检查时只会检查redhat-release,在这里面把大版本改成4就可以了。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22213086/viewspace-1066110/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22213086/viewspace-1066110/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值