• oracle10g在rh6上安装缺少libXtst*的包导致不能出OUI


    由于测试需要,今天在linux6.0上装了下oracle10g,确实是知道oracle10g已经不支持redhat5.0以后的版本了,但是根据自己以往在redhat5.0上装oracle的经验就鲁莽下手了,之前也就没看官方的安装文档,觉得提示缺什么,咱就装什么就得了。刚执行runInstaller,就缺包,也在我的意料之中,可是后边的缺包[libawt.so: libXt.so.6]就不知道具体的包名了,挨个尝试了半天才找对包,要是oracle能够提示具体的包名该多好。在这记录下,以后方便查找。
    下边就是我安装时遇到的问题:

    [oracle@rhl6 database]$ ./runInstaller -ignoreSysPrereqs
    Starting Oracle Universal Installer...
    
    Checking installer requirements...
    
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Failed <<<< >>> Ignoring required pre-requisite failures. Continuing...
    
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-25_06-10-43PM. Please wait ...[oracle@rhl6 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    
    Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-01-25_06-10-43PM/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: /tmp/OraInstall2013-01-25_06-10-43PM/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.(Unknown Source)
            at java.awt.Component.(Unknown Source)
            at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
            at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
            at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
            at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
            at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
            at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
    Exception in thread "main" java.lang.NoClassDefFoundError
            at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
            at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
            at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
            at oracle.sysman.oii.oiif.oiifm.OiifmAlert.(OiifmAlert.java:151)
            at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
            at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

    发现缺包[libawt.so: libXt.so.6]导致,找了半天并确定缺少下边的安装包

    [root@rhl6 Packages]# yum install libXt.i686 libXtst.i686
    Loaded plugins: rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libXt.i686 0:1.0.7-1.el6 set to be updated
    --> Processing Dependency: libICE.so.6 for package: libXt-1.0.7-1.el6.i686
    --> Processing Dependency: libSM.so.6 for package: libXt-1.0.7-1.el6.i686
    ---> Package libXtst.i686 0:1.0.99.2-3.el6 set to be updated
    --> Processing Dependency: libXi.so.6 for package: libXtst-1.0.99.2-3.el6.i686
    --> Running transaction check
    ---> Package libICE.i686 0:1.0.6-1.el6 set to be updated
    ---> Package libSM.i686 0:1.1.0-7.1.el6 set to be updated
    --> Processing Dependency: libuuid.so.1 for package: libSM-1.1.0-7.1.el6.i686
    --> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.1.0-7.1.el6.i686
    ---> Package libXi.i686 0:1.3-3.el6 set to be updated
    --> Running transaction check
    ---> Package libuuid.i686 0:2.17.2-6.el6 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================================================================
     Package                     Arch                     Version                             Repository                           Size
    ====================================================================================================================================
    Installing:
     libXt                       i686                     1.0.7-1.el6                         rhel-localrepos                     168 k
     libXtst                     i686                     1.0.99.2-3.el6                      rhel-localrepos                      22 k
    Installing for dependencies:
     libICE                      i686                     1.0.6-1.el6                         rhel-localrepos                      52 k
     libSM                       i686                     1.1.0-7.1.el6                       rhel-localrepos                      26 k
     libXi                       i686                     1.3-3.el6                           rhel-localrepos                      32 k
     libuuid                     i686                     2.17.2-6.el6                        rhel-localrepos                      62 k
    
    Transaction Summary
    ====================================================================================================================================
    Install       6 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 362 k
    Installed size: 653 k
    Is this ok [y/N]: y
    Downloading Packages:
    ------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                               3.2 MB/s | 362 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : libICE-1.0.6-1.el6.i686                                                                                      1/6 
      Installing     : libuuid-2.17.2-6.el6.i686                                                                                    2/6Installing: libSM-1.1.0-7.1.el6.i686                                                                                     3/6Installing: libXi-1.3-3.el6.i6864/6Installing: libXtst-1.0.99.2-3.el6.i6865/6Installing: libXt-1.0.7-1.el6.i6866/6Installed:
      libXt.i686 0:1.0.7-1.el6                                       libXtst.i686 0:1.0.99.2-3.el6DependencyInstalled:
      libICE.i686 0:1.0.6-1.el6       libSM.i686 0:1.1.0-7.1.el6       libXi.i686 0:1.3-3.el6       libuuid.i686 0:2.17.2-6.el6Complete!

    继续安装

    [oracle@rhl6 database]$ ./runInstaller -ignoreSysPrereqs
    Starting Oracle Universal Installer...
    
    Checking installer requirements...
    
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Failed <<<< >>> Ignoring required pre-requisite failures. Continuing...
    
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-25_06-12-06PM. Please wait ...[oracle@rhl6 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.

    本文转自:http://www.yallonking.com/?p=668
  • 相关阅读:
    批处理操作
    注册表操作
    js 表格操作(兼容模式
    asp解码.net传参
    windows+nginx 查看并发链接数
    windows+nginx负载测试
    开发cocos2dx真机插件遇到问题,以及心得
    react路由
    Redux实现原理解析及应用
    test
  • 原文地址:https://www.cnblogs.com/datalife/p/4741502.html
Copyright © 2020-2023  润新知