1、检查安装包的时候注意,一般对应有i386和x64两个包,最好都安装上。
2、采用LINUX6.4的图形界面双击包名来安装比较简单,会自动安装所依赖的包。
rpm -qa | grep ksh
rpm -qa | grep gcc
rpm -qa | grep make
rpm -qa | grep binutils
rpm -qa | grep binutils-devel
rpm -qa | grep openmotif
rpm -qa | grep kernel-devel
rpm -qa | grep kernel-headers
rpm -qa | grep dos2unix
rpm -qa | grep lrzsz
rpm -qa | grep python-devel
rpm -qa | grep compat-db
rpm -qa | grep compat-gcc
rpm -qa | grep compat-gcc-34
rpm -qa | grep compat-gcc-34-c++
rpm -qa | grep compat-gcc-34-g77
rpm -qa | grep compat-libstdc++
rpm -qa | grep compat-libstdc++-33
rpm -qa | grep compat-libcap1
rpm -qa | grep glibc-devel
rpm -qa | grep libaio-devel
rpm -qa | grep numactl-devel
rpm -qa | grep unixODBC
rpm -qa | grep unixODBC-devel
rpm -qa | grep glibc
rpm -qa | grep glibc-devel
rpm -qa | grep elfutils-libelf-devel
rpm -qa | grep compat-libtermcap
rpm -qa | grep readline-devel
rpm -qa | grep libXp
rpm -qa | grep libXt
rpm -qa | grep libXtst
rpm -qa | grep libXau
rpm -qa | grep libXext
rpm -qa | grep libXpm
rpm -qa | grep libXpm-devel
rpm -qa | grep libSM
rpm -qa | grep libICE
rpm -qa | grep libXi
rpm -qa | grep libxcb
rpm -qa | grep libuuid
rpm -qa | grep libaio-devel
rpm -qa | grep libstdc++-devel
rpm -qa | grep compat-libstdc++-33
当启动dbca建实例的时候,报错:
....../jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
这类报错就是对应i386的包没有安装。处理这个报错的办法:安装包:libXtst-1.2.1-2.el6.i686。
也可先安装oratoolkit-1.0.2.1.5-1.noarch.rpm包,检测一下所缺的包,这样就可以避免安装不必要的i386或x64包。
[root@wskh-db tmp]# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg|grep -i WARNING
kernel-headers not found, installation of 64-bit version 2.6.32-71 or later recommended. Package should be on DVD
libstdc++-devel not found, installation of 64-bit version 4.4.4-13 or later recommended. Package should be on DVD
elfutils-libelf-devel not found, installation of 64-bit version 0.148-1 or later recommended. Package should be on DVD
mpfr not found, installation of 64-bit version 2.4.1-6 or later recommended. Package should be on DVD
glibc-headers not found, installation of 64-bit version 2.12-1.7 or later recommended. Package should be on DVD
cpp not found, installation of 64-bit version 4.4.4-13 or later recommended. Package should be on DVD
unixODBC not found, installation of 64-bit version 2.2.14-11 or later recommended. Package should be on DVD
cloog-ppl not found, installation of 64-bit version 0.15.7-1.2 or later recommended. Package should be on DVD
ppl not found, installation of 64-bit version 0.10.2-11 or later recommended. Package should be on DVD
compat-db42 not found, installation of 64-bit version 4.2.52-15 or later recommended. Package should be on DVD
compat-db43 not found, installation of 64-bit version 4.3.29-15 or later recommended. Package should be on DVD
compat-libstdc++-33 not found, installation of 64-bit version 3.2.3-69 or later recommended. Package should be on DVD
celt051 not found, installation of 64-bit version 0.5.1.3-0 or later recommended. Package should be on DVD
libXp not found, installation of 64-bit version 1.0.0-15.1 or later recommended. Package should be on DVD
glibc-devel not found, installation of 64-bit version 2.12-1.7 or later recommended. Package should be on DVD
gcc not found, installation of 64-bit version 4.4.4-13 or later recommended. Package should be on DVD
compat-gcc-34 not found, installation of 64-bit version 3.4.6-19 or later recommended. Package should be on DVD
ncurses-devel not found, installation of 64-bit version 5.7-3.20090208 or later recommended. Package should be on DVD
gcc-c++ not found, installation of 64-bit version 4.4.4-13 or later recommended. Package should be on DVD
readline-devel not found, installation of 64-bit version 6.0-3 or later recommended. Package should be on DVD
compat-db not found, installation of 64-bit version 4.6.21-15 or later recommended. Package should be on DVD
libaio-devel not found, installation of 64-bit version 0.3.107-10 or later recommended. Package should be on DVD
unixODBC-devel not found, installation of 64-bit version 2.2.14-11 or later recommended. Package should be on DVD
compat-gcc-34-c++ not found, installation of 64-bit version 3.4.6-19 or later recommended. Package should be on DVD
libgcc not found, installation of 32-bit version 4.4.4-13 or later recommended. Package should be on DVD
nss-softokn-freebl not found, installation of 32-bit version 3.12.7-1.1 or later recommended. Package should be on DVD
glibc not found, installation of 32-bit version 2.12-1.7 or later recommended. Package should be on DVD
libaio not found, installation of 32-bit version 0.3.107-10 or later recommended. Package should be on DVD
libstdc++ not found, installation of 32-bit version 4.4.4-13 or later recommended. Package should be on DVD
ncurses-libs not found, installation of 32-bit version 5.7-3.20090208 or later recommended. Package should be on DVD
readline not found, installation of 32-bit version 6.0-3 or later recommended. Package should be on DVD
libICE not found, installation of 32-bit version 1.0.6-1 or later recommended. Package should be on DVD
libtool-ltdl not found, installation of 32-bit version 2.2.6-15.5 or later recommended. Package should be on DVD
libSM not found, installation of 32-bit version 1.1.0-7.1 or later recommended. Package should be on DVD
libuuid not found, installation of 32-bit version 2.17.2-6 or later recommended. Package should be on DVD
unixODBC not found, installation of 32-bit version 2.2.14-11 or later recommended. Package should be on DVD
libXau not found, installation of 32-bit version 1.0.5-1 or later recommended. Package should be on DVD
libX11 not found, installation of 32-bit version 1.3-2 or later recommended. Package should be on DVD
libxcb not found, installation of 32-bit version 1.5-1 or later recommended. Package should be on DVD
libXext not found, installation of 32-bit version 1.1-3 or later recommended. Package should be on DVD
libXi not found, installation of 32-bit version 1.3-3 or later recommended. Package should be on DVD
compat-libstdc++-33 not found, installation of 32-bit version 3.2.3-69 or later recommended. Package should be on DVD
libXt not found, installation of 32-bit version 1.0.7-1 or later recommended. Package should be on DVD
libXtst not found, installation of 32-bit version 1.0.99.2-3 or later recommended. Package should be on DVD
libaio-devel not found, installation of 32-bit version 0.3.107-10 or later recommended. Package should be on DVD
unixODBC-devel not found, installation of 32-bit version 2.2.14-11 or later recommended. Package should be on DVD
glibc-devel not found, installation of 32-bit version 2.12-1.7 or later recommended. Package should be on DVD
20140324_200319: Info: Action swReqCheck of installManager ended with 47 WARNINGS
[root@wskh-db tmp]#
按照上面的提示把所有包打上,再进行检查
[root@wskh-db tmp]# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg|grep -i WARNING
compat-db not found, installation of 64-bit version 4.6.21-15 or later recommended. Package should be on DVD
20140324_215208: Info: Action swReqCheck of installManager ended with one WARNING
[root@wskh-db tmp]#
安装oratoolkit-1.0.2.1.5-1.noarch.rpm包的系统,权限等做了限制,使用起来不大合以前的习惯,所有还得卸载该包!