Hi,
I tried to create a shell script for an Oracle 19c/21c installation in Oracle Linux 8/9. The script accepts CDB-ID and PDB-IB as variables/arguments and creates a response file, init$CDB.ora, orapw$CDB and logfile_$CDB based on them. The files are created but the script is silent in dbca. The pdb creation should only take place after a successfull cdb creation and finally, as last step in the script a custom script to create application users sturctures (tablespaces, profiles, users) should be executed in the pdb.
But unfortunately it doesn't work at all, even when dbca is called, it failed. Does anyone have an idea? Can anyone help? Can anyone share such scripts for creating a CDB + PDB in Linux or Windows? Thanks in advance.
Attached is my script a text file, because .sh extension can not be uplodaed.
Regards/Ousseini
Oracle_createCDB-PDB_Linux8.txt
