You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
The text was updated successfully, but these errors were encountered: