FA RDBMS install fails - Private-run-tpu Running TechPatch Utility - BUILD_ERROR An Error Occurred While Running (Doc ID 1947085.1)

Last updated on MAY 13, 2016

Applies to:

Oracle Fusion Application Toolkit - Version 11.1.8.0.0 and later
Information in this document applies to any platform.
*** Checked for accuracy 05/13/16 ***

Symptoms

Fusion Applications 11.1.8 database install is failing on preconfigure step.

The runFusionDB-preconfigure.log shows

[2014-11-10T21:25:17.083-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] UtilSession failed:
[2014-11-10T21:25:17.083-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Please run "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp" to generate an OCM response file. The generated response file
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] can be reused on different platforms and in multiple OPatch silent installs.
[2014-11-10T21:25:17.084-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] To regenerate an OCM response file, Please rerun "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp".
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.085-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.095-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Log file location: /app/database/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-11-10_21-25-11PM_1.log
[2014-11-10T21:25:17.096-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.120-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.120-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.120-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] OPatch failed with error code 73
[2014-11-10T21:25:17.120-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.128-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Execution of the command /app/database/product/11.2.0/dbhome_1/OPatch/opatch  napply -silent -skip_duplicate -skip_subset -oh /app/database/product/11.2.0/dbhome_1 -phBaseDir /app/Stg/installers/database/psu -jre /app/Stg/jdk6/jre -invPtrLoc /app/database/product/11.2.0/dbhome_1/oraInst.loc completed with status 73
[2014-11-10T21:25:17.142-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] **** Returning from execute method
[2014-11-10T21:25:17.142-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.157-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Check the logfile for opatch at this directory: /app/database/product/11.2.0/dbhome_1/cfgtoollogs/opatch
[2014-11-10T21:25:17.157-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] ###Opatch exit code was: 73
[2014-11-10T21:25:17.158-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Opatch failed.
[2014-11-10T21:25:17.158-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Command execution completed.
[2014-11-10T21:25:17.160-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Job completed with exit status: 73
[2014-11-10T21:25:17.461-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Check the output file /tmp/fatechpatch/apply_repo_dboutput.xml for status on each job.
[2014-11-10T21:25:17.462-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Created checkpoint file at: /app/database/product/11.2.0/dbhome_1/tpu/DB_2014-11-10_09-11-29/db_server_bundle/techpatch/jobs
[2014-11-10T21:25:17.462-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Exiting the utility because of exception or skipOnJobFailure is false
[2014-11-10T21:25:17.465-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Exiting the utility because of a command failure from a job with id:  2
[2014-11-10T21:25:17.466-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Exiting the utility because of a command failure from a job with id:  2
[2014-11-10T21:25:17.466-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Exiting the utility because of a command failure from a job with id:  2
[2014-11-10T21:25:17.466-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Utility exited with error, for details please refer the log /app/database/product/11.2.0/dbhome_1/tpu/DB_2014-11-10_09-11-29/db_server_bundle/techpatch/fatechpatch_2014-11-10_21-25-09PM.log
[2014-11-10T21:25:17.469-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] Error occured while launching the techpatch utility Exiting the utility because of a command failure from a job with id:  2  [oracle.as.install.fatputil.util.exception.PAException: Exiting the utility because of a command failure from a job with id:  2
[2014-11-10T21:25:17.469-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec]     at oracle.as.install.fatputil.core.ExecutorService.executeJobs(ExecutorService.java:183)
[2014-11-10T21:25:17.470-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec]     at oracle.as.install.fatputil.targets.StandaloneTarget.initiate(StandaloneTarget.java:196)
[2014-11-10T21:25:17.470-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec]     at oracle.as.install.fatputil.core.PatchController.initiate(PatchController.java:66)
[2014-11-10T21:25:17.470-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec]     at oracle.as.install.fatputil.cli.MwTechPatchUtil.start(MwTechPatchUtil.java:138)
[2014-11-10T21:25:17.470-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec]     at oracle.as.install.fatputil.cli.MwTechPatchUtil.main(MwTechPatchUtil.java:206)
[2014-11-10T21:25:17.470-05:00] [runFusionDB-preconfigure] [WARNING] [] [runFusionDB-preconfigure] [tid: 12] [ecid: 0000KaSepxa1j^tzWcUKO71KONE1000003,0]  [exec] ]
[2014-11-10T21:25:17.471-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Total time taken by the utility: 7565 milliseconds
[2014-11-10T21:25:17.486-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec]
[2014-11-10T21:25:17.487-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 11] [ecid: 0000KaSeoF51j^tzWcUKO71KONE1000002,0]  [exec] Oracle Fusion Applications Techpatch Utility failed with error code 1
[2014-11-10T21:25:17.494-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 10] [ecid: 0000KaSen4S1j^tzWcUKO71KONE1000001,0]  [logStatus] STATE=BUILD_ERROR!TIMESTAMP=2014-11-10 21:25:17 EST!TARGET=private-run-tpu!CATEGORY=database!DOMAIN=NONE!HOSTNAME=idmhost.mycompany.com!PRODUCTFAMILY=dbserver!PRODUCT=RDBMS_11gR2!TASK=Running TechPatch Utility!TASKID=dbserver.RDBMS_11gR2.NONE.private-run-tpu.NONE!MESSAGE=!DETAIL=An error occurred while running TechPatch to apply patches. Please view the log for the Preconfigure step.!BUILDFILE=/app/fusion/provisioning/provisioning-build/common-misc-build.xml!LINENUMBER=108!
[2014-11-10T21:25:17.500-05:00] [runFusionDB-preconfigure] [ERROR] [] [runFusionDB-preconfigure] [tid: 10] [ecid: 0000KaSen4S1j^tzWcUKO71KONE1000001,0]  An error occurred while running TechPatch to apply patches. Please view the log for the Preconfigure step.
[2014-11-10T21:25:17.538-05:00] [runFusionDB-preconfigure] [NOTIFICATION] [] [runFusionDB-preconfigure] [tid: 10] [ecid: 0000KaSen4S1j^tzWcUKO71KONE1000001,0]  [logStatus] STATE=BUILD_ERROR!TIMESTAMP=2014-11-10 21:25:17 EST!TARGET=listener-log-status-in-error!CATEGORY=private-run-tpu!DOMAIN=NONE!HOSTNAME=idmhost.mycompany.com!PRODUCTFAMILY=dbserver!PRODUCT=RDBMS_11gR2!TASK=private-run-tpu!TASKID=dbserver.RDBMS_11gR2.NONE.listener-log-status-in-error.NONE!MESSAGE=ERROR!DETAIL=The following error occurred while executing this line:|/app/fusion/provisioning/provisioning-build/common-misc-build.xml:110: An error occurred while running TechPatch to apply patches. Please view the log for the Preconfigure step.!BUILDFILE=/app/fusion/provisioning/provisioning-build/listener-build.xml!LINENUMBER=65!
[2014-11-10T21:25:17.538-05:00] [runFusionDB-preconfigure] [ERROR] [] [runFusionDB-preconfigure] [tid: 10] [ecid: 0000KaSen4S1j^tzWcUKO71KONE1000001,0] The following error occurred while executing this line:[[
/app/fusion/provisioning/provisioning-build/common-misc-build.xml:110: An error occurred while running TechPatch to apply patches. Please view the log for the Preconfigure step.
]]
[2014-11-10T21:25:17.544-05:00] [runFusionDB-preconfigure] [ERROR] [] [runFusionDB-preconfigure] [tid: 10] [ecid: 0000KaSen4S1j^tzWcUKO71KONE1000001,0] BUILD FAILED[[
/app/fusion/provisioning/provisioning-build/dbserver-build.xml:390: The following error occurred while executing this line:
/app/fusion/provisioning/provisioning-build/dbserver-build.xml:1077: The following error occurred while executing this line:
/app/fusion/provisioning/provisioning-build/common-misc-build.xml:110: An error occurred while running TechPatch to apply patches. Please view the log for the Preconfigure step.

 

The /app/database/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-11-10_21-25-11PM_1.log shows

[Nov 10, 2014 9:25:17 PM]    OUI-67073:UtilSession failed:
                            To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).
                            Please run "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp" to generate an OCM response file. The generated response file
                            can be reused on different platforms and in multiple OPatch silent installs.
                           
                            To regenerate an OCM response file, Please rerun "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp".
[Nov 10, 2014 9:25:17 PM]    Finishing UtilSession at Mon Nov 10 21:25:17 EST 2014
[Nov 10, 2014 9:25:17 PM]    Log file location: /app/database/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-11-10_21-25-11PM_1.log
[Nov 10, 2014 9:25:17 PM]    Stack Description: java.lang.RuntimeException:
                            To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).
                            Please run "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp" to generate an OCM response file. The generated response file
                            can be reused on different platforms and in multiple OPatch silent installs.
                           
                            To regenerate an OCM response file, Please rerun "/app/database/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp".
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.OPatchSessionHelper.validateOCMOption(OPatchSessionHelper.java:2324)
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:1480)
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1136)
[Nov 10, 2014 9:25:17 PM]    StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Nov 10, 2014 9:25:17 PM]    StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[Nov 10, 2014 9:25:17 PM]    StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Nov 10, 2014 9:25:17 PM]    StackTrace: java.lang.reflect.Method.invoke(Method.java:597)
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Nov 10, 2014 9:25:17 PM]    StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)

 

The latest install-core-<timestmap>-#####.log shows

/usr/bin/make -f /app/database/product/11.2.0/dbhome_1/ccr/lib/ins_emll.mk relink_exe EXENAME=nmz
make[1]: Entering directory `/tmp/core-11-11-2014_08.48.42-23392'
gcc -m32 -o /app/database/product/11.2.0/dbhome_1/ccr/bin/nmz -L/app/database/product/11.2.0/dbhome_1/ccr/lib/ -L/app/database/product/11.2.0/dbhome_1/ccr/lib/stubs/      `cat /app/database/product/11.2.0/dbhome_1/ccr/lib/sysliblist` -Wl,-rpath,/app/database/product/11.2.0/dbhome_1/lib -lm    `cat /app/database/product/11.2.0/dbhome_1/ccr/lib/sysliblist` -ldl -lm   -L/app/database/product/11.2.0/dbhome_1/lib -L/app/database/product/11.2.0/dbhome_1/ccr/lib/stubs/ /app/database/product/11.2.0/dbhome_1/ccr/lib/s0nmz.o /app/database/product/11.2.0/dbhome_1/ccr/lib/libnmz.a  /app/database/product/11.2.0/dbhome_1/ccr/lib/libnmzu.a -lcore9 -lnls9 -lcore9 -lnls9 -lcore9 -lunls9 -Wl,-rpath,/app/database/product/11.2.0/dbhome_1/lib   `cat /app/database/product/11.2.0/dbhome_1/ccr/lib/sysliblist` -ldl -lm  
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [/app/database/product/11.2.0/dbhome_1/ccr/bin/nmz] Error 1
make[1]: Leaving directory `/tmp/core-11-11-2014_08.48.42-23392'
make: *** [nmz] Error 2
Executing package postinstall script
/bin/chmod: cannot access `/app/database/product/11.2.0/dbhome_1/ccr/bin/nmz': No such file or directory
Deinstalling failed installation of /app/database/product/11.2.0/dbhome_1/ccr/inventory/pending/core.jar
Uninstalling /app/database/product/11.2.0/dbhome_1/ccr/inventory/pending/core.jar
inflated: uninstall.sh
Uninstall script unpacked, executing the script
Uninstall complete

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms