Open programetica opened 6 years ago
Hi @holodny ,
you are right, you have to disable SELinux on your Docker host.
I will update the README.md.
Cheers Dirk
I disabled Selinux on the host and rebooted and checked the sestatus and it showed disabled. I ran again as regular user and root and still get this error:
Step 13/16 : RUN cd /opt && ./$FMW_BIN -silent -responseFile /opt/formsreports.response -invPtrLoc /opt/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME && rm -fr /opt/.bin /opt/.zip /opt/.response /opt/.loc ---> Running in 614f1d1e9af5 Launcher log file is /tmp/OraInstall2017-12-14_03-49-03PM/launcher2017-12-14_03-49-03PM.log. Extracting the installer . . . . Done Self extraction to /tmp/sfx_sBRzmF failed. The log is located here: /tmp/OraInstall2017-12-14_03-49-03PM/launcher2017-12-14_03-49-03PM.log. ERROR: Installer execution failed (1). Removing intermediate container 614f1d1e9af5 The command '/bin/sh -c cd /opt && ./$FMW_BIN -silent -responseFile /opt/formsreports.response -invPtrLoc /opt/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME && rm -fr /opt/.bin /opt/.zip /opt/.response /opt/.loc' returned a non-zero code: 1 ERROR: There was an error building the image.
I looked for the installer logs in the /tmp directory and they weren't there. I'm not sure if the messages referring to log files are referring to the host machine tmp directory or a tmp directory in the container?
This is what I have so far:
I tried running the container and adding an entry point to see if the error log was in the container but haven't been successful yet.
Hi @holodny ,
the tmp directory in your case is inside the Image, not mapped.
You should check, if you have set the parameter DOCKER_STORAGE_OPTIONS
in your /etc/sysconfig/docker-storage
configuration file. Default value for this Parameter is normally 10GB, which is too less for the Oracle Forms & Reports Images.
You should add following line to your /etc/sysconfig/docker-storage configuration file:
DOCKER_STORAGE_OPTIONS= --storage-driver devicemapper --storage-opt dm.basesize=25G
Another point which you should check is, if your Docker host have enough free disk space, specially the mapped volume (in case this is an extra disk).
Cheers Dirk
Hi @holodny Check your file fmw_12.2.1.3.0_fr_linux64-2.zip , it must contains a folder Disk2. Unzip it in a temporary folder to check the contain. I got the same issue, and after some investigation I found the root cause, my file was wrong. Mine was containing an another zip file.
Hi Dirk, I was able to build everything involved in the 12.2.1.3 section until I got to the OracleFormsReports. I ran them and ran into the error shown in the image below. You'll notice I'm running as root this time, I tried it as the normal user previously and got the same error.
I'm running the build on a Centos 7 virtual machine on VirtualBox. I think it's having issues with writing to the /tmp folder, maybe because of Selinux? I think this because of the failure and because when I go to look for the log that it says is under the /tmp directory, it's not there.