Open Impakt opened 4 months ago
Try using absolute paths for the volumes.
same issue i'm afraid.
I changed the manageOracle.sh script where the fast_recovery_area
dir is created to this:
ls -l /u03/app/
ls -l ${RECO}
mkdir -p "${RECO}/fast_recovery_area/${ORACLE_SID}" || error "Could not create the FRA directory for ${ORACLE_SID}"
And when that part of the script is executed, this is the output:
oracle-arm | drwxr-xr-x 2 root root 4096 May 9 06:09 oracle
oracle-arm | drwxr-xr-x 2 root root 64 May 9 06:10 oracle \
oracle-arm | total 0
oracle-arm | mkdir: cannot create directory '/u03/app/oracle/fast_recovery_area': Permission denied
oracle-arm | ERROR: Could not create the FRA directory for ORCLCDB
That error is saying that the path in the container can't be created. Since it's referencing a volume on the host, it needs (first) an absolute path (container ecosystems don't do relative paths) and correct permissions on the local volume.
./data/oracle/oradata
is not an acceptable path for mapping to the local host. Relative paths could change based on the user's current directory at runtime, and multiple calls to docker [run|compose]
from different directories would produce inconsistent results. Dot notation and tilde references are not allowed.
Change the local path used for mounting the volumes to something like:
/home/myuser/data/oracle/oradata
rookie error on my part. I had the trailing slash in my compose file (look at the volumes) because i copied/pasted your docker command in the readme and pasted it to my compose file but forgot to remove them. Now im trying to get the image to run my scripts to populate the database like this one. Sorry for wasting your time
Hello, I followed the documentation and was able to build 19.19 on my macbook, but I can't get it to start regardless whether i use compose or not
compose:
All of the directories are empty and even have 777 pernissions. Startup logs:
Any help would be greatly appreciated, and happy to help test to get it working.