Applying Patch 21528756 to 12.1.0.4 Enterprise Manager 12c Cloud Control Agent Fails with Make Errors (Doc ID 2124881.1)

Last updated on APRIL 13, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

Applying <Patch 21528756> to an Enterprise Manager (EM) 12.1.0.4 Cloud Control Agent fails with the following error:

Applying interim patch '21528756' to OH '/app/agent/core/12.1.0.4.0'

Patching component oracle.sysman.top.agent, 12.1.0.4.0...

Verifying the update...
Make failed to invoke "/usr/ccs/bin/make -f ins_emagent.mk nmupm ORACLE_HOME=/app/agent/core/12.1.0.4.0"....'make: Fatal error in reader:

 

The corresponding OPatch log (<agent Oracle Home>/cfgtoollogs/opatch/opatch<date stamp>) shows the following:

[Feb 26, 2016 4:02:59 PM] OPatch failed to restore the files from backup area. Not running "make".
[Feb 26, 2016 4:02:59 PM] OUI-67124:
NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/app/agent/core/12.1.0.4.0/.patch_storage/NApply/2016-02-26_16-02-44PM"
[Feb 26, 2016 4:02:59 PM] OUI-67073:UtilSession failed: Re-link fails on target "nmupm".
[Feb 26, 2016 4:02:59 PM] --------------------------------------------------------------------------------
[Feb 26, 2016 4:02:59 PM] The following warnings have occurred during OPatch execution:
[Feb 26, 2016 4:02:59 PM] 1) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_emagent.mk nmupm ORACLE_HOME=/app/agent/core/12.1.0.4.0"....'make: Fatal error in reader: /app/agent/core/12.1.0.4.0/sysman/lib/env_emagent.mk, line 2419: Unexpected end of line seen
'
[Feb 26, 2016 4:02:59 PM] 2) OUI-67124:Re-link fails on target "nmupm".
[Feb 26, 2016 4:02:59 PM] 3) OUI-67124:
NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/app/agent/core/12.1.0.4.0/.patch_storage/NApply/2016-02-26_16-02-44PM"



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