[Ins-20802] Oracle Database Configuration Assistant failed

yewushang發表於2014-02-10
問題: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

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章