日期:2013-07-23  浏览次数:20504 次


最近从朋友处得到了一份Oracle10G的Beta版本.在安装过程中,遇到了一个小插曲,写在这里供大家参考.

我的机器是PIII700,Windows2000+Service Pack4.

点击Setup.exe之后,出现的窗口信息如下:

Using paramFile: G:\Oracle10G\Disk1\install\win32\oraparam.ini

Starting Oracle Universal Installer ...

Checking required pre-requisites...

Checking Operating System Version: must be 4.0, 5.0, 5.1 or 5.2. Actual 5.0                                                                          passed

Checking for SERVICE_PACK: must be 1, 2 or 3.    Actual Service Pack 4    Failed
 <<<<
Checking for MIN_DISPLAY_COLORS 256.    Actual 4294967296    Passed

Some required pre-requisite checks have failed (see above). You must

correct these problems before continuing with the install, at which

time they will be re-checked. Continue? (y/n) [n]

从中看出,Oracle竟然不支持Service Pack 4,不过按照常理来说,Service Pack新版本都是和旧版本兼容的.稍加分析,可以断定这是个小Bug.在Oracle的这个Beta版本出来之前还没有Service Pack4.

看看第一行信息,使用的是G:\Oracle10G\Disk1\install\win32\oraparam.ini这个参数文件,那么是不是一些条件的边界值是在这里定义的呢?

找到该文件,打开,分析一下,果真是定义的一些检测系统的边界值.发现有这么两行:
[Windows-5.0-required]
SERVICE_PACK=1,2,3

可以看出,定义的是Service Pack的版本.OK,把它修正成:
SERVICE_PACK=1,2,3,4

重新运转Setup.exe .看到验证信息如下:

Using paramFile: G:\Oracle10G\Disk1\install\win32\oraparam.ini

Starting Oracle Universal Installer ...

Checking required pre-requisites...

Checking Operating System Version: must be 4.0, 5.0, 5.1 or 5.2. Actual 5.0
Passed

Checking for SERVICE_PACK: must be 1, 2, 3 or 4. Actual Service Pack 4 Passed
Checking for MIN_DISPLAY_COLORS 256. Actual 4294967296 Passed

All required pre-requisite checks have passed.

Checking if CPU speed is above 300 MHz. Actual 696MHz Passed
Preparing to launch Oracle Universal Installer from C:\DOCUME~1\ADMINI~1\LOCALS~
1\Temp\OraInstall2003-08-23_02-32-20PM. Please wait ...


曾经通过.安装......

再回过头来,分析一下Disk1\install\win32\oraparam.ini这个文件,可以看出安装的最小条件是:
CPU=300
256色分辨率
在NT4上安装需求SP6

从中看出Oracle10G在Windows平台上可能新加了一个检测文件.利用这个文件内容判定操作系统能否符合安装条件.

不知道正式版本中是不是这样.

附Disk1\install\win32\oraparam.ini文件内容:

[Oracle]
DISTRIBUTION=TRUE
SOURCE=../../stage/products.jar
LICENSE_LOCATION=
JRE_LOCATION=../../stage/Components/oracle.swd.jre/1.3.1.6.0a/1/DataFiles/Expanded
JRE_MEMORY_OPTIONS=" -mx96m"
DEFAULT_HOME_LOCATION=\oracle\ora10Beta1
DEFAULT_HOME_NAME=OraHome10Beta1
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
OUI_VERSION=2.3.0.5.0a
#SHOW_HOSTNAME=ALWAYS_SHOW shows the hostname panel always
#SHOW_HOSTNAME=NEVER_SHOW does not the hostname panel
#SHOW_HOSTNAME=CONDITION_SHOW shows the hostname panel on condition
SHOW_HOSTNAME=NEVER_SHOW
#THIN_JDBC_FILENAME is optional and defaults to classes12.jar
#The value specified for this should be packaged with OUI, and should
#be relative to <OUI expanded stagedir>/jlib/
THIN_JDBC_FILENAME=classes12.jar
#RUN_OUICA specifies the batch script name that needs to be run
#The script is ouica.bat for win32, and ouica.sh for solaris.
#If the value is not specified, then the OUICA script is not run
RUN_OUICA=ouica.bat

[Certified Versions]
#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=4.0,5.0,5.1,5.2

#Windows NT 4.0
[Windows-