免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5542 | 回复: 2
打印 上一主题 下一主题

[求助] oracle 10g补丁升级运行不了..请教一下 [复制链接]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-10-12 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-02-26 14:18 |只看该作者 |倒序浏览
本帖最后由 yangjustins 于 2014-02-26 14:23 编辑

在虚拟机上安装了10.2.0.1  接着准备升级下..升级到10.2.0.4版本..在安装的时候报错了..

[oracle@localhost Disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

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


All installer requirements met.

Preparing to launch Oracle Universal Installer from /oracle/tmp/OraInstall2014-02-26_11-22-19AM. Please wait ...[oracle@localhost Disk1]$ Oracle Universal Installer, Version 10.2.0.4.0 Production
Copyright (C) 1999, 2008, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /oracle/tmp/OraInstall2014-02-26_11-22-19AM/jre/1.4.2/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /oracle/tmp/OraInstall2014-02-26_11-22-19AM/jre/1.4.2/lib/i386/libawt.so: libXt.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.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)
        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:194)
        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:203)
        at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:463)
        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:959)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:899)
Exception in thread "main" java.lang.NoClassDefFoundError
        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:194)
        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:203)
        at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:1017)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:899)



刚开始看到这个错误...就觉得纳闷..因为我是已经安装好了10g后在打补丁的...如果libXp这个包不存在..那为什么10g可以正常安装????
但抱着严谨的态度还是在检查了一遍..确实是已经安装了...

[root@localhost ~]# locate libXp.so.6
/oracle/product/10.2.1/lib/stubs/libXp.so.6
/usr/lib/libXp.so.6
/usr/lib/libXp.so.6.2.0
/usr/lib64/libXp.so.6
/usr/lib64/libXp.so.6.2.0

然后又google了一下...说是还要安装i386的
我就载了i386的包装..结果装不上....


[root@localhost ~]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing...                ########################################### [100%]
        package libXp-1.0.0-15.1.el6.x86_64 (which is newer than libXp-1.0.0-8.1.el5.i386) is already installed
        package libXp-1.0.0-15.1.el6.i686 (which is newer than libXp-1.0.0-8.1.el5.i386) is already installed
        file /usr/share/doc/libXp-1.0.0/AUTHORS from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
        file /usr/share/doc/libXp-1.0.0/COPYING from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
        file /usr/share/doc/libXp-1.0.0/ChangeLog from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
        file /usr/share/doc/libXp-1.0.0/INSTALL from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.x86_64
        file /usr/lib/libXp.so.6.2.0 from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.i686
        file /usr/share/doc/libXp-1.0.0/AUTHORS from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.i686
        file /usr/share/doc/libXp-1.0.0/COPYING from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.i686
        file /usr/share/doc/libXp-1.0.0/ChangeLog from install of libXp-1.0.0-8.1.el5.i386 conflicts with file from package libXp-1.0.0-15.1.el6.i686

[root@localhost ~]# rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
warning: libXp-devel-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
        libXp = 1.0.0-8.1.el5 is needed by libXp-devel-1.0.0-8.1.el5.i386



所以请教下:
1.为什么64未的还需要安装i386?
2.如何安装i386的?

论坛徽章:
0
2 [报告]
发表于 2014-02-26 15:35 |只看该作者
你在安装oracle之前最好确定你的操作系统跟oracle版本的匹配性,支持oracle安装的类库在你安装操作系统的时候需要弄明白,你在升级的时候需要选择home为你已经安装的oracle10.2.0.1的目录,这一点很重要,千万别弄错!!!

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
3 [报告]
发表于 2014-02-27 11:15 |只看该作者
64bit 需要安装几个32bit的包,至于是哪个几个,查看官方文档安装部分,在安装数据库之前有关安装哪些包,有列表的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP