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

There was a problem initializing the tablespace #146

Open
imyouzhen opened this issue Jul 16, 2020 · 1 comment
Open

There was a problem initializing the tablespace #146

imyouzhen opened this issue Jul 16, 2020 · 1 comment

Comments

@imyouzhen
Copy link

I want to initialize a tablespace in the ‘entrypoint.sh’,added in line 84:
su oracle -c 'echo -e "create tablespace sino datafile '/u01/app/oracle/oradata/sino.dbf' size 1000M autoextend on next 100M maxsize unlimited;" | $ORACLE_HOME/bin/sqlplus -S / as sysdba'

Log output error information:
`create tablespace sino datafile /u01/app/oracle/oradata/sino.dbf size 1000M autoextend on next 100M maxsize unlimited
*
ERROR at line 1:
ORA-02236: invalid file name

`
I guess there's a problem with single quotes in the script。
So, what is the correct format?

init_test.zip

@banlex73
Copy link

should be datafile '/u01/app/oracle/oradata/sino.dbf '

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