Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

oracle 19c image doesn't work :LRM-00109: could not open parameter file #2747

Open
kronos72it opened this issue Jan 19, 2024 · 1 comment
Open

Comments

@kronos72it
Copy link

I downloaded oracle docker images and created image for 19c se 馃憤
1../buildContainerImage.sh -v 19.3.0 -s -i -o --network=host

  1. sudo docker run --name oraclexe18-4 -d -p 1522:1522 -e ORACLE_PWD=welcome1 -e ORACLE_SID=xe18 -v /opt/oracle/oradata oracle/database:19.3.0-se2

Entering on bash :
sudo docker exec -it oraclese19 bash

sqlplus / as sysdba

Ok ,the problems :

  1. " connected to an idle instance " , then
    startup , but :

    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/opt/oracle/product/19c/dbhome_1/dbs/initoracle.ora

in the dbs folder I see init.oracle , then
cp init.ora initoracle.ora

2 second error now is
ORA-00845: MEMORY_TARGET not supported on this system

then this image is not usable ???

@kronos72it
Copy link
Author

OK, resolve as create contained with SID=ORCL and memory values , very strange .

sudo docker run --name oraclese19 -d -p 1521:1521 -e ORACLE_PWD=welcome1 -e ORACLE_SID=ORCL -v /opt/oracle/oradata -e INIT_SGA_SIZE=3000 -e INIT_PGA_SIZE=1000 oracle/database:19.3.0-se2

Now I can connect and querying thought sqlplus but cant connect via SqlDeveloper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant