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

SP2-0310: unable to open file "/u01/...createdb.sql" on step 2.3 #32

Open
njgraham opened this issue Jul 13, 2016 · 0 comments
Open

SP2-0310: unable to open file "/u01/...createdb.sql" on step 2.3 #32

njgraham opened this issue Jul 13, 2016 · 0 comments

Comments

@njgraham
Copy link

njgraham commented Jul 13, 2016

Reproduction:

[root@b7d7d0583940 /]# /tmp/create
Wed Jul 13 20:12:40 UTC 2016
Creating database...

SQL*Plus: Release 12.1.0.2.0 Production on Wed Jul 13 20:12:40 2016

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

SP2-0310: unable to open file "/u01/app/oracle/product/12.1.0/dbhome_1/config/scripts/createdb.sql"

Various seemingly random files in the /u01/app/oracle directory are owned by root and only rw by owner.

Workaround:

[root@1fd1cc35b02e /]# chown -R oracle /u01/app/oracle

Environment:
SUSE Linux Enterprise Server 12 SP1
Docker version 1.10.3, build 9e83765

Other Notes
After step3, the database wouldn't start up - I had to run the chown -R command again as the /tmp/start script seemed to get stuck due to permissions errors.

I've used this project before without problem on other platforms/docker versions. I'm not sure what's different here but maybe adding the appropriate chmod to the script would fix it for my environment and not harm others.

Here's hoping I get around to trying it out and generating a pull request.

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

1 participant