Oracle12C MGMTDB数据库创建失败的问题解决

grid@node01 grid]$ dbca -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName OCR -datafileJarLocation /grid/app/grid/12.1.0/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck -oui_internal
Cannot create directory “/grid/app/grid/cfgtoollogs/dbca”.
The ORACLE_BASE value in your environment “/grid/app/grid” is different from the one specified during installation “/grid/set/grid”. DBCA uses ORACLE_BASE value from environment variable to derive default file locations and initialization parameters for the database. Are you sure you want to use the new ORACLE_BASE setting?
Error writing into silent log — /grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM (No such file or directory)

+OCR has enough space. Required space is 1566 MB , available space is 6366 MB.
File Validations Successful.
Error writing into silent log — /grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM (No such file or directory)

Validation of server pool succeeded.
Error writing into silent log — /grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM (No such file or directory)
Cannot create directory “/grid/app/grid/cfgtoollogs/dbca/_mgmtdb”.
Error writing into silent log — /grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM (No such file or directory)
Error in file copy from </grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM> to </grid/app/grid/cfgtoollogs/dbca/_mgmtdb.log>
Look at the log file “/grid/app/grid/cfgtoollogs/dbca/silent.log_2018-09-29_11-19-27-PM” for further details.

 

解决办法:

[root@node01 ~]# chown grid:oinstall /grid/app/grid/

[grid@node01 ~]$ dbca -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName OCR -datafileJarLocation /grid/app/grid/12.1.0/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck -oui_internal
Registering database with Oracle Grid Infrastructure
5% complete
Copying database files
7% complete
9% complete
16% complete
23% complete
30% complete

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注