[Ins-20802] Oracle Database Configuration Assistant failed

问题:win7 64bit  安装11.2.0.1

群里一朋友win下安装11的db,dbca失败,报错如下:
[Ins-20802] Oracle Database Configuration Assistant failed。

下面是mos一段参考:


Oracle Server - Enterprise Edition - Version: 11.2.0.2 and later   [Release: 11.2 and later ]
Microsoft Windows x64 (64-bit) - Version: 2008 R2
SYMPTOMS

After binary installation the following message pops up in DBCA step:

[Ins-20802] Oracle Database Configuration Assistant failed

DBCA  fails with:

INFO:
The Runconfig command constructed is E:oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=E:oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=true $*
INFO: Created a new file E:\\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands
SEVERE: java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at oracle.sysman.oii.oiix.OiixFileOps.createFileWithPermissions(OiixFileOps.java:1955)
at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.writePlugInCommands(OiiolTextLogger.java:2018)
at oracle.install.driver.oui.OUISetupDriver.config(OUISetupDriver.java:983)
at oracle.install.driver.oui.OUISetupDriver.config(OUISetupDriver.java:1028)
at oracle.install.ivw.db.driver.DBSetupDriver.config(DBSetupDriver.java:218)
at oracle.install.driver.oui.ConfigJob.call(ConfigJob.java:137)
at oracle.install.driver.oui.ConfigJob.call(ConfigJob.java:51)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

CAUSE

DBCA is failing due to insufficient permissions on the folder E:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
and it prevents configToolAllCommands to be created.
SOLUTION

You need to Turn off User Access control (UAC). 
The following steps describe how to turn off UAC for Windows 7 or Vista:

1. Go to Control Panel
2. Select "User Accounts"
3. Under "User Accounts" window click on User Accounts
4. Then click on "Turn User Account Control off"
5. Select "Use User Account Control (UAC) to help protect your computer" to clear the check box to turn off UAC and then click OK.

For Windows 2008 R2

1. Go to Control Panel
2. Select "User Accounts"
3. Click on "Change User Account Control Settings"
4. To turn off UAC move the vertical slide to "Never Notify" then click "OK"

For more information:

Refer to Microsoft documentation, for example:
"User Account Control Step-by-Step Guide" viewable at
http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx#BKMK_S3

or

modify the permission on this folder where files cannot be copied/created.

1. Right click on the folder which needs permissions to be changed
2. Go to Security Tab
3. Click on Advanced button
4. Select appropriate "Permission entries"
5. Click on Change permission and select required permission, click OK


建立ora_dba组和oracle用户,把当前用户加到此组。

先安装oracle软件成功,然后dbca报错如下:
实例已创建  dim 00019 创建服务时出错 os error os1053  服务没有及时响应启动或者控制请求。
进入服务管理界面,手工启动服务也是报此错误。

最后朋友想到可能是主机名称有中文的情况。然后修改下主机名,shutdown一下,成功了。
谨记:请不要在主机名称中夹带中文字眼!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29477587/viewspace-1078985/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29477587/viewspace-1078985/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值