docker-images
docker-images copied to clipboard
Error when trying to run the docker container from 12.1.0.2 image: "Cannot create a container database from non Container Database template."
Hello,
Despite using the general purpose database template, I get following error when trying to run the container:
ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: T8S4Ao9qlF4=1
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 22-APR-2021 13:26:57
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Starting /opt/oracle/product/12.1.0.2/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 12.1.0.2.0 - Production System parameter file is /opt/oracle/product/12.1.0.2/dbhome_1/network/admin/listener.ora Log messages written to /opt/oracle/diag/tnslsnr/1a4ed98b02be/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER
Alias LISTENER Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production Start Date 22-APR-2021 13:26:57 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/12.1.0.2/dbhome_1/network/admin/listener.ora Listener Log File /opt/oracle/diag/tnslsnr/1a4ed98b02be/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) The listener supports no services The command completed successfully Cannot create a container database from non Container Database template. cat: /opt/oracle/cfgtoollogs/dbca/CDB/CDB.log: No such file or directory cat: /opt/oracle/cfgtoollogs/dbca/CDB.log: No such file or directory mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/dbs/spfileCDB.ora': No such file or directory mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/dbs/orapwCDB': No such file or directory mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/network/admin/tnsnames.ora': No such file or directory ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this information is not available for the current user ID . You can set ORACLE_BASE manually if it is required. Resetting ORACLE_BASE to its previous value or ORACLE_HOME The Oracle base remains unchanged with value /opt/oracle /opt/oracle/checkDBStatus.sh: line 26: sqlplus: command not found ##################################### ########### E R R O R ############### DATABASE SETUP WAS NOT SUCCESSFUL! Please check output for further info! ########### E R R O R ############### ##################################### The following output is now a tail of the alert.log: tail: cannot open '/opt/oracle/diag/rdbms///trace/alert*.log' for reading: No such file or directory tail: no files remaining
Has anyone encountered a similar problem before and found a solution?
Hi @StefanSperliDerNeicheWaldvogel, I think the clue to the issue is this line:
Cannot create a container database from non Container Database template.
Hi @gvenzl , thanks for your reply and I assumed as much but couldn't find an answer for it online after googling the error message. I found a question about it in the Oracle forum which wasn't answered. Do you know what I would have to change to make the container run properly?
I attached the template I am using, used as "cust.dbc"