MaksymBilenko / docker-oracle-12c

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

cannot access /docker-entrypoint-initdb.d/*: No such file or directory #101

Closed TheAifam5 closed 6 years ago

TheAifam5 commented 6 years ago

Log:

6/13/2018 4:40:40 PMDatabase not initialized. Initializing database.
6/13/2018 4:40:40 PMStarting tnslsnr
6/13/2018 4:41:08 PMCopying database files
6/13/2018 4:41:08 PM1% complete
6/13/2018 4:41:34 PM3% complete
6/13/2018 4:41:34 PM11% complete
6/13/2018 4:42:14 PM18% complete
6/13/2018 4:42:54 PM26% complete
6/13/2018 4:43:00 PM37% complete
6/13/2018 4:43:00 PMCreating and starting Oracle instance
6/13/2018 4:43:27 PM40% complete
6/13/2018 4:43:36 PM45% complete
6/13/2018 4:46:26 PM50% complete
6/13/2018 4:46:26 PM55% complete
6/13/2018 4:46:27 PM56% complete
6/13/2018 4:46:27 PM60% complete
6/13/2018 4:46:27 PM62% complete
6/13/2018 4:46:27 PMCompleting Database Creation
6/13/2018 4:46:27 PM66% complete
6/13/2018 4:46:27 PM70% complete
6/13/2018 4:46:27 PM73% complete
6/13/2018 4:46:27 PM85% complete
6/13/2018 4:48:34 PM96% complete
6/13/2018 4:48:34 PM100% complete
6/13/2018 4:48:34 PMLook at the log file "/u01/app/oracle/cfgtoollogs/dbca/xe/xe.log" for further details.
6/13/2018 4:48:34 PMConfiguring Apex console
6/13/2018 4:50:16 PMDatabase initialized. Please visit http://#containeer:8080/em http://#containeer:8080/apex for extra configuration if needed
6/13/2018 4:50:16 PMStarting web management console
6/13/2018 4:50:17 PM
6/13/2018 4:50:17 PMPL/SQL procedure successfully completed.
6/13/2018 4:50:17 PM
6/13/2018 4:50:17 PMStarting import from '/docker-entrypoint-initdb.d':
6/13/2018 4:50:17 PMls: cannot access /docker-entrypoint-initdb.d/*: No such file or directory
6/13/2018 4:50:17 PMImport finished
6/13/2018 4:50:17 PM
6/13/2018 4:50:17 PMDatabase ready to use. Enjoy! ;)
anushibin007 commented 6 years ago

Try this:

  1. Stop Docker using: systemctl stop docker

  2. Execute the below command: echo "{ \"storage-driver\": \"devicemapper\" }" > /etc/docker/daemon.json

  3. Start Docker again: systemctl start docker

TheAifam5 commented 6 years ago

I'm using RancherOS for that. I tried to change it with ros but I get an error that the driver is not supported and something about experimental stuff :)

EDIT: I connected with a shell to the container and inside the directory "docker-entrypoint-initdb.d" is nothing.