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

Open
SunithaR opened this Issue Jul 11, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@SunithaR

SunithaR 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.

ERROR:
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/startup.sh: ignoring /docker-entrypoint-initdb.d/*

@pawwal

This comment has been minimized.

Show comment
Hide comment
@pawwal

pawwal 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.

pawwal 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