设为首页 收藏本站
查看: 849|回复: 0

[经验分享] Windows Server 2008 R2 X64安装Oracle 10g R2后不能创建数据库问题解决办法

[复制链接]

尚未签到

发表于 2015-11-3 09:40:16 | 显示全部楼层 |阅读模式
一、背景交代
  客户刚刚到的一台新服务器,型号为:IBM X3850,自带的操作系统为:Windows Server 2008 R2 X64;需要安装版本为10.2.0.4版本的Oracle数据库。

二、遇到问题
  找到Oracle提供的安装光盘后安装数据库一路next,到了最后创建数据库的时候遇到了问题,进度停止不前,如下图:

http://www.wsria.com/wp-content/uploads/2011/06/oracle-create-db.png



查看trace.log内容如下:



[main] [14:46:52:122] [CommandLineArguments.process:563]  CommandLineArguments->process: number of arguments = 32
[main] [14:46:52:122] [CommandLineArguments.process:738]  CommandLineArguments->process: Create Database argument is specified
[main] [14:46:52:122] [CommandLineArguments.process:910]  CommandLineArguments->process: template Name argument is specified
[main] [14:46:52:122] [CommandLineArguments.process:960]  CommandLineArguments->process: db name argument is specified
[main] [14:46:52:122] [CommandLineArguments.process:3074]  CommandLineArguments->process: in Operation Type is Creation/GenerateScripts Mode condition
[main] [14:46:52:137] [CommandLineArguments.process:3298]  CommandLineArguments->process: Successfully process command line arguments
[main] [14:46:52:855] [Host.checkOPS:2055]  Inside checkOPS
[main] [14:46:52:855] [Host.checkOPS:2067]  Trying to check cluster existence
[main] [14:46:52:902] [Library.getInstance:97]  Created instance of Library.
[main] [14:46:52:902] [Library.load:197]  Loading orauts.dll...
[main] [14:46:52:902] [Library.load:203]  oracleHome D:\oracle\product\10.2.0\db_1
[main] [14:46:52:902] [sPlatform.isHybrid:63]  osName=Windows Vista osArch=amd64 rc=false
[main] [14:46:52:902] [Library.load:223]  Loading  library D:\oracle\product\10.2.0\db_1\bin\orauts.dll
[main] [14:46:52:902] [Library.load:247]  Loaded library D:\oracle\product\10.2.0\db_1\bin\orauts.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [14:46:52:902] [Library.load:197]  Loading MSVCRT.dll...
[main] [14:46:52:902] [Library.load:203]  oracleHome D:\oracle\product\10.2.0\db_1
[main] [14:46:52:902] [sPlatform.isHybrid:63]  osName=Windows Vista osArch=amd64 rc=false
[main] [14:46:52:902] [Library.load:223]  Loading  library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll
[main] [14:46:52:902] [Library.load:247]  Loaded library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [14:46:52:902] [Library.load:197]  Loading orawsec10.dll...
[main] [14:46:52:902] [Library.load:203]  oracleHome D:\oracle\product\10.2.0\db_1
[main] [14:46:52:902] [sPlatform.isHybrid:63]  osName=Windows Vista osArch=amd64 rc=false
[main] [14:46:52:902] [Library.load:223]  Loading  library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll
[main] [14:46:52:902] [Library.load:247]  Loaded library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [14:46:52:902] [Library.load:197]  Loading orasrvm10.dll...
[main] [14:46:52:902] [Library.load:203]  oracleHome D:\oracle\product\10.2.0\db_1
[main] [14:46:52:902] [sPlatform.isHybrid:63]  osName=Windows Vista osArch=amd64 rc=false
[main] [14:46:52:902] [Library.load:223]  Loading  library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll
[main] [14:46:52:902] [Library.load:247]  Loaded library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [14:46:52:902] [Version.isPre10i:189]  isPre10i.java: Returning FALSE
[main] [14:46:52:902] [WindowsSystem.regKeyExists:1006]  WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Ocr
[main] [14:46:53:104] [WindowsSystem.getCSSConfigType:1163]  configType=null
[main] [14:46:53:104] [Host.checkOPS:2073]  cluster existence:false
[main] [14:46:53:104] [Host.checkOPS:2111]  Cluster installed=false
[main] [14:46:53:260] [InitParamHandler.endElement:506]  CustomSGA flag: false
[main] [14:46:53:260] [InitParamHandler.endElement:507]  Database Type: MULTIPURPOSE
[main] [14:46:53:260] [InitParamHandler.endElement:508]  Mem Percentage: 40
[main] [14:46:53:260] [InitParamHandler.endElement:526]  distributing Memory: 13737443328
[main] [14:46:53:260] [MemoryCalculator.calculateMemory:122]  Setting SGA to MAX_SGA 1610612736
[main] [14:46:53:276] [StorageAttributes.setAttribute:232]  IN threadID:1 group#=1
[main] [14:46:53:276] [StorageAttributes.setAttribute:232]  IN threadID:1 group#=2
[main] [14:46:53:276] [StorageAttributes.setAttribute:241]  Current threadID=1
[main] [14:46:53:276] [StorageAttributes.setAttribute:248]  Current threadID=1 ==> redoGroups[0]=1
[main] [14:46:53:276] [StorageAttributes.setAttribute:258]  vRedoGroups:[1]
[main] [14:46:53:276] [StorageAttributes.setAttribute:288]  setAttribute: bExists=false
[main] [14:46:53:276] [StorageAttributes.setAttribute:232]  IN threadID:1 group#=3
[main] [14:46:53:276] [StorageAttributes.setAttribute:241]  Current threadID=1
[main] [14:46:53:276] [StorageAttributes.setAttribute:248]  Current threadID=1 ==> redoGroups[0]=1
[main] [14:46:53:276] [StorageAttributes.setAttribute:248]  Current threadID=1 ==> redoGroups[1]=2
[main] [14:46:53:276] [StorageAttributes.setAttribute:258]  vRedoGroups:[1, 2]
[main] [14:46:53:276] [StorageAttributes.setAttribute:288]  setAttribute: bExists=false
[main] [14:46:53:276] [TemplateManager.parseCloneTemplate:1477]  See for any transportable datafiles in TemplateManager.....
[main] [14:46:53:276] [TemplateManager.isInstallTemplate:2178]  Selected Template by user:=General Purpose
[main] [14:46:53:276] [TemplateManager.isInstallTemplate:2185]  The Message Id to be searched:=GENERAL_PURPOSE
[main] [14:46:53:276] [TemplateManager.parseCloneTemplate:1489]  create new clone data file for tp file.......
[main] [14:46:53:276] [Host.setupOIDCommandlineParameters:7184]  setupOIDCommandlineParameters:
[main] [14:46:53:276] [Host.setupOIDCommandlineParameters:7185]  m_regWithdirService: false
[main] [14:46:53:276] [Host.setupOIDCommandlineParameters:7186]  m_unregWithdirService: false
[main] [14:46:53:276] [Host.setupOIDCommandlineParameters:7187]  m_updateDirService: false
[main] [14:46:53:276] [Verifier.processRawConfigFile:3523]  StorageType == 0
[main] [14:46:53:276] [Verifier.setOradataDest:4349]  setOradataDest:dfDest=D:\oracle\product\10.2.0\oradata
[main] [14:46:53:276] [TemplateManager.updateDatafileDestination:1957]  updateDatafiles:datafileDir=D:\oracle\product\10.2.0\oradata
[main] [14:46:53:276] [TemplateManager.updateDatafileDestination:2103]  From template, RedoLogGrName=1
[main] [14:46:53:307] [TemplateManager.updateDatafileDestination:2118]  new file name redo01.log
[main] [14:46:53:307] [TemplateManager.updateDatafileDestination:2103]  From template, RedoLogGrName=2
[main] [14:46:53:307] [TemplateManager.updateDatafileDestination:2118]  new file name redo02.log
[main] [14:46:53:307] [TemplateManager.updateDatafileDestination:2103]  From template, RedoLogGrName=3
[main] [14:46:53:307] [TemplateManager.updateDatafileDestination:2118]  new file name redo03.log
[main] [14:46:53:307] [ProgressOnlyHost.performOperation:162]  processRawConfigFile=false
[main] [14:46:53:307] [Verifier.validateTemplate:1629]  StorageType == 0
[main] [14:46:53:307] [ProgressOnlyHost.performOperation:178]  validateTemplate=true
[main] [14:46:53:307] [OracleHome.isRacEnabled:149]  bRacOn = false
[main] [14:46:53:323] [Verifier.validateTemplate:1629]  StorageType == 0
[main] [14:46:53:323] [Verifier.calculateCloneDatafilePathsAndSizes:2951]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:323] [Verifier.calculateCloneDatafilePathsAndSizes:2951]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:323] [Verifier.calculateCloneDatafilePathsAndSizes:2951]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:323] [Verifier.calculateCloneDatafilePathsAndSizes:2951]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:323] [Verifier.calculateCloneDatafilePathsAndSizes:2951]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:338] [Verifier.calculateRedoLogGroupFileSizes:3083]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:338] [Verifier.calculateRedoLogGroupFileSizes:3083]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:338] [Verifier.calculateRedoLogGroupFileSizes:3083]  canonicalPath=D:\oracle\product\10.2.0\
[main] [14:46:53:338] [Verifier.getControlfFileSizes:3001]  No. of Control files:=3
[main] [14:46:53:463] [Host.executeSteps:4044]  Executing steps....
[main] [14:46:53:463] [Host.setUpForOperation:2920]  setUpForOperation: Mode = 128
[main] [14:46:53:479] [Host.executeSteps:4186]  setupForOperation returned: true
[main] [14:46:53:479] [Host.createStepSQLInterface:5948]  sid =orcl
[main] [14:46:53:494] [SQLEngine.initialize:242]  Execing SQLPLUS/SVRMGR process...
[main] [14:46:53:494] [SQLEngine.initialize:270]  m_bReaderStarted: false
[main] [14:46:53:494] [SQLEngine.initialize:274]  Starting Reader Thread...
[Thread-4] [14:46:53:713] [StepContext$ModeRunner.run:2478]  ---- Progress Needed:=true
[Thread-4] [14:46:53:822] [BasicStep.execute:202]  Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
[Thread-4] [14:46:53:822] [StepErrorHandler.setFatalErrors:322]  setting Fatal Error: ORA-01092
[Thread-4] [14:46:53:822] [StepErrorHandler.setFatalErrors:322]  setting Fatal Error: ORA-01034
[Thread-4] [14:46:53:822] [StepErrorHandler.setFatalErrors:322]  setting Fatal Error: ORA-03114
[Thread-4] [14:46:53:822] [StepErrorHandler.setFatalErrors:322]  setting Fatal Error: ORA-12560
[Thread-4] [14:46:53:822] [StepErrorHandler.setIgnorableErrors:250]  setting Ignorable Error: ORA-01109
[Thread-4] [14:46:53:822] [BasicStep.configureSettings:304]  messageHandler being set=null
[Thread-4] [14:46:53:822] [BasicStep.execute:202]  Executing Step : INSTANCE_CREATION
[Thread-4] [14:46:53:822] [BasicStep.configureSettings:304]  messageHandler being set=null
[Thread-4] [14:46:53:838] [InitParamAttributes.sortParams:3532]  m_sortOn:-1 sortOn:4
[Thread-4] [14:46:53:884] [OracleHome.isRacEnabled:149]  bRacOn = false
[Thread-4] [14:46:53:884] [Host.noEntryinOratab:5115]  Check made for oratab arg passed............
[Thread-4] [14:46:53:884] [Oradim.getAddEntryCommand:353]  AddEntry=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -new, -sid, ORCL, -startmode, manual, -spfile]
[Thread-4] [14:46:54:976] [Oradim.getEditEntryCommand:422]  getEditEntry cmd=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -edit, -sid, ORCL, -startmode, auto, -srvcstart, system]
[Thread-4] [14:46:55:164] [Oradim.addSidToRegistry:871]  oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb10g_home1
[Thread-4] [14:46:55:226] [BasicStep.configureSettings:304]  messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@6f27f79d
[Thread-4] [14:46:55:226] [CloneRmanRestoreStep.executeImpl:217]  Instance Creation went fine..........
[Thread-4] [14:46:55:226] [CloneRmanRestoreStep.executeImpl:224]  db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
[Thread-4] [14:46:55:226] [CloneRmanRestoreStep.executeImpl:227]  db_recovery_file_dest_size=2147483648
[Thread-4] [14:46:56:115] [SQLEngine.setSpool:1750]  old Spool  = null
[Thread-4] [14:46:56:115] [SQLEngine.setSpool:1751]  Setting Spool  = D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\orcl\CloneRmanRestore.log
[Thread-4] [14:46:56:115] [SQLEngine.setSpool:1752]  Is spool appendable? --> true
[Thread-4] [14:46:56:115] [CloneRmanRestoreStep.executeImpl:320]  starting with pfile=D:\oracle\product\10.2.0\admin\orcl\pfile\init.ora

  开始怀疑是操作系统的问题,然后我在vmware虚拟机上安装Windows Server 2008 R2 X64然后安装数据库顺利通过,之后让管理员安装企业版的系统,再安装orace问题还是存在。

三、解决办法
  因为是正版的就打电话给oracle咨询,几经周折后得知需要安装补丁,编号:8202632,这个补丁需要的安装办法:


  • 安装数据库的时候不要选择“创建数据库”选项
  • 安装完成后安装补丁8202632,注意这个步骤在安装的时候选择安装数据库的时候home路径(例如C:\oracle\product\10.2.0\db_1)
  • 补丁安装完成之后再运行“Database Configuration Assistant”创建数据库。
  补丁8202632下载地址:ftp://updates.oracle.com/8202632/p8202632_10205_MSWIN-x86-64.zip
  
  补充下载地址:http://antoshenka-o.zakadum.ru/10.2.0.5.0%20PATCH%20SET%20FOR%20ORACLE%20DATABASE%20SERVER/x64/p8202632_10205_MSWIN-x86-64.zip

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-134388-1-1.html 上篇帖子: 通过 U 盘安装 Windows Server 2008 下篇帖子: 解决Windows Server 2008 System进程占用80端口
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表