解決P4上安裝Oracle 8.1.X的問題

2010-09-03 23:17:11來源:西部e網(wǎng)作者:

一、故障現(xiàn)象

一、故障現(xiàn)象

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

二、原因分析
 
    使用Windows NT、 Windows 2000或NetWare操作系統(tǒng)和Intel P4處理器的計算機,安裝Oracle8或者Oracle8i時,將會碰到以上問題。主要原因是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軟件拷貝到硬盤。
2、將 硬盤目錄文件\stage\Components\oracle.swd.jre\1.1.7.30/1
\DataFiles\Expanded\jre\win32\bin\symcjit.dll 的文件改名為
symcjit.old
3.從\install\win32 目錄下運行SETUP.exe 文件進行安裝。

前提是:機器上沒有裝過Oracle產(chǎn)品。如有的話請先卸載,再將注冊表中Oracle項刪除。


方法二:(此方法斑竹成功安裝,但較麻煩,方法的核心是加 -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 etasst.cl
network\tools etca.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 --> ^^^^^^

方法三:
升級oracle帶的jre。

關(guān)鍵詞:oracle