Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Building OracleFormsReports #1

Open
programetica opened this issue Dec 13, 2017 · 4 comments
Open

Error Building OracleFormsReports #1

programetica opened this issue Dec 13, 2017 · 4 comments
Assignees

Comments

@programetica
Copy link

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.

image

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.

@DirkNachbar
Copy link
Owner

Hi @Holodny ,

you are right, you have to disable SELinux on your Docker host.

I will update the README.md.

Cheers
Dirk

@DirkNachbar DirkNachbar self-assigned this Dec 14, 2017
@programetica
Copy link
Author

programetica commented Dec 14, 2017

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:
image

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.

@DirkNachbar
Copy link
Owner

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

@ldessemon
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants