Comments (8)
How do you run the container? Did you use --shm-size
parameter? Oracle AMM requires shared memory to be mounted.
from docker-oracle12c.
Hi @bofm
Thanks for the quick response, this is the command I've executed:
docker run -d --shm-size 1GB --name oracledb -p 1521:1521 bofm/oracle12c
from docker-oracle12c.
Is shared memory mounted on the host?
mount|grep shm
If it's not, try this:
mount -t tmpfs tmpfs /dev/shm -o rw,nosuid,nodev
from docker-oracle12c.
Yes, it is:
$ mount | grep shm
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
Thanks for your help!
from docker-oracle12c.
Could you please
docker run --rm --shm-size 1GB bofm/oracle12c bash -c mount | grep -E 'shm|tmpfs'
from docker-oracle12c.
I had a very similar error and just had to increase the size of the shared memory.
Before:
- docker run -d --shm-size 1GB --name oracledb -p 1521:1521 bofm/oracle12c
After: - docker run -d --shm-size 4GB --name oracledb -p 1521:1521 bofm/oracle12c
Doing an attach to the running container showed exactly what the problem was:
- docker attach bofm/oracle 12c
from docker-oracle12c.
Exactly! Oracle attempts to use 40% of total memory and fails as there is only 1G available. If you are not planning to use more than 1G then just edit create_database script and set memory percentage according to your requirements.
If there is 8GB of memory on the Docker host and 1GB is planned to be given to Oracle database, then memory percentage should be set to 12 and --shm-size 1GB
arg should be used when running the container.
from docker-oracle12c.
Change memory percentage to 12 worked as charm, thanks for the help!
from docker-oracle12c.
Related Issues (14)
- exec failed: permission denied HOT 4
- unable to run with zfs storage driver HOT 5
- dbca_log: ORA-00845: MEMORY_TARGET not supported on this system HOT 2
- /bin/bash: ./runInstaller: No such file or directory
- DB Auto-Shutdown after a short period HOT 9
- do we need to orainstRoot.sh and root.sh script or it is automatic HOT 2
- Unable to change password for oracle user HOT 4
- manifest for bofm/oracle12c:installed not found HOT 3
- Username and password? HOT 1
- Can you tell me how to change the port of the database? HOT 8
- make: *** [install] Error 127 /bin/bash: ./runInstaller: No such file or directory HOT 1
- Apex Support, Windows, Persistent DB? HOT 1
- Error to install /bin/bash: ./runInstaller: No such file or directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-oracle12c.