My Oracle Support Banner

Opatchauto: Applying GIRU fails with error " OPATCHAUTO-68061" (Doc ID 2390188.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Linux x86-64

Symptoms

Applying GIRU fails with error " OPATCHAUTO-68061"

Output of opatchauto apply:

# opatchauto apply /u01/app/patches/27100009

OPatchauto session is initiated at Tue Mar 27 23:12:27 2018

System initialization log file is /u01/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-03-27_11-12-28PM.log.

Session log file is /u01/app/12.2.0/grid/cfgtoollogs/opatchauto/opatchauto2018-03-27_11-13-07PM.log
The id for this session is SA4W

Executing OPatch prereq operations to verify patch applicability on home /u01/app/12.2.0/grid

Executing OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/12.2.0/dbhome_1
Patch applicability verified successfully on home /u01/app/oracle/product/12.2.0/dbhome_1

Patch applicability verified successfully on home /u01/app/12.2.0/grid

Verifying SQL patch applicability on home /u01/app/oracle/product/12.2.0/dbhome_1
"/bin/sh -c 'cd /u01/app/oracle/product/12.2.0/dbhome_1; ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1 ORACLE
_SID=HDBLGS12 /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/datapatch -prereq -verbose'" command failed with error
s. Please refer to logs for more details. SQL changes, if any, can be analyzed by manually retrying the same comman
d.

SQL patch applicability verified successfully on home /u01/app/oracle/product/12.2.0/dbhome_1

Preparing to bring down database service on home /u01/app/oracle/product/12.2.0/dbhome_1
Successfully prepared home /u01/app/oracle/product/12.2.0/dbhome_1 to bring down database service

Bringing down CRS service on home /u01/app/12.2.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/node2/crsconfig/crspatch_node2_2018-03-27_11-16-05PM.log
CRS service brought down successfully on home /u01/app/12.2.0/grid

Performing prepatch operation on home /u01/app/oracle/product/12.2.0/dbhome_1
Perpatch operation completed successfully on home /u01/app/oracle/product/12.2.0/dbhome_1

Start applying binary patch on home /u01/app/oracle/product/12.2.0/dbhome_1
Failed while applying binary patches on home /u01/app/oracle/product/12.2.0/dbhome_1

[OPatchAutoBinaryAction]patch action failed, check log for more details. Failures:
Patch Target : node2->/u01/app/oracle/product/12.2.0/dbhome_1 Type[rac]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /u01/app/oracle/product/12.2.0/dbhome_1, host: node2.
Command failed: /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatchauto apply /u01/app/patches/27100009 -oh /u0
1/app/oracle/product/12.2.0/dbhome_1 -target_type rac_database -binary -invPtrLoc /u01/app/12.2.0/grid/oraInst.loc
-jre /u01/app/12.2.0/grid/OPatch/jre -persistresult /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/auto/dbsessionin
fo/sessionresult_node2_rac.ser -analyzedresult /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/auto/dbsessioninfo
/sessionresult_analyze_node2_rac.ser
Command failure output:
==Following patches FAILED in apply:

Patch: /u01/app/patches/27100009/27335416
Log: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch2018-03-27_23-17-21PM_1.log
Reason: Failed during Patching: oracle.opatch.opatchsdk.OPatchException: Re-link fails on target "install_srvm".

After fixing the cause of failure Run opatchauto resume

]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.

OPatchauto session completed at Tue Mar 27 23:18:38 2018
Time taken to complete the session 6 minutes, 11 seconds

opatchauto failed with error code 42

Output of opatch log:

[2018/03/28 3:23:51] [WARNING] OUI-67200:Make failed to invoke "/usr/bin/make -f ins_srvm.mk install_srvm ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1"....
'/bin/sh: /usr/bin/gcc: No such file or directory
make: *** [/u01/app/oracle/product/12.2.0/dbhome_1/rdbms/lib/config.o] Error 127
'
[2018/03/28 3:23:51] [INFO] Stack Description: java.lang.RuntimeException: /bin/sh: /usr/bin/gcc: No such file or directory
make: *** [/u01/app/oracle/product/12.2.0/dbhome_1/rdbms/lib/config.o] Error 127
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.MakeAction.apply(MakeAction.java:534)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.OPatchSession.runMake(OPatchSession.java:781)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.OPatchSession.runMake(OPatchSession.java:723)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.MergedPatchObject.invokeConsolidatedMake(MergedPatchObject.java:1754)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1454)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:359)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:341)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1104)
[2018/03/28 3:23:51] [INFO] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2018/03/28 3:23:51] [INFO] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2018/03/28 3:23:51] [INFO] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2018/03/28 3:23:51] [INFO] StackTrace: java.lang.reflect.Method.invoke(Method.java:498)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:352)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:3941)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.OPatchSDK.NApply(OPatchSDK.java:1124)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatch.opatchsdk.OPatchTarget.NApply(OPatchTarget.java:3772)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatchauto.core.binary.OPatchAutoBinary.patchPRsWithoutAnalyze(OPatchAutoBinary.java:1051)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatchauto.core.binary.OPatchAutoBinary.patchWithoutAnalyze(OPatchAutoBinary.java:999)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatchauto.core.binary.OPatchAutoBinary.applyWithoutAnalyze(OPatchAutoBinary.java:931)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatchauto.core.OPatchAutoCore.runOPatchAutoBinary(OPatchAutoCore.java:195)
[2018/03/28 3:23:51] [INFO] StackTrace: oracle.opatchauto.core.OPatchAutoCore.main(OPatchAutoCore.java:70)

 

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.