[img]http://dl2.iteye.com/upload/attachment/0096/3898/9a0a5b51-d49f-3b5e-82b0-0ac135c890d1.jpg[/img]
1、执行建库命令
[Oracle@www.linuxidc.com database]$ dbca -silent -responseFile /home/oracle/database/dbca.rsp
2、报模版不存在,错误信息如下:
Template General Purpose does not exist. Please specify an existing template for database creation.
3、解决办法,打开dbca.rsp响应文件,找到如下配置信息:
#-----------------------------------------------------------------------------
# Name : TEMPLATENAME
# Datatype : String
# Description : Name of the template
# Valid values : Template name as seen in DBCA
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
TEMPLATENAME = "General Purpose" 将其修改为
TEMPLATENAME = "General_Purpose.dbc"
我们可以找下所有的模版确认下,如下命令
[oracle@www.linuxidc.com templates]$ find $ORACLE_HOME/assistants/dbca -name "*.dbc"
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/Data_Warehouse.dbc
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/General_Purpose.dbc
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/Transaction_Processing.dbc
4、再次测试执行,能够正常建库,故障已处理
1、执行建库命令
[Oracle@www.linuxidc.com database]$ dbca -silent -responseFile /home/oracle/database/dbca.rsp
2、报模版不存在,错误信息如下:
Template General Purpose does not exist. Please specify an existing template for database creation.
3、解决办法,打开dbca.rsp响应文件,找到如下配置信息:
#-----------------------------------------------------------------------------
# Name : TEMPLATENAME
# Datatype : String
# Description : Name of the template
# Valid values : Template name as seen in DBCA
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
TEMPLATENAME = "General Purpose" 将其修改为
TEMPLATENAME = "General_Purpose.dbc"
我们可以找下所有的模版确认下,如下命令
[oracle@www.linuxidc.com templates]$ find $ORACLE_HOME/assistants/dbca -name "*.dbc"
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/Data_Warehouse.dbc
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/General_Purpose.dbc
/oracle/orahome/10.2.0/db_1/assistants/dbca/templates/Transaction_Processing.dbc
4、再次测试执行,能够正常建库,故障已处理
本文详细介绍了使用Oracle DBCA工具建库时遇到模板不存在的问题,通过修改响应文件中模板名称,成功解决了故障,并提供了正确的模板路径验证方法。
1014

被折叠的 条评论
为什么被折叠?



