Skip to content

Oracle Free docker images start up failure! #2972

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Haibarapink opened this issue May 12, 2025 · 0 comments
Open

Oracle Free docker images start up failure! #2972

Haibarapink opened this issue May 12, 2025 · 0 comments

Comments

@Haibarapink
Copy link

I follew these steps:

  1. sudo docker pull container-registry.oracle.com/database/free:latest
sudo docker run -d \
 -p 1521:1521 \
 -p 5500:5500 \
 -e ORACLE_PWD=123456 \
 --name oracle-free \
 container-registry.oracle.com/database/free:latest
  1. sudo docker exec -it --user root 6c5f5d21bd1d bash
  2. sqlplus sys/123456@//localhost:1521/FREEPDB1 as sysdba

and this is what happend on terminal:


SQL*Plus: Release 23.0.0.0.0 - Production on Mon May 12 07:19:02 2025
Version 23.8.0.25.04

Copyright (c) 1982, 2025, Oracle.  All rights reserved.

ERROR:
ORA-12514: Cannot connect to database. Service FREEPDB1 is not registered with
the listener at host 127.0.0.1 port 1521.
(CONNECTION_ID=NOwhYZm6GTngYwMAEaxk1Q==)
Help: https://docs.oracle.com/error-help/db/ora-12514/

Docker log

  • status: unhealthy

cat: /sys/fs/cgroup/memory.max: No such file or directory
Starting Oracle Net Listener.
Oracle Net Listener started.
Starting Oracle Database instance FREE.
Oracle Database instance FREE started.

The Oracle base remains unchanged with value /opt/oracle

SQL*Plus: Release 23.0.0.0.0 - Production on Mon May 12 03:09:34 2025
Version 23.8.0.25.04

Copyright (c) 1982, 2025, Oracle. All rights reserved.

Connected to an idle instance.

SQL> ALTER USER SYS IDENTIFIED BY "123456"
*
ERROR at line 1:
ORA-01034: The Oracle instance is not available for use. Start the instance.
Process ID: 0
Session ID: 0 Serial number: 0
Help: https://docs.oracle.com/error-help/db/ora-01034/

SQL> ALTER USER SYSTEM IDENTIFIED BY "123456"
*
ERROR at line 1:
ORA-01034: The Oracle instance is not available for use. Start the instance.
Process ID: 0
Session ID: 0 Serial number: 0
Help: https://docs.oracle.com/error-help/db/ora-01034/

SQL> ALTER SESSION SET CONTAINER=FREEPDB1
*
ERROR at line 1:
ORA-01034: The Oracle instance is not available for use. Start the instance.
Process ID: 0
Session ID: 0 Serial number: 0
Help: https://docs.oracle.com/error-help/db/ora-01034/

SQL> ALTER USER PDBADMIN IDENTIFIED BY "123456"
*
ERROR at line 1:
ORA-01034: The Oracle instance is not available for use. Start the instance.
Process ID: 0
Session ID: 0 Serial number: 0
Help: https://docs.oracle.com/error-help/db/ora-01034/

SQL> Disconnected
The Oracle base remains unchanged with value /opt/oracle
#####################################
########### 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:
db_name = "FREE"
open_cursors = 300
pga_aggregate_target = 512M
diagnostic_dest = "/opt/oracle"
enable_pluggable_database= TRUE
2025-05-12T03:09:34.390926+00:00
Errors in file /opt/oracle/diag/rdbms/free/FREE/trace/FREE_ora_36.trc:
ORA-27180: failed to create memory protection key
Linux-x86_64 Error: 1: Operation not permitted
Additional information: 16736

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