问题:

[oracle@localhost database]$ ./runInstaller 
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/OraInstall2013-05-22_10-09-59PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-05-22_10-09-59PM/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)

[oracle@localhost database]$ ./runInstaller 

 

解决:
步骤1

[root@localhost db]# yum whatprovides libXp.so.6
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
libXp-1.0.0-8.1.el5.i386 : X.Org X11 libXp runtime library
Repo        : server
Matched from:
Other       : libXp.so.6

 

libXp-1.0.0-8.1.el5.i386 : X.Org X11 libXp runtime library
Repo        : installed
Matched from:
Other       : Provides-match: libXp.so.6

[root@localhost db]# yum list libXp-1.0.0-8.1.el5.i386
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
libXp.i386                                1.0.0-8.1.el5                                 installed
[root@localhost db]# yum install -y  libXp-1.0.0-8.1.el5.i386
[root@localhost db]# yum install -y xorg-x11*

解决了libXp.so.6的问题

产生了第二个问题:

[oracle@localhost database]$ ./runInstaller 
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/OraInstall2013-05-22_10-25-04PM. Please wait ...[oracle@localhost database]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.awt.Window.init(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)

[oracle@localhost database]$ exit

 

解决方法2:

[oracle@localhost database]$ exit

[root@localhost db]# xhost local:oracle non-network local connections being added to access control list
non-network local connections being added to access control list
xhost:  bad hostname "non-network"
xhost:  bad hostname "local"
xhost:  bad hostname "connections"
xhost:  bad hostname "being"
xhost:  bad hostname "added"
xhost:  bad hostname "to"
xhost:  bad hostname "access"
xhost:  bad hostname "control"
xhost:  bad hostname "list"
[root@localhost db]# su - oracle

230036935.jpg