欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Sybase和Oracle安装过程中常遇到的问题解答

程序员文章站 2022-06-16 17:24:18
...

目录 一、sybase12.5 for NT版本在win2000平台安装,界面中文字符出现乱码问题 二、sybase在网络共享或拷贝到本机硬盘后,仍不能安装的问题 三、安装完sybase后不能启动的问题 四、syabse创建设备时死锁, win和unix下都存在 五、oracle8.1.X版本在P4机器上

  目录

  一、sybase12.5 for NT版本在win2000平台安装,界面中文字符出现乱码问题

  二、sybase在网络共享或拷贝到本机硬盘后,仍不能安装的问题

  三、安装完sybase后不能启动的问题

  四、syabse创建设备时死锁, win和unix下都存在

  五、oracle8.1.X版本在P4机器上安装程序不能运行问题

  内容

  一、sybase12.5 for NT版本在win2000平台安装,界面中文字符出现乱码问题

  问题的解决,方法如下:

  说明:该版本在NT4平台安装正常,在win2000平台安装界面中文乱码。

  step1:将光盘安装程序拷贝到硬盘;

  step2:修改.shared_1.0jre1.2.2libfont.properties.zh.NT4.0为.shared_1.0jre1.2.2libfont.properties.zh.NT5.0

  因为win2000内核实际上是NT5

  二、sybase在网络共享或拷贝到本机硬盘后,仍不能安装的问题:

  检查安装的父目录是否有中文,有中文时,安装有问题,建议:

  step1:将安装程序拷贝到本地;

  step2:放在父目录没有中文字符的文件夹下安装;

  三、安装完sybase后不能启动的问题

  仅给出原因之一,检查你的机器上是否安装了db2,如果安装了DB2,sybase和DB2共用了一个环境变量LC_ALL,db2使用的是ZH_CN,,sybase使用的是ZH,如果想使用sybase,只好迁就地改为ZH了,该问题限于11.9.2

  四、syabse创建设备时死锁, win和unix下都存在

  检查一下你的master设备建的是不是太小了,重新创建master,设备在150M以上。

  五、oracle8.1.X版本在P4机器上安装程序不能运行问题

  因为我们实验室没有P4,呵呵,在这儿没遇见过。出现在新华网。上次我去新华社搭建e5 demo环境又遇到该问题。运行oracle安装程序,就像飞腾没有检测到加密狗一样,鼠标变成漏斗又恢复成箭头,CPU和MEM不动。

  另注:该问题仅限于Oracle8.1X在P4上,Oracle 9i正常。下文是网上摘录的解决方法

  Oracle 8i在P4上的安装

  方法一:

  1、将ORACLE软件拷贝到硬盘。

  2、将 硬盘目录文件stageComponentsoracle.swd.jre1.1.7.30/1

  DataFilesExpandedjrewin32insymcjit.dll 的文件改名为 symcjit.old

  3.从installwin32 目录下运行SETUP.exe 文件进行安装。

  前提是:机器上没有装过Oracle产品。如有的话请先卸载,再将注册表中Oracle项删除。

  方法二:(此方法斑竹成功安装,但较麻烦,方法的核心是加 -nojit)

  .. Copy only the install directory from the CD to the hard disk ,say, e:  emp.

  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:stageproducts.jar)

  * Change the "JRE_LOCATION" line to use the full path to the CD instead of

  a relative path. (i.e.,

  JRE_LOCATION=f:stageComponentsoracleswdjre1.1.71DataFilesExpanded)

  * Change the "OUI_LOCATION" line to use the full path to the CD instead of a

  relative path. (i.e.,

  OUI_LOCATION=f:stageComponentsoracleswdoui1.6.0.9.01DataFilesExpanded

  * 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:  empinstallwin32setup.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:

  assistantsdbcadbassist.cl

  assistantsdbmadbmig.cl

  assistantsifaifa.cl

  binelogin.cl

  binowm.cl

  ldapoidamdinoidadmin.cl

  network  ools

  etasst.cl

  network  ools

  etca.cl

  owminstallinstelogin.cl

  owminstallinstowm.cl

  Edit the contents of the above files to add "-nojit" as shown below:

  Command=("C:Program FilesOraclejre1.1.7BINJREW" -nojit -classpath ....

  this is the only thing you need to add --> ^^^^^^

  方法三:

  升级oracle带的jre。