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

Cannot connect to the DB #59

SunithaR opened this issue Jul 11, 2017 · 1 comment


None yet
2 participants
Copy link

commented Jul 11, 2017

I can no longer connect to the DB after running this docker image on my mac. It used to work fine

docker pull wnameless/oracle-xe-11g
docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g

Cannot connect using the below
hostname: localhost
port: 49161
sid: xe
username: system
password: oracle

Error in docker logs
Starting Oracle Net Listener.
Starting Oracle Database 11g Express Edition instance.

ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0

SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]]
where ::= [/][@<connect_identifier>]
::= [][/][@<connect_identifier>]
/usr/sbin/ ignoring /docker-entrypoint-initdb.d/*


This comment has been minimized.

Copy link

commented Nov 17, 2017

I stumbled upon this issue today on Fedora 26 and docker from Fedora repository (which is rather old version of docker). After replacing it with docker-ce from docker's official repo, the problem went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.