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

docker restart error,ora-12514 #87

Open
qlong8807 opened this issue Mar 27, 2018 · 2 comments
Open

docker restart error,ora-12514 #87

qlong8807 opened this issue Mar 27, 2018 · 2 comments

Comments

@qlong8807
Copy link

whether I run with:
docker run -d -P -p 1521:1521 -p 8080:8080 --name 11gxe wnameless/oracle-xe-11g
or
docker run -d -P -p 1521:1521 -p 8080:8080 --name 11gxe -v /oracle/data/:/u01/app/oracle wnameless/oracle-xe-11g
I can connect it with navicat.
but,when I restart the docker container with(docker stop/start 11gxe),
I always get the error when I connect it with navicat:
**ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
**
I cannot fix it.please help me! thanks

If you know the error and know how to fix it,can you email to me([email protected])?very very thanks!!

@qlong8807
Copy link
Author

because docker instance can not save the oracle status.
if restart oracle,should be enter this instance and start linstener.

@qq273681448
Copy link

qq273681448 commented May 18, 2018

i think that it's impossible. unless you edit the config file of oracle.

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

2 participants