如题所示的错误是由于操作系统准备阶段的软件包不全导致的,具体的报错如下:

[grid@ora10grac1 clusterware]$ ./runInstaller 
********************************************************************************

Please run the script rootpre.sh as root on all machines/nodes. The script can be found at the toplevel of the CD or stage-area. Once you have run the script, please type Y to proceed

Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle Clusterware installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.

********************************************************************************

Has 'rootpre.sh' been run by root? [y/n] (n)
y

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
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-24_12-27-41AM. Please wait ...[grid@ora10grac1 clusterware]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2015-04-24_12-27-41AM/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/OraInstall2015-04-24_12-27-41AM/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.<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: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.<init>(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.<clinit>(OiifmAlert.java:151)
        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

[grid@ora10grac1 clusterware]$ 

解法如下:
yum install -y libXp.i686 libXp.x86_64 libXp-devel.i686 libXp-devel.x86_64 libXpm.i686 libXpm-devel.i686 libXpm-devel.x86_64 libXpm.x86_64

[root@ora10grac1 ~]# yum install -y libXp.i686 libXp.x86_64 libXp-devel.i686 libXp-devel.x86_64 libXpm.i686 libXpm-devel.i686 libXpm-devel.x86_64 libXpm.x86_64
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package libXpm-3.5.10-2.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libXp.i686 0:1.0.0-15.1.el6 will be installed
---> Package libXp.x86_64 0:1.0.0-15.1.el6 will be installed
---> Package libXp-devel.i686 0:1.0.0-15.1.el6 will be installed
--> Processing Dependency: pkgconfig(xext) for package: libXp-devel-1.0.0-15.1.el6.i686
--> Processing Dependency: pkgconfig(xau) for package: libXp-devel-1.0.0-15.1.el6.i686
--> Processing Dependency: pkgconfig(x11) for package: libXp-devel-1.0.0-15.1.el6.i686
--> Processing Dependency: libXau-devel for package: libXp-devel-1.0.0-15.1.el6.i686
---> Package libXp-devel.x86_64 0:1.0.0-15.1.el6 will be installed
---> Package libXpm.i686 0:3.5.10-2.el6 will be installed
---> Package libXpm-devel.i686 0:3.5.10-2.el6 will be installed
--> Processing Dependency: libXt.so.6 for package: libXpm-devel-3.5.10-2.el6.i686
---> Package libXpm-devel.x86_64 0:3.5.10-2.el6 will be installed
--> Running transaction check
---> Package libX11-devel.x86_64 0:1.5.0-4.el6 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.5.0-4.el6.x86_64
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.5.0-4.el6.x86_64
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.5.0-4.el6.x86_64
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.5.0-4.el6.x86_64
---> Package libXau-devel.x86_64 0:1.0.6-4.el6 will be installed
---> Package libXext-devel.x86_64 0:1.3.1-2.el6 will be installed
---> Package libXt.i686 0:1.1.3-1.el6 will be installed
--> Processing Dependency: libSM.so.6 for package: libXt-1.1.3-1.el6.i686
--> Processing Dependency: libICE.so.6 for package: libXt-1.1.3-1.el6.i686
--> Running transaction check
---> Package libICE.i686 0:1.0.6-1.el6 will be installed
---> Package libSM.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.2.1-2.el6.i686
--> Processing Dependency: libuuid.so.1 for package: libSM-1.2.1-2.el6.i686
---> Package libxcb-devel.x86_64 0:1.8.1-1.el6 will be installed
---> Package xorg-x11-proto-devel.noarch 0:7.6-25.el6 will be installed
--> Running transaction check
---> Package libuuid.i686 0:2.17.2-12.14.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================
 Package                            Arch                 Version                           Repository         Size
===================================================================================================================
Installing:
 libXp                              i686                 1.0.0-15.1.el6                    ISO                22 k
 libXp                              x86_64               1.0.0-15.1.el6                    ISO                23 k
 libXp-devel                        i686                 1.0.0-15.1.el6                    ISO                17 k
 libXp-devel                        x86_64               1.0.0-15.1.el6                    ISO                17 k
 libXpm                             i686                 3.5.10-2.el6                      ISO                50 k
 libXpm-devel                       i686                 3.5.10-2.el6                      ISO                33 k
 libXpm-devel                       x86_64               3.5.10-2.el6                      ISO                33 k
Installing for dependencies:
 libICE                             i686                 1.0.6-1.el6                       ISO                52 k
 libSM                              i686                 1.2.1-2.el6                       ISO                36 k
 libX11-devel                       x86_64               1.5.0-4.el6                       ISO               1.0 M
 libXau-devel                       x86_64               1.0.6-4.el6                       ISO                14 k
 libXext-devel                      x86_64               1.3.1-2.el6                       ISO                74 k
 libXt                              i686                 1.1.3-1.el6                       ISO               179 k
 libuuid                            i686                 2.17.2-12.14.el6                  ISO                68 k
 libxcb-devel                       x86_64               1.8.1-1.el6                       ISO               174 k
 xorg-x11-proto-devel               noarch               7.6-25.el6                        ISO               274 k

Transaction Summary
===================================================================================================================
Install      16 Package(s)

Total download size: 2.0 M
Installed size: 6.3 M
Downloading Packages:
-------------------------------------------------------------------------------------------------------------------
Total                                                                              418 kB/s | 2.0 MB     00:05     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : xorg-x11-proto-devel-7.6-25.el6.noarch                                                         1/16 
  Installing : libXau-devel-1.0.6-4.el6.x86_64                                                                2/16 
  Installing : libXp-1.0.0-15.1.el6.x86_64                                                                    3/16 
  Installing : libXpm-3.5.10-2.el6.i686                                                                       4/16 
  Installing : libICE-1.0.6-1.el6.i686                                                                        5/16 
  Installing : libxcb-devel-1.8.1-1.el6.x86_64                                                                6/16 
  Installing : libX11-devel-1.5.0-4.el6.x86_64                                                                7/16 
  Installing : libXext-devel-1.3.1-2.el6.x86_64                                                               8/16 
  Installing : libXp-devel-1.0.0-15.1.el6.x86_64                                                              9/16 
  Installing : libuuid-2.17.2-12.14.el6.i686                                                                 10/16 
  Installing : libSM-1.2.1-2.el6.i686                                                                        11/16 
  Installing : libXt-1.1.3-1.el6.i686                                                                        12/16 
  Installing : libXp-1.0.0-15.1.el6.i686                                                                     13/16 
  Installing : libXp-devel-1.0.0-15.1.el6.i686                                                               14/16 
  Installing : libXpm-devel-3.5.10-2.el6.x86_64                                                              15/16 
  Installing : libXpm-devel-3.5.10-2.el6.i686                                                                16/16 
  Verifying  : libICE-1.0.6-1.el6.i686                                                                        1/16 
  Verifying  : libXpm-devel-3.5.10-2.el6.x86_64                                                               2/16 
  Verifying  : libXp-1.0.0-15.1.el6.i686                                                                      3/16 
  Verifying  : libXp-1.0.0-15.1.el6.x86_64                                                                    4/16 
  Verifying  : libXau-devel-1.0.6-4.el6.x86_64                                                                5/16 
  Verifying  : libXt-1.1.3-1.el6.i686                                                                         6/16 
  Verifying  : libSM-1.2.1-2.el6.i686                                                                         7/16 
  Verifying  : xorg-x11-proto-devel-7.6-25.el6.noarch                                                         8/16 
  Verifying  : libXp-devel-1.0.0-15.1.el6.x86_64                                                              9/16 
  Verifying  : libxcb-devel-1.8.1-1.el6.x86_64                                                               10/16 
  Verifying  : libXext-devel-1.3.1-2.el6.x86_64                                                              11/16 
  Verifying  : libXpm-devel-3.5.10-2.el6.i686                                                                12/16 
  Verifying  : libXp-devel-1.0.0-15.1.el6.i686                                                               13/16 
  Verifying  : libuuid-2.17.2-12.14.el6.i686                                                                 14/16 
  Verifying  : libXpm-3.5.10-2.el6.i686                                                                      15/16 
  Verifying  : libX11-devel-1.5.0-4.el6.x86_64                                                               16/16 

Installed:
  libXp.i686 0:1.0.0-15.1.el6             libXp.x86_64 0:1.0.0-15.1.el6     libXp-devel.i686 0:1.0.0-15.1.el6    
  libXp-devel.x86_64 0:1.0.0-15.1.el6     libXpm.i686 0:3.5.10-2.el6        libXpm-devel.i686 0:3.5.10-2.el6     
  libXpm-devel.x86_64 0:3.5.10-2.el6     

Dependency Installed:
  libICE.i686 0:1.0.6-1.el6          libSM.i686 0:1.2.1-2.el6            libX11-devel.x86_64 0:1.5.0-4.el6        
  libXau-devel.x86_64 0:1.0.6-4.el6  libXext-devel.x86_64 0:1.3.1-2.el6  libXt.i686 0:1.1.3-1.el6                 
  libuuid.i686 0:2.17.2-12.14.el6    libxcb-devel.x86_64 0:1.8.1-1.el6   xorg-x11-proto-devel.noarch 0:7.6-25.el6 

Complete!
[root@ora10grac1 ~]# 

————————————————————————————————————
Done。

说点什么

avatar

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

  Subscribe  
提醒