程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> SqlServer數據庫 >> 關於SqlServer >> Windows2000下手工安裝數據庫

Windows2000下手工安裝數據庫

編輯:關於SqlServer
  發現了一個問題,在Windows 2000上安裝Oracle8170的時候,setup.exe執行後沒有反應,最後只好用ora9201的OUI來安裝Oracle8170,真是禍不單行,安裝到98%的時候hung住,圖形界面上是顯示正在copy make.dat0,檢查了一下,發現Oracle_HOME下sqlplus.exe,oci.dll等重要文件已經存在了,但是開始菜單裡面還沒出現安裝數據庫的選項,再察看了一下安裝日志,發現有下列錯誤:

Java.lang.LinkageError: loader constraints violated when linking ssclusterRegisterw32 class
 at ssCreateItemw32.installAction(ssCreateItemw32.Java:215)
 at Oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OIISCompActions.Java:1357)
 at Oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OIISCompActions.Java:1157)
 at Oracle.sysman.oii.oiis.OiisCompActions.doAction(OIISCompActions.Java:604)
 at CompActions.doActionP3ntCreateItem2(CompActions.Java:212)
 at CompActions.stateChangePhase2Actions(CompActions.Java:180)
 at Oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(OiicInstallActionsPhase.Java:619)
 at Oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(OiicInstallActionsPhase.Java:2199)
 at Oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.Java:2077)
 at Oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.Java:2945)
 at Java.lang.Thread.run(Unknown Source)

google了一下,解釋說是jre的版本問題,沒辦法,只好手工安裝了,現把整個過程紀錄如下:

環境:Windows2000 pro, Oracle8170, SID=satest, Oracle_HOME=e:\Oracle\ora81

1.create the folders need by init.ora,don't forget subfolder
2.copy a init.ora ,modify the content to match your environment.

3.create file pwd<SID>.ora

>orapwd file=e:\oracle\ora81\database\PWDsatest.ora passWord=Oracle entrIEs=5

>oradim -new -sid satest -startmode manual -pfile "e:\Oracle\ora81\database\initsatest.ora"

4.update sqlnet.ora in order to you can login with internal account

sqlnet.ora: SQLNET.AUTHENTICATION_SERVICES=(NTS)
create a group named ora_dba in OS, add the current user to this group as a member.

5.create database,include controlfile, system TBS,RBS TBS,TEMP TBS.
>set Oracle_SID=satest


>svrmgrl
connect INTERNAL/Oracle
startup nomount pfile="e:\Oracle\ora81

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