dbca 靜默安裝
今天試用一下oracle的靜默安裝建立資料庫例項,摘錄如下:
一、首先看dbca.rsp 內容:
[GENERAL]
RESPONSEFILE_VERSION = "11.2.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "njpay01"
SID = "njpay01"
TEMPLATENAME = "General_Purpose.dbc"
SYSPASSWORD = "123456"
SYSTEMPASSWORD = "123456"
SYSMANPASSWORD = "123456"
DBSNMPPASSWORD = "123456"
HOSTUSERNAME =rac1
DATAFILEDESTINATION=$ORACLE_BASE/oradata
RECOVERYAREADESTINATION=$ORACLE_BASE/flash_recovery_area
STORAGETYPE=FS
CHARACTERSET = "AL32UTF8"
NATIONALCHARACTERSET= "UTF8"
DATABASETYPE = "OLTP"
執行如下命令報錯:
[oracle@rac1 ~]$ dbca -silent -createdatabase -responseFile /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/dbca.rsp
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/njpay010.log" for further details.
[oracle@rac1 ~]$ cat /u01/app/oracle/cfgtoollogs/dbca/njpay010.log
The file path $ORACLE_BASE/oradata/njpay01/system01.dbf is invalid. Please check the permissions.
接著我調整dbca.rsp檔案,我把引數DATAFILEDESTINATION註釋掉
#DATAFILEDESTINATION=$ORACLE_BASE/oradata
再接著執行命令,成功建立資料庫例項。以下是命令執行過程:
[oracle@rac1 ~]$ dbca -silent -createdatabase -responseFile /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/dbca.rsp
Copying database files
1% complete
3% complete
10% complete
17% complete
24% complete
35% complete
Creating and starting Oracle instance
37% complete
42% complete
47% complete
52% complete
53% complete
56% complete
58% complete
Registering database with Oracle Restart
64% complete
Completing Database Creation
68% complete
71% complete
75% complete
85% complete
96% complete
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/njpay01/njpay01.log" for further details.
一、首先看dbca.rsp 內容:
[GENERAL]
RESPONSEFILE_VERSION = "11.2.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "njpay01"
SID = "njpay01"
TEMPLATENAME = "General_Purpose.dbc"
SYSPASSWORD = "123456"
SYSTEMPASSWORD = "123456"
SYSMANPASSWORD = "123456"
DBSNMPPASSWORD = "123456"
HOSTUSERNAME =rac1
DATAFILEDESTINATION=$ORACLE_BASE/oradata
RECOVERYAREADESTINATION=$ORACLE_BASE/flash_recovery_area
STORAGETYPE=FS
CHARACTERSET = "AL32UTF8"
NATIONALCHARACTERSET= "UTF8"
DATABASETYPE = "OLTP"
執行如下命令報錯:
[oracle@rac1 ~]$ dbca -silent -createdatabase -responseFile /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/dbca.rsp
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/njpay010.log" for further details.
[oracle@rac1 ~]$ cat /u01/app/oracle/cfgtoollogs/dbca/njpay010.log
The file path $ORACLE_BASE/oradata/njpay01/system01.dbf is invalid. Please check the permissions.
接著我調整dbca.rsp檔案,我把引數DATAFILEDESTINATION註釋掉
#DATAFILEDESTINATION=$ORACLE_BASE/oradata
再接著執行命令,成功建立資料庫例項。以下是命令執行過程:
[oracle@rac1 ~]$ dbca -silent -createdatabase -responseFile /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/dbca.rsp
Copying database files
1% complete
3% complete
10% complete
17% complete
24% complete
35% complete
Creating and starting Oracle instance
37% complete
42% complete
47% complete
52% complete
53% complete
56% complete
58% complete
Registering database with Oracle Restart
64% complete
Completing Database Creation
68% complete
71% complete
75% complete
85% complete
96% complete
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/njpay01/njpay01.log" for further details.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30393770/viewspace-2123674/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 靜默安裝資料庫—dbca.rsp資料庫
- 【DBCA -SILENT】靜默安裝之rac資料庫安裝資料庫
- 【DBCA -SILENT】靜默安裝如何啟用歸檔模式模式
- Android靜默安裝和靜默解除安裝Android
- 2.13.4 DBCA 靜默模式命令模式
- DBCA靜默方式建庫
- rac靜默安裝
- Oracle 靜默安裝Oracle
- Oracle靜默安裝Oracle
- DBCA靜默安裝前透過修改模板方式啟用歸檔模式模式
- Android靜默安裝應用和靜默解除安裝應用Android
- PackageInstaller 5.0原始碼分析靜默安裝與靜默解除安裝Package原始碼
- 靜默安裝Azure CLI
- 靜默安裝ORACLE(文件)Oracle
- 2.13 靜默模式DBCA命令參考模式
- dbca silent靜默建立資料庫資料庫
- 【DBCA -SILENT】靜默方式安裝11gR2 oracle資料庫軟體Oracle資料庫
- oracle靜默安裝raw裝置Oracle
- 靜默安裝oracle時報錯Oracle
- ORACLE 11.2.0.4靜默安裝Oracle
- 靜默安裝oracle軟體Oracle
- Oracle靜默安裝(單機)Oracle
- 靜默安裝、建庫(轉)
- 靜默安裝ORACLE 軟體Oracle
- Oracle靜默安裝說明Oracle
- RHEL5 Oracle 11G R2 RAC 靜默安裝 (三) rdbms安裝 dbca 建庫Oracle
- Android 靜默安裝/後臺安裝Android
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- android apk靜默安裝和解除安裝AndroidAPK
- oracle 19C 靜默安裝Oracle
- Linux下靜默安裝OraceLinux
- 靜默安裝and手動建庫
- oracle 12c 靜默安裝Oracle
- Oracle 11g 靜默安裝Oracle
- 靜默安裝功能的實現
- 靜默安裝oracle10gOracle
- AIX 6.1 靜默安裝11.1.0.6AI
- oracle10g 靜默安裝Oracle