1、安装到执行两个root脚本都正常:
2、脚本执行成功(4节点):
3、创建容器数据库的时候报错
4、看指定的日志:
[root@rac1 logs]# tail -f installActions2017-10-21_05-21-39PM.log
INFO: Since the option is to overwrite the existing /taryartar/12c/grid_home/cfgtoollogs/configToolAllCommands file,backing it up INFO: The backed up file name is /taryartar/12c/grid_home/cfgtoollogs/configToolAllCommands.bak.2 INFO: Entering ConfigClient.executeSelectedToolsInAggregate method INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.crs:oracle.crs:12.1.0.2.0:common INFO: Entering ConfigClient.assignAction method INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@3ea57997 INFO: ConfigClient.assignAction action is of type :configuration INFO: Exiting ConfigClient.assignAction method INFO: ConfigClient.executeSelectedToolsInAggregate action assigned INFO: Started Plugin named: Creating Container Database for Oracle Grid Infrastructure Management Repository INFO: Found associated job INFO: Starting 'Creating Container Database for Oracle Grid Infrastructure Management Repository' INFO: Starting 'Creating Container Database for Oracle Grid Infrastructure Management Repository' INFO: MgmtDBCDBInternalPlugin: ... adding </oui_internal> INFO: Executing MGMTDBCDB INFO: Command /taryartar/12c/grid_home/bin/dbca -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName DATA -datafileJarLocation /taryartar/12c/grid_home/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck -oui_internal -oui_internal INFO: ... GenericInternalPlugIn.handleProcess() entered. INFO: ... GenericInternalPlugIn: getting configAssistantParmas. INFO: ... GenericInternalPlugIn: checking secretArguments. INFO: No arguments to pass to stdin INFO: ... GenericInternalPlugIn: starting read loop. INFO: Read: Cleaning up Failed steps WARNING: Skipping line: Cleaning up Failed steps INFO: End of argument passing to stdin INFO: Read: 5% complete WARNING: Skipping line: 5% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: Registering database with Oracle Grid Infrastructure WARNING: Skipping line: Registering database with Oracle Grid Infrastructure INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: 11% complete WARNING: Skipping line: 11% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: Copying database files WARNING: Skipping line: Copying database files INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: 12% complete WARNING: Skipping line: 12% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: 13% complete WARNING: Skipping line: 13% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: 14% complete WARNING: Skipping line: 14% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: 15% complete WARNING: Skipping line: 15% complete INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: DBCA Operation Failed. WARNING: Skipping line: DBCA Operation Failed. INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: Look at the log file "/taryartar/12c/grid_base/cfgtoollogs/dbca/_mgmtdb/_mgmtdb0.log" for further details. WARNING: Skipping line: Look at the log file "/taryartar/12c/grid_base/cfgtoollogs/dbca/_mgmtdb/_mgmtdb0.log" for further details. INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Completed Plugin named: Creating Container Database for Oracle Grid Infrastructure Management Repository
[root@rac1 ~]# view /taryartar/12c/grid_base/cfgtoollogs/dbca/_mgmtdb/_mgmtdb0.log The specified total memory for Oracle is greater than the current available physical memory. This might result Oracle running on virtual memory or out of memory error. Do you want to continue? +DATA has enough space. required space is 1566 MB,available space is 24226 MB. File Validations Successful. Validation of server pool succeeded. Cleaning up Failed steps DBCA_PROGRESS : 5% Registering database with Oracle Grid Infrastructure DBCA_PROGRESS : 11% Copying database files DBCA_PROGRESS : 12% DBCA_PROGRESS : 13% ORA-00445: background process "LGWR" did not start after 120 seconds DBCA_PROGRESS : 14% DBCA_PROGRESS : 15% ORA-01034: ORACLE not available ORA-01034: ORACLE not available DBCA_PROGRESS : DBCA Operation Failed.
看出是dbca建库的时候失败,之前提示内存不足。