DBCA回應檔建庫報模版不存在解決辦法

來源:互聯網
上載者:User

1、執行建庫命令
[Oracle@www.bkjia.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.bkjia.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中如何編譯失效的對象

更多Oracle相關資訊見Oracle 專題頁面 http://www.bkjia.com/topicnews.aspx?tid=12 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.