服务器:centos 5.6 Linux mycos-s 2.6.18-238.el5 #1 SMP Thu Jan 13 16:24:47 EST 2011 i686 i686 i386 GNU/Linux
数据库:10.2.0.1 32bit
安装出现乱码内功如下:
[oracle@mycos-s ~]$ /guazai/runInstaller -ignoreSysPreReqs
正在启动 Oracle Universal Installer...
正在检查安装程序要求...
检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
未通过 <<<<
>>> 忽略未通过的必需先决条件。继续...
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2012-03-27_04-13-31PM. 请稍候...[oracle@mycos-s ~]$ Oracle Universal Installer, 版本 10.2.0.1.0 正式版
版权所有 (c) 1999, 2005, Oracle。保留所有权利。
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-03-27_04-13-31PM/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/OraInstall2012-03-27_04-13-31PM/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)
此问题提示:Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-03-27_04-13-31PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
第一印象:缺少libXp包,或是版本不对。然后在镜像中寻找到了。
[oracle@mycos-s CentOS]$ ls -l | grep libXp
-rw-r--r-- 2 500 500 23102 2007-11-21 libXp-1.0.0-8.1.el5.i386.rpm
-rw-r--r-- 2 500 500 15174 2007-11-21 libXp-devel-1.0.0-8.1.el5.i386.rpm
-rw-r--r-- 2 500 500 46500 2007-11-19 libXpm-3.5.5-3.i386.rpm
-rw-r--r-- 2 500 500 31336 2007-11-19 libXpm-devel-3.5.5-3.i386.rpm
rpm -ivhlibXp-1.0.0-8.1.el5.i386.rpm(安装了这个包)
然后尝试安装:如果版本不通过,你可以跳过版本。命令如下:
/guazai/runInstaller -ignoreSysPreReqs
总结:实施和管理过程,往往错误提示很重要。希望大家关注错误提示,不要被英文吓怕,中文这么难你都会了,难道你会怕英文么。