Doing the steps to create a template from an existing DB to be used during a OS upgrade and DB migration.
Below are the steps I took and the results I get.
Issue is that I cannot find the template or the logs to tell me why not after the fact.
Have to use silent mode because, for security reasons, X is not allowed in our environment so no dbca in interactive mode.
Please help.
I issued:
$ dbca -silent -createTemplateFromDB -sourceDB acmsp -templateName acms0604 -sysDBAUserName xxxxx -sysDBAPassword xxxxx
Below is the process feedback:
Prepare for db operation
33% complete
Creating a template from the database
67% complete
100% complete
[FATAL] /oracle/app/oracle/product/cfgtoollogs/dbca/getDatabaseAttributes.log (No such file or directory)
Look at the log file "/oracle/app/oraInventory/cfgtoollogs/dbca/silent.log_2024-06-05_03-41-33PM" for further details.
end of run
[oracle@52AFWEB-DB-0104 templates]$ pwd
/oracle/app/oracle/product/19.0.0/dbhome_1/assistants/dbca/templates
-rw-r-----. 1 oracle oracle 10772 Apr 5 2019 New_Database.dbt
-rw-r-----. 1 oracle oracle 86548480 Apr 17 2019 pdbseed.dfb
-rw-r-----. 1 oracle oracle 274554880 Apr 17 2019 Seed_Database.dfb
-rw-r-----. 1 oracle oracle 18726912 Apr 17 2019 Seed_Database.ctl
-rw-r-----. 1 oracle oracle 4888 Apr 17 2019 Data_Warehouse.dbc
-rw-r-----. 1 oracle oracle 4768 Apr 17 2019 General_Purpose.dbc
-rw-r-----. 1 oracle oracle 6611 Apr 17 2019 pdbseed.xml
Expect template acms0604 to be in this directory, yet it is not. Where is it?
The file getDatabaseAttributes.log does not exist.
Ther file oracle/app/oraInventory/cfgtoollogs/dbca/silent.log_2024-06-05_03-41-33PM contains just the command run.