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

ORACLE not available when i run this image #50

Closed
Jason2002 opened this issue Feb 27, 2017 · 5 comments
Closed

ORACLE not available when i run this image #50

Jason2002 opened this issue Feb 27, 2017 · 5 comments

Comments

@Jason2002
Copy link

hi team, i use this image to run a oracle container on centos 7, but when i run this, these error throw out, what mistake i made ?

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/*
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>]

@IceSeaOnly
Copy link

Hi,I have the same problem with lastest docker on centos 7 those days,have you solved this problem?

@zoechen799
Copy link

Same as I. Anyone can take a look?

@zoechen799
Copy link

Hi, I found the reason why got ORA-01034 and ORA-27101 on my side, It's because of selinux is turned on on host machine. To fix it.
modify /etc/selinux/config on host machine
set SELINUX=enforcing to SELINUX=disabled

@wnameless
Copy link
Owner

Thank you for this solution.

@integ-01
Copy link

i have the same problem and SELINUX=disabled but not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants