docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

unable to finish configure process

Open agentvivekkumar opened this issue 9 years ago • 3 comments

VSKUMAR-mac:ora-tools-db vskumar$ docker run --name oracle-db -p 1521:1521 -p 5501:5500 oracle/database:12.1.0.2-ee
ORACLE AUTO GENERATED PASSWORD FOR SYS, SYSTEM AND PDBAMIN: qRs5ljMoU8s=1

LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 18-FEB-2017 07:43:52

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/b8fceae4ff02/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                18-FEB-2017 07:43:53
Uptime                    0 days 0 hr. 0 min. 1 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/b8fceae4ff02/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
32% complete
33% complete
34% complete
38% complete
42% complete
DBCA Operation failed.
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.

Unique database identifier check passed.

/opt/oracle/oradata/ has enough space. Required space is 7665 MB , available space is 33086 MB.
/ has enough space. Required space is 0 MB , available space is 33086 MB.
File Validations Successful.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 2%
DBCA_PROGRESS : 27%
Creating and starting Oracle instance
DBCA_PROGRESS : 29%
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 33%
DBCA_PROGRESS : 34%
DBCA_PROGRESS : 38%
DBCA_PROGRESS : 42%
ORA-04031: unable to allocate 1015832 bytes of shared memory ("shared pool","unknown object","PDB Dynamic He","Alloc/Free SWRF Metric CHBs")

Error while executing "/opt/oracle/product/12.1.0.2/dbhome_1/rdbms/admin/dbmssml.sql". Refer to "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/dbmssml0.log" for more details. Error in Process: /opt/oracle/product/12.1.0.2/dbhome_1/perl/bin/perl
DBCA_PROGRESS : DBCA Operation failed.

SQL*Plus: Release 12.1.0.2.0 Production on Sat Feb 18 07:53:38 2017

Copyright (c) 1982, 2014, 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 PLUGGABLE DATABASE ORCLPDB1 SAVE STATE
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0


SQL> Disconnected
mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/dbs/orapwORCLCDB': No such file or directory
#########################
DATABASE IS READY TO USE!
#########################
Sweep [inc][7561]: completed
Sweep [inc2][7561]: completed
ORA-4031 signalled during: alter pluggable database PDB$SEED OPEN...
Shutting down instance (abort)
License high water mark = 19
Sat Feb 18 07:53:34 2017
USER (ospid: 702): terminating the instance
Sat Feb 18 07:53:35 2017
Instance terminated by USER, pid = 702
Instance shutdown complete

how do i fix those issues?

agentvivekkumar avatar Feb 18 '17 07:02 agentvivekkumar

Based on the logs you provided it looks like that the database didn't have enough memory available. This is indicated by following error message: ORA-04031: unable to allocate 1015832 bytes of shared memory ("shared pool","unknown object","PDB Dynamic He","Alloc/Free SWRF Metric CHBs"). The container needs at least 2GB for the DB to run. Can you check whether you have enough memory specified?

gvenzl avatar Feb 19 '17 06:02 gvenzl

Closing due to lack of feedback. Please reopen if the issue still persists.

gvenzl avatar Mar 08 '17 20:03 gvenzl

I re-open the issue I tried to install oracle 19c on my

  1. dell precision 7730, windows 11 enterprise
  2. microsoft pro 9, i7, windows 11 pro and i have THE SAME PROBLEM ! I was quite baffled, as I use oracle as various roles (DBA, dev, etc) since version 4 (FOUR !), and I let archaeologists find out which geological era I'm talking about, and it never happened to me that I had a problem and I was unable to complete an installation ! @gvenzl , can you help me ? Thanks !

marcopomponi avatar Jul 14 '23 13:07 marcopomponi