程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle數據庫基礎 >> Sybase和Oracle安裝過程中常遇到的問題

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

編輯: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.0\jre1.2.2\lib\font.properties.zh.NT4.0為.\shared_1.0\jre1.2.2\lib\font.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、將 硬盤目錄文件\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。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved