熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Oracle >> 正文

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

2022-06-13   來源: Oracle 

  最近從朋友處得到了一份OracleG的Beta版本在安裝過程中遇到了一個小插曲寫在這裡供大家參考
  
  我的機器是PIIIWindows+Service Pack
  
  點擊Setupexe之後出現的窗口信息如下:
  
  Using paramFile: G:\OracleG\Disk\install\win\oraparamini
  
  Starting Oracle Universal Installer
  
  Checking required prerequisites
  
  Checking Operating System Version: must be or Actual                                      passed
  
  Checking for SERVICE_PACK: must be or   Actual Service Pack   Failed
   <<<<
  Checking for MIN_DISPLAY_COLORS   Actual   Passed
  
  Some required prerequisite checks have failed (see above) You must
  
  correct these problems before continuing with the install at which
  
  time they will be rechecked Continue? (y/n) [n]
  
  從中看出Oracle居然不支持Service Pack 不過按照常理來說Service Pack新版本都是和舊版本兼容的稍加分析可以斷定這是個小Bug在Oracle的這個Beta版本出來之前還沒有Service Pack
  
  看看第一行信息使用的是G:\OracleG\Disk\install\win\oraparamini這個參數文件那麼是不是一些條件的邊界值是在這裡定義的呢?
  
  找到該文件打開分析一下果真是定義的一些檢測系統的邊界值發現有這麼兩行:
  [Windowsrequired]
  SERVICE_PACK=
  
  可以看出定義的是Service Pack的版本OK把它修改成:
  SERVICE_PACK=
  
  重新運行Setupexe 看到驗證信息如下:
  
  Using paramFile: G:\OracleG\Disk\install\win\oraparamini
  
  Starting Oracle Universal Installer
  
  Checking required prerequisites
  
  Checking Operating System Version: must be or Actual
  Passed
  
  Checking for SERVICE_PACK: must be or Actual Service Pack Passed
  Checking for MIN_DISPLAY_COLORS Actual Passed
  
  All required prerequisite checks have passed
  
  Checking if CPU speed is above MHz Actual MHz Passed
  Preparing to launch Oracle Universal Installer from C:\DOCUME~\ADMINI~\LOCALS~
  \Temp\OraInstall_PM Please wait
  
  已經通過安裝
  
  再回過頭來分析一下Disk\install\win\oraparamini這個文件可以看出安裝的最小條件是:
  CPU=
  色分辨率
  在NT上安裝需要SP
  
  從中看出OracleG在Windows平台上可能新加了一個檢測文件.利用這個文件內容判定操作系統是否符合安裝條件.
  
  不知道正式版本中是不是這樣.
  
  附Disk\install\win\oraparamini文件內容:
  
  [Oracle]
  DISTRIBUTION=TRUE
  SOURCE=//stage/productsjar
  LICENSE_LOCATION=
  JRE_LOCATION=//stage/Components/oracleswdjre/a//DataFiles/Expanded
  JRE_MEMORY_OPTIONS= mxm
  DEFAULT_HOME_LOCATION=\oracle\oraBeta
  DEFAULT_HOME_NAME=OraHomeBeta
  NO_BROWSE=/net
  NLS_ENABLED=TRUE
  BOOTSTRAP=TRUE
  OUI_VERSION=a
  #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 classesjar
  #The value specified for this should be packaged with OUI and should
  #be relative to <OUI expanded stagedir>/jlib/
  THIN_JDBC_FILENAME=classesjar
  #RUN_OUICA specifies the batch script name that needs to be run
  #The script is ouicabat for win and ouicash for solaris
  #If the value is not specified then the OUICA script is not run
  RUN_OUICA=ouicabat
  
  [Certified Versions]
  #You can customise error message shown for failure provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
  Windows=
  
  #Windows NT
  [Windowsrequired]
  #Service pack for Windows NT use %SystemRoot%\WinNt\System\winverexe to find version and service pack
  SERVICE_PACK=a
  #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=
  #Use MIN_DISPLAY_COLORS_FAILURE_MESSAGE to customise message for failure of check for Display colors
  
  [Windowsoptional]
  #Minimum CPU speed required for OUI in MHz
  CPU=
  #CPU_FAILURE_MESSAGE use to customise error message for CPU speed check
  
  #Windows use winverexe to find version
  [Windowsrequired]
  SERVICE_PACK=
  #Minimum display colours for OUI to run
  MIN_DISPLAY_COLORS=
  
  [Windowsoptional]
  #Minimum CPU speed required for OUI
  CPU=
  
  #Windows XP use winverexe to find version
  [Windowsrequired]
  #Minimum display colours for OUI to run
  MIN_DISPLAY_COLORS=
  
  [Windowsoptional]
  #Minimum CPU speed required for OUI
  CPU=
  
  # use winverexe to find version
  [Windowsrequired]
  #Minimum display colours for OUI to run
  MIN_DISPLAY_COLORS=
  
  [Windowsoptional]
  #Minimum CPU speed required for OUI
  CPU=
From:http://tw.wingwit.com/Article/program/Oracle/201311/18933.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.