Closed segkent closed 2 years ago
@KentTwilio
I see that the Failed to get D-Bus connection: Operation not permitted
error is not responsible for subsequent failures. When I built the image on my dev-machine this message was there in the build log, but did not cause any issues after that.
Further, I followed the steps you executed, but was not able to replicate the error you got. My database setup was successful. My terminal output is as follows:
[oracle@3614e5f7ea19 ~]$ /opt/oracle/runOracle.sh
ORACLE EDITION: ENTERPRISE
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 02-MAR-2022 04:53:47
Copyright (c) 1991, 2019, Oracle. All rights reserved.
Starting /opt/oracle/product/19c/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 19.0.0.0.0 - Production
System parameter file is /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/3614e5f7ea19/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 19.0.0.0.0 - Production
Start Date 02-MAR-2022 04:53:48
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/19c/dbhome_1/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/3614e5f7ea19/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
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/opt/oracle/cfgtoollogs/dbca/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Mar 2 05:13:38 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL>
System altered.
SQL>
System altered.
SQL>
Pluggable database altered.
SQL>
PL/SQL procedure successfully completed.
SQL> SQL>
Session altered.
SQL>
User created.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
User altered.
SQL> SQL> Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
The Oracle base remains unchanged with value /opt/oracle
Executing user defined scripts
/opt/oracle/runUserScripts.sh: running /opt/oracle/scripts/extensions/setup/savePatchSummary.sh
/opt/oracle/runUserScripts.sh: running /opt/oracle/scripts/extensions/setup/swapLocks.sh
[2022:03:02 05:13:44]: Acquiring lock .ORCLCDB.exist_lck with heartbeat 30 secs
[2022:03:02 05:13:44]: Lock acquired
[2022:03:02 05:13:44]: Starting heartbeat
[2022:03:02 05:13:44]: Lock held .ORCLCDB.exist_lck
DONE: Executing user defined scripts
The Oracle base remains unchanged with value /opt/oracle
#########################
DATABASE IS READY TO USE!
#########################
Executing user defined scripts
/opt/oracle/runUserScripts.sh: running /opt/oracle/scripts/extensions/startup/runDatapatch.sh
Datafiles are already patched. Skipping datapatch run.
I am not sure what is causing the DB to fail. The command to build the image is also fine. So, for further debugging, can you do the following things:
runOracle.sh
script running automatically and see if the same error persists or not (Is there any specific reason why you want to bypass this and run it manually ?).docker run -d -t -v vol1:/opt/oracle/oradata <image>
and see if the error persists./opt/oracle/cfgtoollogs/dbca/ORCLCDB
. Please zip the contents of this directory and attach.Also, please note that there is no need to run the following commands explicitly inside the container as root user
1. /opt/oracle/oraInventory/orainstRoot.sh
2. /opt/oracle/product/19c/dbhome_1/root.sh
These commands are executed in an intermediate container while building the image itself.
Thanks
Thanks for your response.
FYI: I wanted to run the runOracle.sh
step separately because we want to create the database inside the docker image so we can then save the docker image with the initialized database and use it directly. Starting an uninitialized oracle image takes about 15 minutes to become ready. Starting an initialized image takes about 1 minute. I have found a separate way to do this after posting this request, but I'm still curious why this isn't working so I'll post requested info and maybe we can get to the bottom of it.
I found what you stated above about the root-level commands that are executed as part of the image build process. So I no longer need to run those.
Here are the DBCA logs from executing runOracle.sh
manually. I will try the vol
option tomorrow.
Thank you!
@KentTwilio We have an extension named 'prebuiltdb' for the same. When a base image is built with this extension, the database is configured and all the datafiles are committed in the image itself, as an additional layer. So, the database startup is very fast using this image (in seconds). Please see prebuiltdb extension for more details.
Further, I will look into these dbca logs and get back to you. Thanks !
It seems from the logs that you are running the runOracle.sh script multiple times. Can you delete the database using the following command inside the container and run the runOracle.sh script again:
dbca -silent -deleteDatabase -sourceDB <ORACLE_SID>
This command will ask your sys password. After entering the password, database will be deleted successfully. Then you can re-run runOracle.sh script.
Thanks for the updates, Abhishek.
runOracle.sh
multiple times in the same container. If it was running multiple times, there must have been something else running it or something that was running a sequence that looked like runOracle.sh
. I tried this one more time with Oracle 12 EE just to make sure. The log for this is below. Note that I waited 10 minutes after startup (see note in log) to ensure that there was nothing creating the database in the background. I've had the exact same behavior with 12, 19, and 21.runOracle.sh
command and wait for it to finish initializing. I can then exec
into the container and stop the database and then do a docker commit
to save off the file system changes.I have a process that will work so I'm OK with closing this report if you want. But I still feel like there is something broken about this startup sequence that I am trying. The log below is a complete startup sequence starting with a just-built 12.1.0.2 image.
kent@ubuntu:~/go/src/gyre-3360-oracle-proc/testng/containers/oracle19$ docker run -d --rm --name oracle12 oracle12ee:v12.1.0.2 bash -c "sleep infinity"
f2573d431212d50808dcc81a669afb59c2b5e9d7b27bff6a2e36658ed125580d
kent@ubuntu:~/go/src/gyre-3360-oracle-proc/testng/containers/oracle19$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f2573d431212 oracle12ee:v12.1.0.2 "bash -c 'sleep infi…" 2 minutes ago Up 2 minutes (health: starting) oracle12
kent@ubuntu:~/go/src/gyre-3360-oracle-proc/testng/containers/oracle19$ docker exec -it oracle12 bash
< ...WAITED 10 MINUTES HERE... >
[oracle@f2573d431212 ~]$
[oracle@f2573d431212 ~]$
[oracle@f2573d431212 ~]$ find /opt/oracle -name *.log
/opt/oracle/product/12.1.0.2/dbhome_1/install/make.log
/opt/oracle/product/12.1.0.2/dbhome_1/install/root_0bf7bdbd68f4_2022-03-07_23-50-59.log
/opt/oracle/product/12.1.0.2/dbhome_1/javavm/admin/version.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/oui/installActions2022-03-07_11-47-23PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/oui/silentInstall2022-03-07_11-47-23PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/CfmLogger_2022-03-07_11-49-22-PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/oracle.sysman.ccr_2022-03-07_11-49-23-PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/OuiConfigVariables_2022-03-07_11-49-23-PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/oracle.assistants.server_2022-03-07_11-49-23-PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/oracle.server_2022-03-07_11-49-22-PM.log
/opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/cfgfw/oracle.assistants.netca.client_2022-03-07_11-49-23-PM.log
/opt/oracle/oraInventory/logs/installActions2022-03-07_11-47-23PM.log
/opt/oracle/oraInventory/logs/silentInstall2022-03-07_11-47-23PM.log
[oracle@f2573d431212 ~]$ ll /opt/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/
total 8
drwxr-xr-x 2 oracle dba 4096 Mar 7 23:49 cfgfw
drwxr-xr-x 2 oracle dba 4096 Mar 7 23:49 oui
[oracle@f2573d431212 ~]$ /opt/oracle/runOracle.sh
ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: 2kirX2znGqA=1
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 08-MAR-2022 00:06:14
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/f2573d431212/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 08-MAR-2022 00:06:14
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/f2573d431212/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
Copying database files
1% complete
2% complete
27% complete
Creating and starting Oracle instance
29% complete
DBCA Operation failed.
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
Unique database identifier check passed.
/ has enough space. Required space is 7665 MB , available space is 70300 MB.
File Validations Successful.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 2%
DBCA_PROGRESS : 27%
Creating and starting Oracle instance
ORA-00600: internal error code, arguments: [ksb_shut_detached_process3], [MMNL], [10], [300], [], [], [], [], [], [], [], []
DBCA_PROGRESS : 29%
ORA-01081: cannot start already-running ORACLE - shut it down first
ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
@KentTwilio If you have a process that works, then you can close the issue. I am actually not able to reproduce this error after following the same steps. I tried with 19, and 21c. I pasted my console output also in my previous comment. So, I am not sure what is going wrong here.
Please paste your docker info
output also, before closing the issue. If there is some problem in the environment, I will tell. Otherwise, we can safely close the issue.
Here's my docker info
:
kent@ubuntu:~$ docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Docker Buildx (Docker Inc., v0.7.1-docker)
scan: Docker Scan (Docker Inc., v0.12.0)
Server:
Containers: 20
Running: 11
Paused: 0
Stopped: 9
Images: 21
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.13.0-30-generic
Operating System: Ubuntu 20.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 19.51GiB
Name: ubuntu
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Live Restore Enabled: false
@KentTwilio Hi Kent, did you find a solution for this issue please ? I am hitting the same problem here. Please let me know.
Thanks Bala
See my comments above. https://github.com/oracle/docker-images/issues/2258#issuecomment-1061281010
same problem:
ORACLE EDITION: ENTERPRISE
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 11-DEC-2023 12:58:17
Copyright (c) 1991, 2019, Oracle. All rights reserved.
Starting /opt/oracle/product/19c/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 19.0.0.0.0 - Production
System parameter file is /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/baobab71-oracle-0/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 19.0.0.0.0 - Production
Start Date 11-DEC-2023 12:58:17
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/19c/dbhome_1/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/baobab71-oracle-0/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
[WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'PDBADMIN' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
[WARNING] ORA-00600: internal error code, arguments: [ksb_shut_detached_process3], [SMCO], [30], [300], [], [], [], [], [], [], [], []
32% complete
33% complete
[WARNING] ORA-01081: cannot start already-running ORACLE - shut it down first
[FATAL] ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
46% complete
100% complete
[FATAL] ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
31% complete
8% complete
0% complete
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
[ 2023-12-11 12:58:26.071 UTC ] [WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
[ 2023-12-11 12:58:26.071 UTC ] [WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
[ 2023-12-11 12:58:26.072 UTC ] [WARNING] [DBT-06208] The 'PDBADMIN' password entered does not conform to the Oracle recommended standards.
[ 2023-12-11 12:58:27.469 UTC ] Prepare for db operation
DBCA_PROGRESS : 8%
[ 2023-12-11 12:58:27.642 UTC ] Copying database files
DBCA_PROGRESS : 31%
[ 2023-12-11 13:00:01.259 UTC ] Creating and starting Oracle instance
[ 2023-12-11 13:06:09.394 UTC ] [WARNING] ORA-00600: internal error code, arguments: [ksb_shut_detached_process3], [SMCO], [30], [300], [], [], [], [], [], [], [], []
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 33%
[ 2023-12-11 13:06:09.402 UTC ] [WARNING] ORA-01081: cannot start already-running ORACLE - shut it down first
[ 2023-12-11 13:06:09.403 UTC ] [FATAL] ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
DBCA_PROGRESS : 46%
DBCA_PROGRESS : 100%
[ 2023-12-11 13:06:09.411 UTC ] [FATAL] ORA-01503: CREATE CONTROLFILE failed
ORA-01100: database already mounted
DBCA_PROGRESS : 31%
DBCA_PROGRESS : 8%
DBCA_PROGRESS : 0%
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Dec 11 13:06:34 2023
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to an idle instance.
SQL> ALTER SYSTEM SET control_files='/opt/oracle/oradata/ORCLCDB/control01.ctl' scope=spfile
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> ALTER SYSTEM SET local_listener=''
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> ALTER PLUGGABLE DATABASE ORCLPDB1 SAVE STATE
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> BEGIN DBMS_XDB_CONFIG.SETGLOBALPORTENABLED (TRUE); END;
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> SQL> ALTER SESSION SET "_oracle_script" = true
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> CREATE USER OPS$oracle IDENTIFIED EXTERNALLY
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> GRANT CREATE SESSION TO OPS$oracle
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> GRANT SELECT ON sys.v_$pdbs TO OPS$oracle
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> GRANT SELECT ON sys.v_$database TO OPS$oracle
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> ALTER USER OPS$oracle SET container_data=all for sys.v_$pdbs container = current
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> SQL> Disconnected
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
mv: cannot stat '/opt/oracle/product/19c/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/19c/dbhome_1/dbs/orapwORCLCDB': 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:
2023-12-11T13:06:25.257015+00:00
ORA-1092 : opitsk aborting process
2023-12-11T13:06:28.608734+00:00
Termination issued to instance processes. Waiting for the processes to exit, wait time 0 sec
2023-12-11T13:06:29.609348+00:00
Instance termination failed to kill one or more processes
2023-12-11T13:06:29.612398+00:00
Instance terminated by USER, pid = 1437
2023-12-11T13:06:29.916174+00:00
Instance shutdown complete (OS id: 1437)
I also saw this error on Windows. Has there been no progress, should we just ignore it?
I am trying to build an Oracle 19c image but I continually get the same error which may or may not be related to a subsequent failure of the container to create a database and start.
I am running this command-line to build the image.
./buildContainerImage.sh -v 19.3.0 -t oracle19c-ee:latest -e -o '--build-arg SLIMMING=false'
During the build process I see this error occur. It always occurs in the same place. I have tried building the image in an Ubuntu 20 VM and in OSX against Docker Desktop.
The image otherwise seems to be created perfectly normally.
I then run the container with the following to prevent the auto-run
runOracle.sh
:docker run -d --rm --name oracle19ee oracle19ee:latest bash -c "sleep infinity"
I get a terminal into the container as root with:
docker exec -it -u root oracle19ee bash
And run these commands as instructed by the build process:
Then I exit the bash terminal and execute this to get back in as user
oracle
:docker exec -it oracle19ee bash
And run
/opt/oracle/runOracle.sh
.That runs for about 7 minutes and then spits this out:
No database is ever created and the container remains in an unhealthy state.
I've run these commands dozens of times trying various permutations over the past few days and I get the same results every time.
I also try setting the following env variables to various values with the same results.
Am I doing something wrong here or is there a problem with the image build process?