当前位置:首页>>软件教程>>新闻内容  
解决P4上安装Oracle 8.1.X的问题
作者:icech整理 发布时间:2003-10-14 18:42:01 | 【字体:

一、故障现象

    1、在WINDOWS 2000 SERVER上安装 Oracle8.1.X 时
    当选择定制安装,并创建数据库时,主要应用程序都已安装完成,在提示“是否创建数据库”,选择是后就再也没有反应。重启机器后,点击应用程序后没有反应而简单终断。
    点击应用程序,鼠标呈现沙漏状,然后消失,再没有任何现象发生。
 
    2、在WINDOWS 98上安装 Oracle8.1.X 的Client后
    安装成功,点击应用程序,提示该程序执行了非法操作,即将关闭。
 
    3、在WINDOWS 2000 SERVER上安装Oracle8.1.X 时
    点击安装应用程序Setup.exe,程序挂起、或消失、或终止而没有任何反应。

二、原因分析
 
    使用Windows NT、 Windows 2000或NetWare操作系统和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产品。如有的话请先卸载,再将注册表中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\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 --> ^^^^^^

方法三:
升级oracle带的jre。


文章来源:网络搜集
·为ASP.NET应用缓存Oracle数据
·关于oracle中大对象处理的一些方法和实例
·SQL Server到Oracle连接服务器的实现
 放生
 愚爱
 够爱
 触电
 白狐
 葬爱
 光荣
 画心
 火花
 稻香
 小酒窝
 下雨天
 右手边
 安静了
 魔杰座
 你不像她
 边做边爱
 擦肩而过
 我的答铃
 怀念过去
 等一分钟
 放手去爱
 冰河时代
 你的承诺
 自由飞翔
 原谅我一次
 吻的太逼真
 左眼皮跳跳
 做你的爱人
 一定要爱你
 飞向别人的床
 爱上别人的人
 感动天感动地
 心在跳情在烧
 玫瑰花的葬礼
 有没有人告诉你
 即使知道要见面
 爱上你是一个错
 最后一次的温柔
 爱上你是我的错
 怎么会狠心伤害我
 不是因为寂寞才想
 亲爱的那不是爱情
 难道爱一个人有错
 寂寞的时候说爱我