linux模板文件不存在,DBCA响应文件建库报模版不存在解决办法

1、执行建库命令

[oracle@wwl 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@wwl 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、再次测试执行,能够正常建库,故障已处理

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值