安裝clusterware時候遇到版本不相容錯誤

myownstars發表於2011-07-12

安裝遇到版本不相容錯誤,os版本為redhat 5

bash-3.2$ ./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

                                      Failed <<<<

 

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2011-06-10_03-57-03PM/installActions2011-06-10_03-57-03PM.log

新增引數忽略此錯誤

bash-3.2$ ./runInstaller -IgnoreSysPreReqs

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

 

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

                                      Failed <<<<

 

 

>>> Ignoring required pre-requisite failures. Continuing...

 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-06-10_03-59-26PM. Please wait ...bash-3.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

 

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-06-10_03-59-26PM/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/OraInstall2011-06-10_03-59-26PM/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)

        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)

google搜尋一把,是缺少安裝包所致

[root@rac1 data]# yum install xorg-x11-deprecated-libs解決

bash-3.2$ ./runInstaller -IgnoreSysPreReqs

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

 

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

                                      Failed <<<<

 

>>> Ignoring required pre-requisite failures. Continuing...

 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-06-10_04-03-43PM. Please wait ...bash-3.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

 

X connection to localhost:10.0 broken (explicit kill or server shutdown).

又遇到麻煩,解決方法如下:

解決方案: export DISPLAY=*.*.*.*:0.0—IP為本地IP

可順利安裝

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15480802/viewspace-701941/,如需轉載,請註明出處,否則將追究法律責任。

相關文章