當(dāng)前位置:首頁(yè)>>軟件教程>>新聞內(nèi)容  
解決P4上安裝Oracle 8.1.X的問(wèn)題
作者:icech整理 發(fā)布時(shí)間:2003-10-14 18:42:01 | 【字體:

一、故障現(xiàn)象

    1、在WINDOWS 2000 SERVER上安裝 Oracle8.1.X 時(shí)
    當(dāng)選擇定制安裝,并創(chuàng)建數(shù)據(jù)庫(kù)時(shí),主要應(yīng)用程序都已安裝完成,在提示“是否創(chuàng)建數(shù)據(jù)庫(kù)”,選擇是后就再也沒(méi)有反應(yīng)。重啟機(jī)器后,點(diǎn)擊應(yīng)用程序后沒(méi)有反應(yīng)而簡(jiǎn)單終斷。
    點(diǎn)擊應(yīng)用程序,鼠標(biāo)呈現(xiàn)沙漏狀,然后消失,再?zèng)]有任何現(xiàn)象發(fā)生。
 
    2、在WINDOWS 98上安裝 Oracle8.1.X 的Client后
    安裝成功,點(diǎn)擊應(yīng)用程序,提示該程序執(zhí)行了非法操作,即將關(guān)閉。
 
    3、在WINDOWS 2000 SERVER上安裝Oracle8.1.X 時(shí)
    點(diǎn)擊安裝應(yīng)用程序Setup.exe,程序掛起、或消失、或終止而沒(méi)有任何反應(yīng)。

二、原因分析
 
    使用Windows NT、 Windows 2000或NetWare操作系統(tǒng)和Intel P4處理器的計(jì)算機(jī),安裝Oracle8或者Oracle8i時(shí),將會(huì)碰到以上問(wèn)題。主要原因是Oralce8 /8i的OUI(Oracle Universal Installer) 1.7.1.9.0或以前版本使用了Sun JRE 和 Symantec JIT(Just in Time Library),而JRE 和 JIT與Intel P4處理器不兼容。

三、解決方法

方法一:

1、將ORACLE軟件拷貝到硬盤(pán)。
2、將 硬盤(pán)目錄文件\stage\Components\oracle.swd.jre\1.1.7.30/1
\DataFiles\Expanded\jre\win32\bin\symcjit.dll 的文件改名為
symcjit.old
3.從\install\win32 目錄下運(yùn)行SETUP.exe 文件進(jìn)行安裝。

前提是:機(jī)器上沒(méi)有裝過(guò)Oracle產(chǎn)品。如有的話請(qǐng)先卸載,再將注冊(cè)表中Oracle項(xiàng)刪除。


方法二:(此方法斑竹成功安裝,但較麻煩,方法的核心是加 -nojit)
.. Copy only the install directory from the CD to the hard disk ,say, e:\temp.

b. Open oraparam.ini and make the following modifications (Assuming CD
drive is f:)

* Change the "SOURCE=" line to use the full path to the CD instead of a
relative path. (i.e., SOURCE=f:\stage\products.jar)

* Change the "JRE_LOCATION" line to use the full path to the CD instead of a
relative path. (i.e.,
JRE_LOCATION=f:\stage\Components\oracle\swd\jre\1.1.7\1\DataFiles\Expanded)

* Change the "OUI_LOCATION" line to use the full path to the CD instead of a
relative path. (i.e.,
OUI_LOCATION=f:\stage\Components\oracle\swd\oui\1.6.0.9.0\1\DataFiles\Expanded

* Change the "JRE_MEMORY_OPTIONS" line to add "-nojit" as the first argument.
(i.e., JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m)
^^^^^^
* Other entries should remain the same

c. Launch setup.exe from the temporary location on your hard drive (i.e.
e:\temp\install\win32\setup.exe). This will use the modified
oraparam.ini and pick up the information from the CD since the absolute
locations are specified.

Choose a Custom install and choose not to create a database during the
install. This way, the Database Configuration Assistant will not be launched
during installation.

The Net8 Configuration Assistant will still be launched, and there is no way
to suppress it. You will need to kill the Net8 Configuration Assistant if it
hangs due to the bug. The installation still will have been successful, and
you can run the DBCA and NetCA after installation.

To kill NetCA if it hangs during installation:
In the "Configuration Tools" window, highlight the "Net8 Configuration
Assistant" and click "Stop". If that does not work, look for the most recent
JRE process using the Task Manager, and kill it manually. NOTE: the OUI
itself will also have a jre process. Be sure to kill the one with the most
recent date, which should be the jre process being used for Net8CA, not the
one for OUI itself.

After killing the configuration tools and continuing through the installation
to the "End of Installation" screen, you should modify the configuration tools
to use "-nojit", then call the appropriate tools from the Start Menu.

Once installation is complete, each of the following files in the ORACLE_HOME
needs to be modified:

assistants\dbca\dbassist.cl
assistants\dbma\dbmig.cl
assistants\ifa\ifa.cl
bin\elogin.cl
bin\owm.cl
ldap\oidamdin\oidadmin.cl
network\tools\netasst.cl
network\tools\netca.cl
owm\install\instelogin.cl
owm\install\instowm.cl

Edit the contents of the above files to add "-nojit" as shown below:
Command=("C:\Program Files\Oracle\jre\1.1.7\BIN\JREW" -nojit -classpath ....
this is the only thing you need to add --> ^^^^^^

方法三:
升級(jí)oracle帶的jre。


文章來(lái)源:網(wǎng)絡(luò)搜集
·為ASP.NET應(yīng)用緩存Oracle數(shù)據(jù)
·關(guān)于oracle中大對(duì)象處理的一些方法和實(shí)例
·SQL Server到Oracle連接服務(wù)器的實(shí)現(xiàn)
 放生
 愚愛(ài)
 夠愛(ài)
 觸電
 白狐
 葬愛(ài)
 光榮
 畫(huà)心
 火花
 稻香
 小酒窩
 下雨天
 右手邊
 安靜了
 魔杰座
 你不像她
 邊做邊愛(ài)
 擦肩而過(guò)
 我的答鈴
 懷念過(guò)去
 等一分鐘
 放手去愛(ài)
 冰河時(shí)代
 你的承諾
 自由飛翔
 原諒我一次
 吻的太逼真
 左眼皮跳跳
 做你的愛(ài)人
 一定要愛(ài)你
 飛向別人的床
 愛(ài)上別人的人
 感動(dòng)天感動(dòng)地
 心在跳情在燒
 玫瑰花的葬禮
 有沒(méi)有人告訴你
 即使知道要見(jiàn)面
 愛(ài)上你是一個(gè)錯(cuò)
 最后一次的溫柔
 愛(ài)上你是我的錯(cuò)
 怎么會(huì)狠心傷害我
 不是因?yàn)榧拍畔?/a>
 親愛(ài)的那不是愛(ài)情
 難道愛(ài)一個(gè)人有錯(cuò)
 寂寞的時(shí)候說(shuō)愛(ài)我