创建模板的dbca命令
dbca -silent -createCloneTemplate -sourceDB orcl -sysDBAUserName sys -sysDBAPassword sys -templateName oralce20160603template -datafileJarLocation /home/oracle
Gathering information from the source database
100% complete
Look at the log file "/opt/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/silent7.log" for further details.
这是日志文件
athering information from the source database
ORA-12547: TNS:lost contact
ORA-12547: TNS:lost contact
SP2-0640: Not connected
DBCA_PROGRESS : 100%