Applying Enterprise Manager Cloud Control 12c Bundle Patch 1 (Solaris) Part I

As you may know, EM12c BP1 was released for Solaris about 3 weeks ago. Our EM12c runs on Solaris, so I decided to apply it to our production system. To apply BP1 to EM12c environment, first we need to apply BP1 (and additional 1-2 patches) to OMS (Oracle Management Service), then apply some patches to deployed agents, and lastly, upgrade EM12c plug-ins (some of them may require additional patches to be applied to OMS). As you may guess, it’s not a piece of cake. Oracle recommends you to analyze how much effort you need to re-configure and re-deploy agents, and if it’s feasible, uninstall the existing Cloud Control and do a fresh installation.

These instructions are only valid (and tested) for EM12c running gon Solaris 10 (SPARC). You may need additional patches for Linux or AIX. My OMS is located in “/u03/oracle/Middleware/oms/”. My repository DB is “emrep” and located in a server named “erciyes”. Before I start to apply the patch, I stop all services by issuing the following command:

Important: Before you apply Bundle Patch 1, Oracle recommends to back up all EM components:

  • Management Repository Database (Highly Recommended!)
  • Middleware Home and EM domain
  • Instance Home where OMS is installed
  • Default Management Agent with OMS
  • Software Library
  • Oracle Inventory

If patching fails during any stage, you may have to restore these components, and this is not an unsual situation. So be sure to backup all these components.

We’ll apply BP1 (13242773), then required patches for JDeveloper and Web Services Manager (13470978 and 12321965) and 14040891 (for Bug# 14040891). Login to MOS and search for these patches and download them to a directory (I’ll use “/setup”).

Be careful that you should pick release of patch 12321965. I marked the patch you shouldn’t pick on the image:

As usual, we need latest OPatch. Download OPatch for 11.1.0.x. I downloaded and extracted it into OMS directory:

Now I’ll set ORACLE_HOME and PATH variables:

and then I test it:

It worked without any problem. Now we need to download OMS BP1 13242773 from My Oracle Support. I’ll extract the file under “/setup” folder and apply the patch:

OPatch will verifying environment and perform prerequisite checks, backup files, then will roll back the subset patches and apply the BP1. It takes some time (about 1 hour depending on your server configuration).

To complete the patch update, we need to run “” but before running it, you should stop EM Jobs. So connect to Repository DB as SYSMAN and issue the following command:

Then run script, please refer to the documentation if you have multi-OMS setup. You need to enter repository DB information and SYSMAN password:

After it’s completed, connect to repository DB and check invalid objects and enable EM JOBs:

Now it’s time to apply 13470978 and 12321965 patches. We need to set environment variable ORACLE_HOME to our oracle_common directory and stop OMS:

Extract the patch file (12321965) and apply it (ORACLE_HOME should be set to oracle_common):

So we’ll keep patching with BP1 14040891. We need to set ORACLE_HOME to OMS directory, then apply the patch:

After applying the patch, we need to patch repository and register some metadata:

With the last step, we applied Bundle Patch 1 to Oracle Management Service. If you follow these steps strictly, you shouldn’t get any errors. On my next blog post, I’ll continue with applying required patches to management agents.

Please share

AWS Big Data Specialist. Oracle Certified Professional (OCP) for EBS R12, Oracle 10g and 11g. Co-author of "Expert Oracle Enterprise Manager 12c" book published by Apress. Awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for the continuous contributions to the Oracle users community. Founding member, and vice president of Turkish Oracle User Group (TROUG). Presented at various international conferences including Oracle Open World.


  1. IgnitedMind


    I have just Installed IAM 11gR2. Can you please share link to download OUI compatible for current Opatch version to resolve belwo error.

    [oracle@localhost OPatch]$ ./opatch lsInventory

    OPatch Version :
    OUI Version :
    The OUI version is not applicable for current OPatch version.

    OPatch failed with error code 1

    Help Appreciated.

    • Gokhan Atil

      As I see, OUI version is, so you need to download latest version of 11.2 series. On the My Oracle Support site, go to “patches and updates” tab, and search for patch number 6880880. You should pick the 11.2.0.x release for your platform.

    • IgnitedMind

      Hi Gokhanatil,

      Thanks for the quick response. I did the same.
      However for all the patchs its giving similar message as below.
      [oracle@localhost 14049150]$ opatch apply
      Oracle Interim Patch Installer version
      Copyright (c) 2012, Oracle Corporation. All rights reserved.

      Oracle Home : /home/oracle/app/oracle/product/11.2.0/dbhome_1
      Central Inventory : /home/oracle/app/oraInventory
      from : /home/oracle/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
      OPatch version :
      OUI version :
      Log file location : /home/oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/14049150_Aug_17_2012_18_48_26/apply2012-08-17_18-48-26PM_1.log

      Applying interim patch ’14049150′ to OH ‘/home/oracle/app/oracle/product/11.2.0/dbhome_1′
      Verifying environment and performing prerequisite checks…
      OPatch system modification phase did not start:
      Patch “14049150″ is not needed since it has no fixes for this Oracle Home. Please see log file for details.
      Log file location: /home/oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/14049150_Aug_17_2012_18_48_26/apply2012-08-17_18-48-26PM_1.log

      OPatch stopped on request.

      what coud have been wrong here ?

      even after chance Oracle_HOME to value received the same above message.

      Help Appreciated.

    • IgnitedMind

      Just summarizing

      while Installing my Oracle_HOME was pointing to database.

      /************************Output after Installating Opatch Start**************************
      oracle@localhost OPatch]$ ./opatch lsinventory -detail
      Oracle Interim Patch Installer version
      Copyright (c) 2012, Oracle Corporation. All rights reserved.

      Oracle Home : /home/oracle/app/oracle/product/11.2.0/dbhome_1
      Central Inventory : /home/oracle/app/oraInventory
      from : /home/oracle/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
      OPatch version :
      OUI version :
      Log file location : /home/oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-08-17_17-47-27PM_1.log

      Lsinventory Output file location : /home/oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2012-08-17_17-47-27PM.txt

      Installed Top-level Products (1):

      Oracle Database 11g
      There are 1 products installed in this Oracle Home.

      Installed Products (134):

      Agent Required Support Files
      Assistant Common Files
      Bali Share
      Buildtools Common Files
      Character Set Migration Utility
      Cluster Verification Utility Common Files
      Database Configuration and Upgrade Assistants
      Database SQL Scripts
      Database Workspace Manager
      Deinstallation Tool
      Enterprise Edition Options
      Enterprise Manager Agent
      Enterprise Manager Agent Core Files
      Enterprise Manager Common Core Files
      Enterprise Manager Common Files
      Enterprise Manager Database Plugin — Agent Support
      Enterprise Manager Database Plugin — Repository Support
      Enterprise Manager Grid Control Core Files
      Enterprise Manager Minimal Integration
      Enterprise Manager plugin Common Files
      Enterprise Manager Repository Core Files
      Exadata Storage Server
      Expat libraries
      Generic Connectivity Common Files
      HAS Common Files
      HAS Files for DB
      Installation Common Files
      Installation Plugin Files
      Installer SDK Component
      JAccelerator (COMPANION)
      LDAP Required Support Files
      OLAP SQL Scripts
      Oracle 11g Warehouse Builder Required Files
      Oracle Advanced Security
      Oracle Application Express
      Oracle Call Interface (OCI)
      Oracle Clusterware RDBMS Files
      Oracle Code Editor
      Oracle Configuration Manager
      Oracle Configuration Manager Deconfiguration
      Oracle Containers for Java
      Oracle Core Required Support Files
      Oracle Data Mining RDBMS Files
      Oracle Database 11g
      Oracle Database 11g
      Oracle Database 11g Multimedia Files
      Oracle Database Deconfiguration
      Oracle Database Gateway for ODBC
      Oracle Database User Interface
      Oracle Database Utilities
      Oracle Database Vault J2EE Application
      Oracle Database Vault option
      Oracle DBCA Deconfiguration
      Oracle Display Fonts
      Oracle Enterprise Manager Console DB
      Oracle Extended Windowing Toolkit
      Oracle Globalization Support
      Oracle Globalization Support
      Oracle Help For Java
      Oracle Help for the Web
      Oracle Ice Browser
      Oracle Internet Directory Client
      Oracle Java Client
      Oracle JDBC Server Support Package
      Oracle JDBC/OCI Instant Client
      Oracle JDBC/THIN Interfaces
      Oracle JFC Extended Windowing Toolkit
      Oracle JVM
      Oracle Label Security
      Oracle LDAP administration
      Oracle Locale Builder
      Oracle Message Gateway Common Files
      Oracle Multimedia
      Oracle Multimedia Annotator
      Oracle Multimedia Client Option
      Oracle Multimedia Java Advanced Imaging
      Oracle Multimedia Locator
      Oracle Multimedia Locator RDBMS Files
      Oracle Net
      Oracle Net Listener
      Oracle Net Required Support Files
      Oracle Net Services
      Oracle Netca Client
      Oracle Notification Service
      Oracle Notification Service (eONS)
      Oracle ODBC Driver
      Oracle ODBC Driverfor Instant Client
      Oracle OLAP
      Oracle OLAP API
      Oracle OLAP RDBMS Files
      Oracle One-Off Patch Installer
      Oracle Partitioning
      Oracle Programmer
      Oracle Quality of Service Management (Client)
      Oracle RAC Deconfiguration
      Oracle RAC Required Support Files-HAS
      Oracle Real Application Testing
      Oracle Recovery Manager
      Oracle Security Developer Tools
      Oracle Spatial
      Oracle SQL Developer
      Oracle Starter Database
      Oracle Text
      Oracle Text Required Support Files
      Oracle UIX
      Oracle Universal Connection Pool
      Oracle Universal Installer
      Oracle Wallet Manager
      Oracle XML Development Kit
      Oracle XML Query
      Parser Generator Required Support Files
      Perl Interpreter
      Perl Modules
      PL/SQL Embedded Gateway
      Platform Required Support Files
      Precompiler Common Files
      Precompiler Required Support Files
      Provisioning Advisor Framework
      RDBMS Required Support Files
      RDBMS Required Support Files for Instant Client
      Required Support Files
      Sample Schema Data
      Secure Socket Layer
      SQL*Plus Files for Instant Client
      SQL*Plus Required Support Files
      SQLJ Runtime
      SSL Required Support Files for InstantClient
      Sun JDK
      XDK Required Support Files
      XML Parser for Java
      XML Parser for Oracle JVM
      There are 134 products installed in this Oracle Home.

      There are no Interim patches installed in this Oracle Home.


      OPatch succeeded.
      /************************Output after Installating Opatch End**************************

      However as you said, I removed /OPatch & again installed
      ******************Output while re installing Opatch start*******************************
      [oracle@localhost iam]$ unzip /mnt/Download/11gR2/Patchset/latestOpatch/
      Archive: /mnt/Download/11gR2/Patchset/latestOpatch/
      creating: OPatch/
      creating: OPatch/oplan/
      inflating: OPatch/oplan/README.html
      inflating: OPatch/oplan/README.txt
      creating: OPatch/oplan/jlib/
      inflating: OPatch/oplan/jlib/oplan.jar
      inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar
      inflating: OPatch/oplan/jlib/automation.jar
      inflating: OPatch/oplan/jlib/OsysModel.jar
      inflating: OPatch/oplan/jlib/EMrepoDrivers.jar
      creating: OPatch/oplan/jlib/apache-commons/
      inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar
      creating: OPatch/oplan/jlib/jaxb/
      inflating: OPatch/oplan/jlib/jaxb/activation.jar
      inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar
      inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar
      inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar
      inflating: OPatch/oplan/jlib/osysmodel-utils.jar
      inflating: OPatch/oplan/jlib/CRSProductDriver.jar
      inflating: OPatch/oplan/oplan
      creating: OPatch/docs/
      inflating: OPatch/docs/FAQ
      inflating: OPatch/docs/Users_Guide.txt
      inflating: OPatch/docs/Prereq_Users_Guide.txt
      creating: OPatch/jlib/
      inflating: OPatch/jlib/opatch.jar
      inflating: OPatch/jlib/opatchsdk.jar
      inflating: OPatch/jlib/oracle.opatch.classpath.jar
      inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar
      inflating: OPatch/jlib/
      creating: OPatch/opatchprereqs/
      creating: OPatch/opatchprereqs/opatch/
      inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml
      inflating: OPatch/opatchprereqs/opatch/rulemap.xml
      inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml
      creating: OPatch/opatchprereqs/oui/
      inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml
      inflating: OPatch/opatchprereqs/
      inflating: OPatch/opatch
      inflating: OPatch/opatch.bat
      inflating: OPatch/
      inflating: OPatch/opatch.ini
      inflating: OPatch/opatchdiag
      inflating: OPatch/opatchdiag.bat
      inflating: OPatch/
      inflating: OPatch/README.txt
      creating: OPatch/ocm/
      creating: OPatch/ocm/bin/
      inflating: OPatch/ocm/bin/emocmrsp
      creating: OPatch/ocm/doc/
      creating: OPatch/ocm/lib/
      inflating: OPatch/ocm/lib/emocmclnt-14.jar
      inflating: OPatch/ocm/lib/emocmclnt.jar
      inflating: OPatch/ocm/lib/emocmcommon.jar
      inflating: OPatch/ocm/lib/http_client.jar
      inflating: OPatch/ocm/lib/jcert.jar
      inflating: OPatch/ocm/lib/jnet.jar
      inflating: OPatch/ocm/lib/jsse.jar
      inflating: OPatch/ocm/lib/log4j-core.jar
      inflating: OPatch/ocm/lib/osdt_core3.jar
      inflating: OPatch/ocm/lib/osdt_jce.jar
      inflating: OPatch/ocm/lib/regexp.jar
      inflating: OPatch/ocm/lib/xmlparserv2.jar
      extracting: OPatch/ocm/
      inflating: OPatch/ocm/ocm_platforms.txt
      creating: OPatch/crs/
      creating: OPatch/crs/log/
      extracting: OPatch/crs/log/dummy
      inflating: OPatch/crs/
      inflating: OPatch/crs/
      inflating: OPatch/crs/
      inflating: OPatch/crs/
      inflating: OPatch/crs/installPatch.excl
      inflating: OPatch/crs/
      inflating: OPatch/crs/
      inflating: OPatch/crs/s_crsconfig_defs
      inflating: OPatch/crs/

      ******************Output while re installing Opatch End*******************************
      /************************Output after re Installating Opatch Start**************************
      [oracle@localhost OPatch]$ ./opatch lsinventory -detail
      Oracle Interim Patch Installer version
      Copyright (c) 2012, Oracle Corporation. All rights reserved.

      Oracle Home : /home/oracle/middlewareR2/iam
      Central Inventory : /home/oracle/app/oraInventory
      from : /home/oracle/middlewareR2/iam/oraInst.loc
      OPatch version :
      OUI version :
      Log file location : /home/oracle/middlewareR2/iam/cfgtoollogs/opatch/opatch2012-08-18_00-21-01AM_1.log

      OPatch detects the Middleware Home as “/home/oracle/middlewareR2”

      Lsinventory Output file location : /home/oracle/middlewareR2/iam/cfgtoollogs/opatch/lsinv/lsinventory2012-08-18_00-21-01AM.txt

      Installed Top-level Products (1):

      Oracle IDM Suite
      There are 1 products installed in this Oracle Home.

      Installed Products (44):

      Installer SDK Component
      OAAM Admin Server
      Oracle Access Manager for T2P
      Oracle Access Manager Server
      Oracle Adaptive Access Manager
      Oracle Adaptive Access Manager – Server
      Oracle Application Access Controls Governor
      Oracle Application AS oneoff Component
      Oracle Application One Off patches Component
      Oracle Authorization Policy Manager
      Oracle Authorization Policy Manager Core
      Oracle Bali Share
      Oracle Extended Windowing Toolkit
      Oracle Fusion Middleware Admin Config
      Oracle Help for Java
      Oracle Help for the Web – UIX
      Oracle Help for the Web Shared Library
      Oracle Help Share Library
      Oracle Ice Browser
      Oracle Identity Connect
      Oracle Identity Directory Services (IDS) Configuration UI
      Oracle Identity Management Tools
      Oracle Identity Manager Clone
      Oracle Identity Manager Common
      Oracle Identity Manager Connectors
      Oracle Identity Manager design_console
      Oracle Identity Manager remote_manager
      Oracle Identity Manager Server
      Oracle Identity Manager Suite
      Oracle Identity Navigator
      Oracle IDM Suite
      Oracle IDM UI Shell
      Oracle JFC Extended Windowing Toolkit
      Oracle OES
      Oracle OES Admin
      Oracle One-Off Patch Installer
      Oracle opam
      Oracle Remote Diagnostic Agent
      Oracle Universal Installer
      Oracle Upgrade Assistant
      Oracle Upgrade Assistant
      Oracle Upgrade Assistant for IDM
      Oracle WebLogic Communications Service Client Library
      There are 44 products installed in this Oracle Home.

      Interim patches (1) :

      Patch 14268856 : applied on Thu Aug 16 16:45:24 EST 2012
      Unique Patch ID: 15214991
      Created on 2 Jul 2012, 11:59:11 hrs PST8PDT
      Bugs fixed:
      13631331, 13596359, 13555157, 13521061, 13550924, 13490434
      Files Touched:
      ua.jar –> ORACLE_HOME/jlib/ua.jar
      Patch Location in Inventory:
      Patch Location in Storage area:


      OPatch succeeded.
      /************************Output after re Installating Opatch End**************************

      note this time OUT Version did not changed to 11.2

      I tried both of the above way but receiced the same message as mentioned above.

      If there is something worng, can you give me the steps to be executed to correct it,please

  2. IgnitedMind

    All the 4 patch Installed Successfully. I have to keep changing ORACLE_HOME dir based on patch like soa, idm or iam or oracle_common.
    This were the OIM mandatory patch like J2ee continer patch,ovd patch ,soa patch etc.

    I am not sure whether it was the correct way, just was doing trail.

    Once again thanks for help.

  3. Martin Falco

    Hi, I have a problem with EM12C. in monitoring SOA, OSB spent time left to draw graphs. but the only thing working properly agents Quie graphics just do not. If you do a logout and then a login of the chart is complete and is updated again until suddenly stops updating the graph. vercion the Enterprise Manager 12 c is
    You can help me with this problem?

Leave Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.