[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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Net Configuration Assistant failed異常的解決方案OracleAI
- ORACLE database vaultOracleDatabase
- Oracle clone databaseOracleDatabase
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Oracle Database Scheduler整理OracleDatabase
- Oracle Physical Database LimitsOracleDatabaseMIT
- SQLBackupAndFTP12.0 failed to backup database with full backup typeSQLFTPAIDatabase
- Oracle 12.2 使用Database Link優化Standby Database WorkloadOracleDatabase優化
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- Docker 映象拉取失敗(error pulling image configuration:download failed)DockerErrorAI
- Oracle 19c Concepts(01):Introduction to Oracle DatabaseOracleDatabase
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- SQLSERVER 2012從2000還原失敗:Restore of database failedSQLServerRESTDatabaseAI
- Oracle OCP(35):Database 安裝OracleDatabase
- oracle 10g flashback databaseOracle 10gDatabase
- Oracle DG Standby Database型別OracleDatabase型別
- Oracle DG建立Physical Standby DatabaseOracleDatabase
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- Oracle OCP(38):Database 物理結構OracleDatabase
- 關於Oracle Database Vault介紹OracleDatabase
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- [翻譯]-Detect And Repair Corruption in an Oracle DatabaseAIOracleDatabase
- Oracle 19c Database Management ToolsOracleDatabase
- Oracle 19c Concepts(00):Changes in This Release for Oracle Database ConceptsOracleDatabase
- 【Oracle】Windows安裝oracle11gR1 database 11.1.0.6OracleWindowsDatabase
- Oracle OCP(37):Database 體系結構OracleDatabase
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- Migration Of An Oracle Database Across OS Platforms [ID 733205.1]OracleDatabaseROSPlatform
- Sqlcl 連線Oracle DataBase 19cSQLOracleDatabase
- 1 Oracle Database 19c 新特性OracleDatabase
- Oracle 19c Concepts(18):Concepts for Database AdministratorsOracleDatabase
- Oracle 19c Concepts(19):Concepts for Database DevelopersOracleDatabaseDeveloper
- Oracle OCP(39):Database 記憶體結構OracleDatabase記憶體
- [20181007]Scalable sequences oracle database 12c.txtOracleDatabase
- Oracle Database 19c安裝Sample SchemasOracleDatabase
- G009-ORACLE-ASK Using In-Database ArchivingOracleDatabase
- 1 Oracle Database Release 20c New FeaturesOracleDatabase