[Ins-20802] Oracle Database Configuration Assistant failed
群裡一朋友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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- INS-20802 ORACLE NET CONFIGURATION ASSISTANT FAILED 問題解決OracleAI
- INS-20802 Automatic Storage Management Configuration Assistant failedAI
- Oracle Net Configuration Assistant failed異常的解決方案OracleAI
- [INS-20802] Oracle Cluster Verification Utility failedOracleAI
- Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Brief description of Oracle physical standby database configuration and managementOracleDatabase
- Brief description of Oracle physical standby database configuration and managemeOracleDatabase
- PRKR-1005 : adding of cluster database asmdb configuration failed, {1}DatabaseASMAI
- oracle11g rac最後階段報ins-20802 oracle cluster verification utility failedOracleAI
- Failed to upgrade Oracle Cluster Registry configuration的解決辦法AIOracle
- How To Install An Oracle Database In An Active/Passive Configuration Without RAC? [ID 734361.1]OracleDatabase
- ORA-38760: This database instance failed to turn on flashback databaseDatabaseAI
- Database(Mysql、Sqlserver) Configuration Security ReinforcementDatabaseMySqlServer
- 11gR2 grid安裝最後報錯[INS-20802] Oracle Cluster Verification Utility failedOracleAI
- 10G RAC安裝時Failed to upgrade Oracle Cluster Registry configurationAIOracle
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Failed to upgrade Oracle Cluster Registry configuration (安裝RAC10201)AIOracle
- Failed to shutdown database console gracefullyAIDatabase
- Invoking Oracle Patch Application Assistant....OracleAPP
- ORA-38760: This database instance failed to turn on flashback database 第三篇DatabaseAI
- ORA-38760: This database instance failed to turn on flashback database 錯誤解決DatabaseAI
- failed to establish dependency between database GERP and diskgroup resourceAIDatabase
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- SQLBackupAndFTP12.0 failed to backup database with full backup typeSQLFTPAIDatabase
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Types of Oracle Database Users : Database Users (6)OracleDatabase
- Oracle clone databaseOracleDatabase
- ORACLE database vaultOracleDatabase
- Oracle Database HistoryOracleDatabase
- Oracle Database ReplayOracleDatabase
- alter database in OracleDatabaseOracle
- Oracle Database ScriptOracleDatabase
- Oracle Database ServiceOracleDatabase
- Oracle Physical Database LimitsOracleDatabaseMIT
- Oracle sharding databaseOracleDatabase
- Oracle Database Resource ManagerOracleDatabase
- Oracle Database Scheduler整理OracleDatabase