docker-oracle-12c icon indicating copy to clipboard operation
docker-oracle-12c copied to clipboard

There was a problem initializing the tablespace

Open imyouzhen opened this issue 4 years ago • 1 comments

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

imyouzhen avatar Jul 16 '20 10:07 imyouzhen

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

banlex73 avatar May 22 '23 18:05 banlex73