1.操作系统版本问题 Oracle10g默认只能在RedHat 4一下装,否则会提示版本不对,所以需要修改/etc/redhat-release文件,骗过Oracle
修改/etc/redhat-release文件内容为:
- [root@localhost logs]# more /etc/redhat-release
-
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
2.内核参数检测
不需要事先修改内核参数,安装过程中Oracle会自动检测内核参数,并且告诉你结果,凡是“failed”的,按照给定的值改一下就行了。
3.安装过程中报错,INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
- INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
-
INFO: collect2: ld returned 1 exit status
-
INFO: make: *** [ctxhx] Error 1
原因是缺少“glibc-devel”包,安装即可。
4.再次报错,信息如下
- INFO: make[1]: *** [/oracle/app/product/10.2.0/db_1/sysman/lib/e2eme] Error 1
-
INFO: make[1]: Leaving directory `/oracle/app/product/10.2.0/db_1/sysman/lib'
-
INFO: make: *** [e2eme] Error 2
检查以下包是否正确安装:
- rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm \
-
kernel-headers-2.6.18-164.el5.x86_64.rpm \
-
glibc-headers-2.5-42.x86_64.rpm \
-
libstdc++-devel-4.1.2-46.el5.x86_64.rpm \
-
sysstat-7.0.2-3.el5.x86_64.rpm \
-
glibc-devel-2.5-42.x86_64.rpm \
-
libaio-devel-0.3.106-3.2.x86_64.rpm \
-
gcc-4.1.2-46.el5.x86_64.rpm \
-
gcc-c++-4.1.2-46.el5.x86_64.rpm \
-
elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm \
-
elfutils-libelf-devel-0.137-3.el5.x86_64.rpm \
-
libtermcap-devel-2.0.8-46.1.x86_64.rpm \
-
readline-devel-5.1-3.el5.x86_64.rpm \
-
unixODBC-2.2.11-7.1.x86_64.rpm \
-
unixODBC-devel-2.2.11-7.1.x86_64.rpm \
-
compat-db-4.2.52-5.1.x86_64.rpm \
-
compat-gcc-34-3.4.6-4.x86_64.rpm \
-
compat-gcc-34-c++-3.4.6-4.x86_64.rpm \
-
gdb-6.8-37.el5.x86_64.rpm \
-
libXp-1.0.0-8.1.el5.i386.rpm \
-
libstdc++-devel-4.1.2-46.el5.i386.rpm
安装完后,重启X,再次运行安装程序,这里必须要重启X,直接Retry是不行的。
阅读(2120) | 评论(0) | 转发(0) |