Closed ggrimbert closed 7 years ago
Your database is not created correctly during the startup of the container as indicated by:
The command completed successfully Copying database files 1% complete DBCA Operation failed. Look at the log file "/opt/oracle/cfgtoollogs/dbca/sequelize/sequeliz.log" for further details.
Does the container start successfully if you omit the following and use the default?
-e ORACLE_SID=sequelize \ -e ORACLE_PDB=test_sequelize \
After reinstalling / pulling everything and without the -e parameters, it works.
I think the error is related to the length of the ORACLE_SID, in your example it exceeded 8 bytes which would work if those first 8 bytes would be unique. I'll do additional testing and see whether I'm right and if so whether I can add a check to prevent this.
I leave this open for now for tracking purposes.
Ok, the error is actually the _
of the ORACLE_SID. The first 12 characters of the ORACLE_SID must be alphanumeric. I've added a check that will only allow alphanumeric characters for the ORACLE_SID.
Fixed.
Hi,
I have create a docker image for Oracle DB 12.1.0.2 EE.
When I run the following command
I got the following logs :
And the container is down.
After some researches, i defined the ORACLE_HOME to : /opt/oracle/product/12.1.0.2/dbhome_1
Now I have the following :
The container is now running.
But when I try to connect with SqlPlus I get :
ORA-12162: TNS:net service name is incorrectly specified
And I can't connect with sqldeveloper on the DB
ORA-12505 TNS:listener does not currently know of SID given in connect descriptor