Oracle安装前提条件:
安装一下rpm包
compat-db-4.2.52-5.1.i386.rpm
compat-gcc-34-3.4.6-4.i386.rpm
compat-gcc-34-c++-3.4.6-4.i386.rpm
compat-libstdc++-33-3.2.3-61.i386.rpm
compat-libstdc++-296-2.96-138.i386.rpm
libaio-devel-0.3.106-5.i386.rpm
libstdc++44-devel-4.4.0-6.el5.i386.rpm
pdksh-5.2.14-36.el5.i386.rpm
sysstat-7.0.2-3.el5.i386.rpm
unixODBC-2.2.11-7.1.i386.rpm
unixODBC-devel-2.2.11-7.1.i386.rpm
确保安装成功后就可以安装oracle服务端了
[oracle@localhost database]$ ./runInstaller
正在启动 Oracle Universal Installer…
正在检查安装程序要求…检查操作系统版本: 必须是RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
未通过
<<<<正在退出 Oracle Universal Installer。您可以在 /tmp/OraInstall2010-10-24_10-32-53AM/installActions2010-10-24_10-32-53AM.log 中找到本次会话的日志[oracle@localhost database]$
出错原因:版本不适合
解决方案:只需修改版本文件即可
方法:
进入root用户
[root @localhost ~]vi /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
修改为
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
保存退出即可
While doing a fresh install of 11i vision on Oracle Enterprise Linux 5, RapidInstall gave the
following error:
Rapid Install Wizard will now launch the Java Interface…..
Exception in thread “main” java.lang.UnsatisfiedLinkError:
/11istage/startCD/Disk1/rapidwiz/jre/Linux/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)
This error comes because libXp.so.6 library is not present in /usr/lib. The rpm which contains
this file is libXp-1.0.0-8.i386.rpm. It is present in the Oracle Enterprise Linux 5 DVD in
/server directory. So copy this rpm from the DVD or CD and install it:
rpm -ivh libXp-1.0.0-8.i386.rpm
Once this is installed, confirm about the presence of the the file libXp.so.6 by this command:
$ ls -ld /usr/lib/libXp.so.6
lrwxrwxrwx 1 root root 14 Jul 29 06:45 /usr/lib/libXp.so.6 -> libXp.so.6.2.0
出错原因:缺少动态链接库文件libXp.so.6
解决方案:
可以在RedHat 5.5光盘中找到一下四个rpm包
libXp-1.0.0-8.1.el5.i386.rpm
libXp-devel-1.0.0-8.1.el5.i386.rpm
libXpm-3.5.5-3.i386.rpm
libXpm-devel-3.5.5-3.i386.rpm
并将其放在/tmp/lib路径下
然后进入lib目录下
[root @ localhost ~] cd /tmp/lib
安装rpm包
[root @ localhost lib] rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
[root @ localhost lib] rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
[root @ localhost lib] rpm -ivh libXpm-3.5.5-3.i386.rpm
[root @ localhost lib] rpm -ivh libXpm-devel-3.5.5-3.i386.rpm
安装完成后就可以继续安装了。
当然如果出现安装图形化界面出现缺少字符可以在中端执行
[root @ localhost lib] export LANG=C
此时就可以正确安装了。