Oracle 10G Beta版在Win2000上安裝的Bug (轉)

amyz發表於2007-11-25
Oracle 10G Beta版在Win2000上安裝的Bug (轉)[@more@]

最近從朋友處得到了一份10G的Beta版本.在過程中,遇到了一個小插曲,寫在這裡供大家參考.

我的機器是PIII700,2000+Service Pack4.

點選Setup.exe之後,出現的視窗資訊如下:

Using paramFile: G:Oracle10GDisk1installoraparam.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新版本都是和舊版本相容的.稍加分析,可以斷定這是個小.在Oracle的這個Beta版本出來之前還沒有Service Pack4.

看看第一行資訊,使用的是G:Oracle10GDisk1installwin32oraparam.ini這個引數,那麼是不是一些條件的邊界值是在這裡定義的呢?

找到該檔案,開啟,分析一下,果真是定義的一些檢測的邊界值.發現有這麼兩行:
[Windows-5.0-required]
SERVICE_PACK=1,2,3

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

重新執行Setup.exe .看到驗證資訊如下:

Using paramFile: G:Oracle10GDisk1installwin32oraparam.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 speed is above 300 MHz. Actual 696MHz Passed
Preparing to launch Oracle Universal Installer from C:DOCUME~1ADMINI~1LOCALS~
1TempOraInstall-08-23_02-32-20PM. Please wait ...

已經透過.安裝......

再回過頭來,分析一下Disk1installwin32oraparam.ini這個檔案,可以看出安裝的最小條件是:
CPU=300
256色解析度
在NT4上安裝需要SP6

從中看出Oracle10G在Windows平臺上可能新加了一個檢測檔案.利用這個檔案內容判定是否符合安裝條件.

不知道正式版本中是不是這樣.

附Disk1installwin32oraparam.ini檔案內容:

[Oracle]
DISTRIBUTION=TRUE
=../../stage/products.jar
LICENSE_LOCATION=
_LOCATION=../../stage/Components/oracle.swd.jre/1.3.1.6.0a/1/DataFiles/Expanded
JRE_MEMORY_OPTIONS=" -mx96m"
DEFAULT_HOME_LOCATION=oracleora10Beta1
DEFAULT_HOME_NAME=OraHome10Beta1
NO_BROWSE=
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_JC_FILENAME is optional and defaults to classes12.jar
#The value specified for this should be packaged with OUI, and should
#be relative to /jlib/
THIN__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 .
#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, prov value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=4.0,5.0,5.1,5.2

# 4.0
[Windows-4.0-required]
#Service pack for Windows NT4.0, use %System%WinNtSystem32winver.exe to find version and service pack
SERVICE_PACK=6a
#You can customise the message shown for Service Pack failure through SERVICE_PACK_FAILURE_MESSAGE
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256
#Use MIN_DISPLAY_COLORS_FAILURE_MESSAGE to customise message for failure of check for Display colors

[Windows-4.0-optional]
#Minimum CPU speed required for OUI in MHz
CPU=300
#CPU_FAILURE_MESSAGE, use to customise error message for CPU speed check

# use winver.exe to find version
[Windows-5.0-required]
SERVICE_PACK=1,2,3,4
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256

[Windows-5.0-optional]
#Minimum CPU speed required for OUI
CPU=300

# use winver.exe to find version
[Windows-5.1-required]
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256

[Windows-5.1-optional]
#Minimum CPU speed required for OUI
CPU=300

#Windows use winver.exe to find version
[Windows-5.2-required]
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256

[Windows-5.2-optional]
#Minimum CPU speed required for OUI
CPU=300

 

 


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752019/viewspace-984494/,如需轉載,請註明出處,否則將追究法律責任。

相關文章