萬盛學電腦網

 萬盛學電腦網 >> 數據庫 >> oracle教程 >> Sybase和Oracle安裝過程中常遇到的問題解答

Sybase和Oracle安裝過程中常遇到的問題解答

  目錄

  一、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。

copyright © 萬盛學電腦網 all rights reserved