MaksymBilenko / docker-oracle-12c

:whale: Docker image with Oracle Database 12c on board
Apache License 2.0
679 stars 285 forks source link

Second start container DBT-06607 #162

Open khabirovar opened 2 years ago

khabirovar commented 2 years ago

I created container with volume to /u01/app/oracle. Passthrough dump file. Import it via impdp. Shutdown container. When I start container second time have error:

Database not initialized. Initializing database. mv: inter-device move failed: '/u01/app/oracle-product/12.2.0/SE/dbs' to '/u01/app/oracle/dbs/dbs'; unable to remove target: Permission denied Starting tnslsnr [FATAL] [DBT-06607] The data file (/u01/app/oracle/oradata/xe/system01.dbf) already exists on the file system. CAUSE: This configuration is going to create the data file location (/u01/app/oracle/oradata/xe/system01.dbf). But it is detected that there is an existing database using this data file location or the data files from a previous configuration may be left behind. ACTION: Clean up the existing data files, or provide a different db_unique_name.