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

Already on GitHub? Sign in to your account

Running Oracle XE on Apple M1 not working (ORA-12547: TNS:lost contact) #63

Closed
XavierLevaux opened this issue Nov 29, 2021 · 32 comments
Closed
Assignees
Labels
help wanted Extra attention is needed question I have a question that I would like to ask

Comments

@XavierLevaux
Copy link

Hi!

I tried starting Oracle XE on Docker 20.10.10 on an Apple M1 computer.

docker run -p 1521:1521 -e ORACLE_PASSWORD=pwd --platform linux/amd64 gvenzl/oracle-xe

Here is my docker info:

Client:
 Cloud integration: v1.0.20
 Version:           20.10.10
 API version:       1.41
 Go version:        go1.16.9
 Git commit:        b485636
 Built:             Mon Oct 25 07:43:15 2021
 OS/Arch:           darwin/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.10
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       e2f740d
  Built:            Mon Oct 25 07:41:10 2021
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.11
  GitCommit:        5b46e404f6b9f661a205e28d59c982d3634148f8
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

It fails whith the following log:

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))

The listener supports no services

The command completed successfully

ERROR:

ORA-12547: TNS:lost contact



SP2-0306: Invalid option.

Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]

where <logon> ::= <username>[/<password>][@<connect_identifier>]

      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]

SP2-0306: Invalid option.

Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]

where <logon> ::= <username>[/<password>][@<connect_identifier>]

      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]

SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

Is Oracle XE not yet working on Apple M1?

Thanks!

@gvenzl gvenzl self-assigned this Nov 30, 2021
@gvenzl gvenzl added the question I have a question that I would like to ask label Nov 30, 2021
@gvenzl
Copy link
Owner

gvenzl commented Nov 30, 2021

Hi @XavierLevaux, according to oracle/docker-images#1951 it is currently not possible to run Oracle Database on ARM chipsets. I have heard that Apple has an x86 emulator that should automatically take care of x86 apps running on M1 but given that I do not have an M1 Mac myself yet, I cannot confirm or deny that.

@cofin
Copy link

cofin commented Dec 1, 2021

@gvenzl @XavierLevaux I am also trying to get this running on Apple silicon. I have specified the --platform linux/amd64 attribute to tell Docker to emulate x86, but I am getting the same error as above. I'll try to run buildx locally to see if that makes a difference, and I'll report any findings.

Additionally, I'm willing to run any tests or gather additional diagnostics if anyone has ideas on how to make it work.

@tomdevroomen
Copy link

Same issue on my new M1 machine.
Have been able to find a workaround, @cofin ?

@cofin
Copy link

cofin commented Dec 17, 2021

No. I should have come back to post my findings. I tried to build with different versions of XE with no luck. All resulted in the same TNS error.

I may have to resort to a UTM based Linux VM until there is an acceptable alternative.

@gvenzl
Copy link
Owner

gvenzl commented Dec 26, 2021

Thanks a lot for your research on this, @cofin! It is highly appreciated!

@rathboma
Copy link

rathboma commented May 9, 2022

I just ran into the same problem :-(. @gvenzl any chance you could add a note about the apple/arm compatibility problems to your dockerhub docs?

@gvenzl
Copy link
Owner

gvenzl commented Jun 4, 2022

There has been some movement over on oracle/docker-images#1951 in the meantime.
It seems that users are able to spin up Oracle databases by using a Docker Desktop alternative called colima.
Unfortunately, I still don't have an M1 Mac so I cannot verify myself but if anybody would be able to verify the approach reported over there, I would be deeply grateful.

The solution seems to be:

brew install colima
brew install docker
colima start --memory 4 --arch x86_64
docker run ...

@gvenzl gvenzl reopened this Jun 4, 2022
@gvenzl gvenzl added the help wanted Extra attention is needed label Jun 4, 2022
@salah3x
Copy link

salah3x commented Jun 7, 2022

The above-mentioned solution is working perfectly 👍

@gvenzl
Copy link
Owner

gvenzl commented Jun 11, 2022

Awesome, thanks so much for confirming, @salah3x!

@tomdevroomen
Copy link

I can confirm it also works running on UTM and lima

@gvenzl
Copy link
Owner

gvenzl commented Jun 18, 2022

Great, thanks a lot, @tomdevroomen!

I would like to add some generic info about how to run these images on Mac M1 into the ReadMe.
But given that I am not running on an M1 myself, I'm not entirely sure what method would be the most acceptable to M1 users.

I assume removing Docker Desktop and installing colima means that all images running on that Mac M1 will have to be x86_64 images? Would that cause any unwanted side effects, other than not wanting to run an x86_64 image when an arm64 is available?

@tomdevroomen
Copy link

tomdevroomen commented Jun 21, 2022

I've got lima running besides docker desktop.
Via docker context you're able to choose to run docker commands through lima.
I'm using your image within a testcontainers setup, but all those workarounds aren't compatible with testcontainers

Steps to setup with UTM, but compared to (co)lima it is more work and in my experience also slower.
apple-silicon-database-installation.md

Think I'll replace my lima installation with colima, as that's exactly what I need from lima :)

@tomdevroomen
Copy link

setup with colima:

  • Install colima as per https://github.com/abiosoft/colima#installation
  • Run colima start --arch x86_64, the --arch x64_86 is the important part here to match the architecture to be compatible with your docker images.
  • Start container as usual

You should give it some time to start up, but I was able to start up the full version.

@salah3x
Copy link

salah3x commented Jun 21, 2022

@tomdevroomen

but all those workarounds aren't compatible with testcontainers

I was able to make it work w/ testcontainers, the idea is to make sure /var/run/docker.sock is accessible.
It's symlinked to ~/.colima/default/docker.sock when starting colima, but double-check it anyway (I had to loosen up the permissions on the file to make it work).
Running colima status should print the original path of the docker socket, u can also use that to customize testcontainers' host detection.

@tomdevroomen
Copy link

@tomdevroomen

but all those workarounds aren't compatible with testcontainers

I was able to make it work w/ testcontainers, the idea is to make sure /var/run/docker.sock is accessible. It's symlinked to ~/.colima/default/docker.sock when starting colima, but double-check it anyway (I had to loosen up the permissions on the file to make it work). Running colima status should print the original path of the docker socket, u can also use that to customize testcontainers' host detection.

I've tried the testcontainers host detection before, but I wasn't able to make it work. It was overwritten every time with the defaults when starting testcontainers.

I'll give the symlink a try.

@tomdevroomen
Copy link

@salah3x I've change the host detection for testcontainers, and it is picking up the colima docker.sock.
But it's unable to connect to the Ruyk container

08:13:33.943 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///Users/user/.colima/default/docker.sock
08:13:33.944 [main] INFO  org.testcontainers.DockerClientFactory - Docker host IP address is localhost
08:13:34.277 [main] INFO  org.testcontainers.DockerClientFactory - Connected to docker: 
  Server Version: 20.10.11
  API Version: 1.41
  Operating System: Alpine Linux v3.14
  Total Memory: 3938 MB
08:13:34.378 [main] INFO  org.testcontainers.utility.RegistryAuthLocator - Credential helper/store (docker-credential-desktop) does not have credentials for index.docker.io
08:13:37.693 [testcontainers-ryuk] WARN  org.testcontainers.utility.RyukResourceReaper - Can not connect to Ryuk at localhost:49154

How we you able to resolve this?

@gvenzl
Copy link
Owner

gvenzl commented Jun 28, 2022

Hey all, I've been chatting with my friends at Testcontainers (wink, wink @kiview and @eddumelendez) and they have had other users bring up the question of colima, see here.

It appears, that with the following config, Testcontainers works just fine with colima:

export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export DOCKER_HOST="unix://${HOME}/.colima/docker.sock"

@tomdevroomen
Copy link

Hey all, I've been chatting with my friends at Testcontainers (wink, wink @kiview and @eddumelendez) and they have had other users bring up the question of colima, see here.

It appears, that with the following config, Testcontainers works just fine with colima:

export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export DOCKER_HOST="unix://${HOME}/.colima/docker.sock"

I can confirm this is working 🥳 🥳 🥳

@gvenzl
Copy link
Owner

gvenzl commented Jun 29, 2022

Great, glad to hear that! :)

@tomdevroomen
Copy link

I've written 2 blogpost to summarise it all:

https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/
https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/

In both blogs I referred to your work @gvenzl

gvenzl added a commit that referenced this issue Jul 2, 2022
Signed-off-by: gvenzl <gerald.venzl@gmail.com>
@gvenzl
Copy link
Owner

gvenzl commented Jul 2, 2022

That's amazing, thanks so much for doing that, @tomdevroomen!

I have added the instructions into the ReadMe as well.
Hopefully, this will help all other Apple M chip users to run these images!

@gvenzl gvenzl closed this as completed Jul 3, 2022
gvenzl added a commit that referenced this issue Jul 4, 2022
* Document Apple M chips (#63)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Implemented --nowait (#119)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>
@jhswedeveloper
Copy link

jhswedeveloper commented Nov 2, 2022

I've written 2 blogpost to summarise it all:

https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/

In both blogs I referred to your work @gvenzl

@tomdevroomen Hi have you had any perf issue? I've tried same setup but takes really long for my app to connect to oracle container once it is up and running. Used to take 20 sec, now more like 2 mins.

@tomdevroomen
Copy link

I've written 2 blogpost to summarise it all:
https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/
In both blogs I referred to your work @gvenzl

@tomdevroomen Hi have you had any perf issue? I've tried same setup but takes really long for my app to connect to oracle container once it is up and running. Used to take 20 sec, now more like 2 mins.

Yes, there's a performance penaulty, as with colima virtualisation is used, so instructions need to be translated.
But I take that for granted, as I have no other option.

@Rosso84
Copy link

Rosso84 commented Feb 28, 2023

Worked with colima here as well, thanks!

@p5t5r
Copy link

p5t5r commented Mar 9, 2023

Hi

It works fine, thanks! but after that all other docker images (here: redis, rabbit) were unusable and i had to create them as new ones and they are visible under 'docker ps' command but not in Docker desktop app. Docker App is empty. Correct?

@kiview
Copy link

kiview commented Apr 13, 2023

The Docker Desktop GUI is in no way connected to Colima. The Docker CLI working with Colima probably works through the Docker context.

@joc-a
Copy link

joc-a commented Aug 8, 2023

I've written 2 blogpost to summarise it all:

https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/

In both blogs I referred to your work @gvenzl

Hi @tomdevroomen. I followed the steps in your first blog post, but I am still running into issues and I don't know what I'm missing. Would appreciate a second pair of eyes for this.

Here is my docker-compose YAML file:

version: '3.1'

services:
    oracle:
        container_name: oracleDB
        image: gvenzl/oracle-xe:18
        platform: linux/amd64
        ports:
            - "1521:1521"
        environment:
            ORACLE_PASSWORD: "StrongPassword"

And this is the log:

CONTAINER: starting up...
CONTAINER: first database startup, initializing...
CONTAINER: uncompressing database data files, please wait...
CONTAINER: done uncompressing database data files, duration: 14 seconds.
CONTAINER: starting up Oracle Database...

LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 08-AUG-2023 10:06:26

Copyright (c) 1991, 2018, Oracle.  All rights reserved.

Starting /opt/oracle/product/18c/dbhomeXE/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 18.0.0.0.0 - Production
System parameter file is /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 18.0.0.0.0 - Production
Start Date                08-AUG-2023 10:06:26
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))
The listener supports no services
The command completed successfully
ERROR:
ORA-12547: TNS:lost contact


SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] 
where <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] 
where <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
CONTAINER: starting up...
CONTAINER: database already initialized.
CONTAINER: starting up Oracle Database...

LSNRCTL for Linux: Version 18.0.0.0.0 - Production on 08-AUG-2023 10:07:20

Copyright (c) 1991, 2018, Oracle.  All rights reserved.

Starting /opt/oracle/product/18c/dbhomeXE/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 18.0.0.0.0 - Production
System parameter file is /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 18.0.0.0.0 - Production
Start Date                08-AUG-2023 10:07:22
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))
The listener supports no services
The command completed successfully
ERROR:
ORA-12547: TNS:lost contact


SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] 
where <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] 
where <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

@tomdevroomen
Copy link

@joc-a Looks like you're still trying to run de oracle image with a default docker env.

ERROR: ORA-12547: TNS:lost contact is the exact message I got when running it on a default docker env.
Make sure you run you compose file with the docker instance running on Colima.
You can verify this with docker context list and having the active context pointing to the colima docker endpoint like this (the one with the * is the currently active one):

docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                            KUBERNETES ENDPOINT   ORCHESTRATOR
colima              moby                colima                                    unix:///Users/user/.colima/default/docker.sock
default *           moby                Current DOCKER_HOST based configuration   unix:///Users/user/.colima/docker.sock

output of env | grep DOCKER_HOST should be

> env | grep DOCKER_HOST
DOCKER_HOST=unix:///Users/user/.colima/docker.sock

if this all doesn't point to colima, set the DOCKER_HOST, which is only active for the current shell where you're working in.

@joc-a
Copy link

joc-a commented Aug 14, 2023

@joc-a Looks like you're still trying to run de oracle image with a default docker env.

ERROR: ORA-12547: TNS:lost contact is the exact message I got when running it on a default docker env. Make sure you run you compose file with the docker instance running on Colima. You can verify this with docker context list and having the active context pointing to the colima docker endpoint like this (the one with the * is the currently active one):

docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                            KUBERNETES ENDPOINT   ORCHESTRATOR
colima              moby                colima                                    unix:///Users/user/.colima/default/docker.sock
default *           moby                Current DOCKER_HOST based configuration   unix:///Users/user/.colima/docker.sock

output of env | grep DOCKER_HOST should be

> env | grep DOCKER_HOST
DOCKER_HOST=unix:///Users/user/.colima/docker.sock

if this all doesn't point to colima, set the DOCKER_HOST, which is only active for the current shell where you're working in.

@tomdevroomen I set up everything exactly as explained in your reply, but I'm still getting ORA-12547: TNS:lost contact.

@Sneang1
Copy link

Sneang1 commented Aug 15, 2023

Hi, may I ask for your help? I got * at the end of colima but I still not error " ERROR:
ORA-12541: TNS:no listener" could you help me to solve this problem? I used M1 Chip.
I thank you in advance

@VladRoscaDev
Copy link

VladRoscaDev commented Dec 14, 2023

Based on this new image: oracle/docker-images#1951 (comment)
Is there a chance we would get it ?

They also stated : " container-registry.oracle.com/database/enterprise:19.19.0.0 is only built for linux/arm64 currently."

gvenzl added a commit that referenced this issue Dec 2, 2024
* Update tests and retries

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update all references to REGULAR images

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Clean zip files in lib dir

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove not needed deps from fortran runtime

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove inventory directory

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Move zip file to ORACLE_BASE for host-only vols

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Use SHRINK SPACE for TEMP files

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Exit SQL*Plus on SQL errors

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add tag and upload scripts

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove XDB

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Oracle Text

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Spatial

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Escape $ signs

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix rm ctx typo

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Create new TEMP tablespace for SEED

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Shrink UNDO tablespaces

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Intro Artifactory uploads

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add fully qualified tags

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ReadMe

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Undo retention no longer required

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Further reduce 11g slim image

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* No longer needed due to new UNDO tablespace creation

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove OJVM and Java Packages + Multimedia and XDK dependencies

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ReadMe

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introduce tests for ORACLE_PASSWORD and ORACLE_RANDOM_PASSWORD

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* ER #16: provide APP user variables

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add Ora pwd, random pwd and app user/pwd tests

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove workspace manager

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove OLAP

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update package dependencies removal

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Make removal messages consistent

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix Java Packages removal

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* ER #22: provide GitHub Actions snippet

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Java Package leftovers

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Do not remove SLAX, used for PL/SQL

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Oracle Text, produce SLIM image

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update dep removal

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add 18c slim tests

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Do not remove LDAP folder

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update test descriptions

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* SQLPlus: fail on error

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove OJVMSYS leftover

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* ER #23: Support ORACLE_DATABASE

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add checkpoint after UNDO switch

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove GPX, standalone, can be downloaded

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update container test run script

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ReadMe for OARCLE_DATABASE 18c only

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ReadMe with SLIM image

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add slim images to upload scripts

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Spatial

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Oracle R

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Cluster Ready Services (crs)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Clsuter Verification Utility

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove deinstall directory

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Oracle Database Provider for Distributed Relational Database Architecture (DRDA)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove install directory

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ReadMe

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove 'ord' and 'ordim' directories

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Universal Installer

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove additional components

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* update option flag for build script

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix typo in sqlnet.ora

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* disable netca

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Register new PDB with Listener

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* set shared servers to 0

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix cleanup for non-localhost bulid containers

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove unnecessary bianries and libraries

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Doc: Remove unnecessary bianries and libraries

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add backup for old images

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* use fully qualified image urls

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* invoke backup of old images by default

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add users to ReadMe

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* List RPM package removal alphabetically

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* List RPM package removal alphabetically

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Gracefully stop listener (now that listener is started manually)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix typo in RPM package removal

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introducing 21c-full

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fixing minor Doc bug

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add image users

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add 21c supported tags

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Explain persistent containers

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update 18c to '18c and onwards'

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add cleanup to 21c images

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add jOOQ as image user

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introducing 21c regular

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix static ora* location scripts

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add 21c images for upload

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update Readme with 21c tags

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add artifactory upload

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Adding Container Example Start/Creation Script

* Incorporated feedback and fixes from pull request in example script

* Fix for #43

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Oracle Memory Speed (OMS) PMEM binaries

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove MLE

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Added PWgen check

* Clean lastlog

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add 21c backups

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix typo for 21 tests

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix for #50, set exec permissions for shell scripts

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add utPLSQL as users

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Better GitHub Actions documentation as per #45

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Document Upscheme user (#56)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update RPM package uninstall for new OL image

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introducing 21c-slim

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove ore.so in 18c

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Move REDO resize to other resize operations to avoid 'checkpoint incomplete' during setup

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Resize REDO logs at end to avoid 'checkpoint incomplete' during setup

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add Sqitch to users as per #46

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* 21-slim GA ready

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Put Docker.io login as first step

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Examples folder from main ReadMe

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Assign variable values before input check

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix example script 'pwgen' check

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introduce fix for #64 (Increase SGA_TARGET on high CPU count)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove Replay Upgrade feature

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Clean up METASTYLESHEET LOBs

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Rebuild pdbsync indexes

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Clean up fed blocks

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Shrink CDB SYSTEM tablespace datafile

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* List Ruby packages users (#66)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Shrink 21c CDB TEMP datafile

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Shrink 18c TEMP datafile

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove OLAP library

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Do not increase SGA_TARGET for 11g (fixes #71) (#72)

Oracle Database 11g XE is restricted to use no more than 1 GB of memory. The
fix for #64 sets the memory to 1.5 GB, so that the database fails to start with
the error:

ORA-47500: XE edition memory parameter invalid or not specified

* Update note for #72

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* ER #60: introduce container minimum memory check

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* ER #61: introduce container minimum memory check

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update utPLSQL references as per #77

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Provide TDE setup script example as per #70

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* More solid fix for #64

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Enhance documentation for secrets (#69)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Document HitHub Action container label usage (#81)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix doc bug for APP_USER

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add CREATE SYNONYM permission to APP_USER. (#94)

* Externalise script createAppUser (#103)

Closes #102

* Modularize app user creation

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update image users

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix typo

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix #104

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Inlcude pam package for OS based auth (#57)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Generic fix for #64

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Include 21-slim in backups

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Pre-create container init folders (#108)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Enable Diag and Tuning packs (and EM Express) #112

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Disable audit log

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ImageDetails.md

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix for #109

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Reorder references

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update references

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Document Apple M chips (#63)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Implemented --nowait (#119)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix missing link for colima install

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introduce faststart images ER #36

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Introduce faststart images (ER #36)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Provide images on GHCR (ER #131)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* fix #144

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Include -faststart images in backup

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Document recursive init scripts, make output a bit more readable

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix #142, use default memory for BUILDKIT

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* #157: Futher specify faststart image use not being for persistency

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix typo #168

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* #171 Allow mounting external volume for oradata subfolders (#172)

Signed-off-by: Loïc LEFEVRE <loic.lefevre@gmail.com>

* Fix #171: do not delete directory structure

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Make init script against XE more prominent in README

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add 'find' utility for 11.2 build

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add details for enabling In-Memory Columnar processing on XE #188 (#189)

* 21c multiple layers

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* multiple layers faststart

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Multiple layers 18c

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update faststart for 11g

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* harmonize Dockerfiles

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* multi-layer 11g

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Use user- / group name for chown

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Document -x buildContainerImage.sh parameter

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* use env vars instead of literal

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove unnecessary timezone files

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove unecessary binaries

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update ImageDetails with timezone files

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Cleanup comments

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Remove old timezone info 18c

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Further remove binaries in 18c

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Use 7z for data files uncompress

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Don't shasum faststart image build

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Run ORACLE_DATABASE case insensitive tests

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Use docker.io login

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update Quarkus Reference

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Migrate Benthos

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Migrate Hibernate Reactive

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Healthcheck PDB status for 18c+

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update resetPassword param documentation

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update Spring Data reference

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update .bash_profile variables

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Backport healthcheck from Free images (#215)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Use XEPDB1 as default

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update jOOQ reference and 'sqlplus'

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix #202, /oradata permissions

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Provide user warning of old images

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Update Ruby on Rails ActiveRecord user

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Provide FREE,FREEPDB1 service names (ER #238)

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

* Update readme

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

* Update labels

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

* Fix for #57

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

* Upgrade 7zip

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

* Update ReadMe and docker startup script

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>

---------

Signed-off-by: gvenzl <gerald.venzl@gmail.com>
Signed-off-by: Loïc LEFEVRE <loic.lefevre@gmail.com>
Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
Co-authored-by: Daniel Haanpaa [Lab0] <dhaanpaa@djhent.us>
Co-authored-by: cedric-v3 <cedric.staniewski@v3consulting.com>
Co-authored-by: Simon Potter <simon@sjp.co.nz>
Co-authored-by: Neil Crow <crowneil@gmail.com>
Co-authored-by: Loïc LEFEVRE <loic.lefevre@gmail.com>
Co-authored-by: Loïc LEFEVRE <loic.lefevre@oracle.com>
@wib2
Copy link

wib2 commented Jan 15, 2025

i don't know "host localhost port 1521 isn't listener" ORA-12541
how i can up to host listener? my env is m1 mac plz help*
i spent all week for this problem help me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question I have a question that I would like to ask
Projects
None yet
Development

No branches or pull requests