Comments (11)
@linkcrux I just shutdown the database and listener and then executed “relink all”.
I have an extension of the docker image created by @wscherphof where I fix this problem. It could be useful if you want to use CDB/PDB feature as well. Have a look at https://github.com/nollymar/oracle-12c-cdb
from oracle-12c.
I get the same. Any progress?
from oracle-12c.
I had the same issue, which I was able to resolve by changing the kernel shared memory settings (in sysctl.conf):
kernel.shmall = 18446744073692774399
kernel.shmmax = 18446744073692774399
(Values depending on the amount of memory you have in the machine)
from oracle-12c.
Same here, +1
from oracle-12c.
I still get the same TNS:lost contact error even if i change the kernel memory settings.
After changing them and reloading them with sysctl --system, do you do anything else?
How do you restart the TNS Listener oracle service on this container ?
from oracle-12c.
@cosminj I solved the problem executing a relink all.
My problem was that these files were empty:
$ORACLE_HOME/bin/oracle
$ORACLE_HOME/rdbms/lib/config.o
Take a look at this page: https://oracledbamasters.wordpress.com/2014/02/25/ora-12547-tns-lost-contact/
from oracle-12c.
@blagerweij / @nollymar ,
Can you please list me the instructions how you could resolve it ?
- I tried kernel settings inside the docker instance step2, before step2 #3 :
/tmp/create
No luck, I still get 'lost contact'
- I tried 'relink all' (as my $ORACLE_HOME/bin/oracle is zero bytes), but it fails with error :
./relink: line 168: 66 Segmentation fault (core dumped) $ORACLE_HOME/perl/bin/perl $ORACLE_HOME/install/modmakedeps.pl $ORACLE_HOME $ORACLE_HOME/inventory/make/makeorder.xml > $CURR_MAKEORDER
writing relink log to: /u01/app/oracle/product/12.1.0/dbhome_1/install/relink.log
With below error in the log :
oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
Anything you can suggest ?
from oracle-12c.
I have the same issue and it seems that its related to installing oracle on a Mac.
See here: https://forums.docker.com/t/perl-segmentation-fault-oracle-12c-install-docker-mac-mac-pro/18256
from oracle-12c.
@linkcrux, did you solve the problem?
@pointerxr, for the installation I used a Mac and could solve the problem as recommended above.
from oracle-12c.
Guy's, I had this problem last year. I solved it by downgrading my VM to Ubuntu 14.04 and then building the image in it. This was tried twice, hope this helps.
from oracle-12c.
@nollymar your repo is the one I had real success creating oracle 12c docker container. Thank you for the PDB, am trying out different options that fit my project. Will message you in case I run into issues.
from oracle-12c.
Related Issues (20)
- Step1 error with running command from `/tmp/install/install` HOT 1
- One of the required property is missing in the response file HOT 1
- build fail at step1 HOT 1
- putting oracle data in a volume? HOT 4
- Unable to login as sys/change_on_install from sqlplus HOT 1
- Stuck in step 2 - running catalog.sql HOT 6
- Error: image wscherphof/oracle-12c not found HOT 1
- publishing Dockerfile for: wscherphof/oracle-linux-7 HOT 5
- Unable to clean prior step images
- Flashback and support.
- can't mount partition /dev/shm
- linuxamd64_12102_database_1of2.zip: no such file or directory
- "/tmp/db_install.rsp (Permission denied)" on step 1.6
- SP2-0310: unable to open file "/u01/...createdb.sql" on step 2.3
- not found in the registry HOT 4
- configToolAllCommands does not exit...
- Why need 3 steps? HOT 1
- Get stuck at step 1
- How to start the container with Oracle started?
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 oracle-12c.