linux系统
执行 :
cat /etc/issue
显示:
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel \r on an \m
执行:
uname -r
显示:
2.6.18-8.el5xen
我下载的oracle版本是:10201_database_linux_x86_64.cpio.gz
所有的补丁包都安装了,按照安装文档上所的,我的这些包的版本如下:
gcc-4.1.1-52.el5
make-3.81-1.1
binutils-2.17.50.0.6-2.el5
openmotif-2.3.0-0.3.el5
setarch-2.0-1.1
compat-db-4.2.52-5.1
compat-gcc-8-3.3.4.2
compat-gcc-c++-8-3.3.4.2
compat-libstdc++-8-3.3.4.2
compat-libstdc++-devel-8-3.3.4.2
用户名那些也都照文档上建立了,环境变量、文件夹目录等等。
最后执行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
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2007-11-29_12-39-50PM/installActions2007-11-29_12-39-50PM.log
好像是说我的系统版本不对?这是怎么回事?
------解决方案--------------------
1.Redhat企业版作为商业服务器,其实很多。请楼上的正确认识这个。在Linux领域,它是第一位的。
2.这个是Oracle给出的官方解决方案。用于Red Hat Enterprise Linux 5.0等系统上面。虽然LZ地解决方法作对了。但是说明LZ没有仔细阅读安装文档。
相关URL:
http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15659/toc.htm#CJAFHGHG
5.2 Oracle Universal Installer Operating System Prerequisite Checks
If you are installing Oracle Database 10g on Oracle Enterprise Linux 5.0, Red Hat Enterprise Linux 5.0, or SUSE Linux Enterprise Server 10, the current version of Oracle Universal Installer does not recognized these operating systems as supported operating systems and does not perform the installation.
Workaround #1 (recommended): Run the Oracle Universal Installer using the ignoreSysPrereqs flag which causes the installer to skip the operating system check and continue with the installation:
./runinstaller -ignoreSysPrereqs
As a side effect, the installer also skips other checks during the installation.
Workaround #2: On Oracle Enterprise Linux 5.0 and Red Hat Enterprise Linux 5.0, the installation passes the operating system prerequisite checks if you change each 5 to 4 in the /etc/redhat-release file. Ensure that you replace the original values in the /etc/redhat-release file after the Oracle installation is complete.
Original Value Changed Value
Enterprise Linux Enterprise Linux server release 5
(On Oracle Enterprise Linux 5.0)
Enterprise Release Enterprise Linux server release 4
Red Hat Enterprise Linux server release 5
(On Red Hat Enterprise Linux 5.0)
Red Hat Enterprise Linux server release 4
On SUSE Linux Enterprise Server 10, the installation will pass the operating system prerequisite checks if you change each 10 to 9 in the /etc/SuSE-release file. Ensure that you replace the original values in the /etc/SuSE-release file after the Oracle installation is complete.
Original Value Changed Value
SUSE Linux Enterprise Server 10 (x86_64) SUSE Linux Enterprise Server 9 (x86_64)
VERSION = 10 VERSION = 9
This workaround causes Oracle Universal Installer to consider the system to be running earlier version of the operating system and the operating system check passes. The changes to the release file should be reverted after the installation of all Oracle software is complete. The changes to the release file could impact the ability of other tools to be properly installed on the operating system.
------解决方案--------------------
需要把RHEL AS 5 伪装成RHEL AS 4