之前在Houston的四、五台HP PC server上装过64位Oracle10g(RAC,clusterware是11g,OS是RedHat AS 5.3),但是这次在5.4上装,问题有好几个:
问题一:
xmanager 2.1的xstart配置后连不上去,提示某个目录下xterm不存在,后改为xmanager3.0 并选择 3 xterm (Linux:Type 2)就可以连接上去,选择它时,执行的命令是:/usr/bin/xterm -ls -display $DISPLAY ,我把$DISPLAY改为我的IP:10.139.14.196:0.0,这样登入后无需再执行export DISPLAY=10.139.14.196:0.0,直接就可以出来图形界面。其实在xmanager2.1的登入后执行的命令处输入,上面那一行命令也是可以连接上去的。所以xmanger的版本不是问题。
问题二:执行runInstall后,总是不出来oracle的安装界面,报如下错误:
$ ./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/OraInstall2010-02-02_09-23-11AM. Please wait ...[oracle@ea3qadb database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-02-02_09-23-11AM/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/OraInstall2010-02-02_09-23-11AM/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.
at java.awt.Component.
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.
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)
但此时改装11g则会出现安装界面。当时以为安装文件坏掉了(以前出过类似问题),重新下载的也不行,profile文件配置也没问题。最后用判断应该是包没装完全,用yum whatprovides libXp.so.6命令查出在包xorg-x11-deprecated-libs中,用rpm装提示和其它包有依赖关系,装不上,于是用yum装:# yum install xorg-x11-deprecated-libs,完了,重新执行安装界面出来了。
问题三:继续安装又出错了
INFO: /home/oracle/product/10gR2/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: make: *** [liborasdkbase] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl' of makefile '/home/oracle/product/10gR2/rdbms/lib/ins_rdbms.mk'. See '/home/oracle/oraInventory/logs/installActions2010-02-02_10-43-52AM.log' for details.
Exception Severity: 1
同样是漏了个包未安装,yum装上即可:yum install compat-libstdc*
问题四:dbca执行过程中又报错:ORA-07202:sltln: invalid parameter to sltln
我重启了一次电脑,然后重新安装,并将OFM的根目录由/home/oracle/oradata改为: /data/oradata ,然后继续通过。(详细可参考:http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:739528123575)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/90422/viewspace-1031074/ ,如需转载,请注明出处,否则将追究法律责任。