1. 程式人生 > >win7 64位 安裝oracle 10g “oraparam.ini中未找到先決條件檢查”的解決辦法彙總

win7 64位 安裝oracle 10g “oraparam.ini中未找到先決條件檢查”的解決辦法彙總

最近在研究Oracle滲透提權,看了不少文章,於是準備搭建一個虛擬機器測試一下,10g版本的oracle漏洞貌似很多,所以就安裝一個10g版本吧。
angelc0de的電腦是win7 64位系統,安裝oracle10g 32位總是出現錯誤,為方便以後朋友少走挽留,先錯誤解決辦法如下:

1.安裝路徑中出現中文、空格、路徑太深的問題
2.c盤空間不足的問題
3.jdk衝突問題,在環境變數中把classpath中的jdk去掉。
4.關閉防毒軟體
本人都試過了,不管用
5、右鍵安裝程式選擇 win2003 相容性,並以管理員模式執行,還是不管用
6、參考了sdmariner網友的方法,成功解決
下面內容轉載至sdmariner 的文章
安裝oracle 10g(版本為10.2.0.1,哈哈,10201)時出現錯誤:
在 oraparam.ini 中未找到先決條件檢查,不執行系統先決條件檢查。
準備從以下地址啟動 oracle universal installer c:\docume~1\admini~1\locals~1\temp\orainstall2008-12-30_10-40-42PM.請稍候......

之後可以出現安裝介面,網上查了下資料,說是oracle路徑中不能包含中文和空格,我的路徑中沒有中文和空格,有個下劃線,好的,為了避免問題,去掉資料夾名字中的下劃線並把名字改為簡單的ora。錯誤依舊,既然提示是oraparam.ini檔案裡未找到先決條件,那就去看看,在install目錄中找到oraparam.ini檔案,
發現了問題:
[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-4.0-required]
#Service pack for Windows NT4.0, use %SystemRoot%\WinNt\System32\winver.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
#Minimum CPU speed required for OUI in MHz
#CPU=300
#CPU_FAILURE_MESSAGE, use to customise error message for CPU speed check
#[Windows-4.0-optional]

#Windows 2000 use winver.exe to find version
[Windows-5.0-required]
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256
#Minimum CPU speed required for OUI
#CPU=300

[Windows-5.0-optional]

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

[Windows-5.1-optional]

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

[Windows-5.2-optional]
看到紅色部分了沒?先決條件都被註釋掉了,又怎麼能找到呢?好的,去掉紅色部分中的#號,問題解決。
原文出處