User Rating: 3 / 5

Star ActiveStar ActiveStar ActiveStar InactiveStar Inactive
 

This article will show an installation of Oracle Enterprise Manager Cloud Control 12c in silent mode (no GUI, command line only).

OEM Cloud Control 12c is a centralised management software for administrating and monitoring all oracle's products, especially oracle database.
It is quite powerful and it becomes very handy when you manage many databases, and its base features are free of charge to use.

Before starting, you will need ...
... a Oracle RDBMS 11g or 12c installed (on localhost or another server)
    (For Oracle 11g, check Silent install of Oracle 11g on OEL7)
    (For Oracle 12c, check Silent install of Oracle 12c RDBMS)
... to download Oracle Enterprise Manager Cloud Control 12c installation files (OTN)
... at least 14GB free disk space

About licensing

The full Oracle Enterprise Manager Licensing Information can be found here, and it says:

The base installation of Enterprise Manager Cloud Control 12c includes several features free of charge with the purchase of any Oracle software license or Support contract.

Oracle Enterprise Manager Licensing Information

Enterprise Manager includes a restricted-use license of the Oracle Database for use only with the Oracle Management Repository or other complementary repositories included with Enterprise Manager (such as, AWR Warehouse, Ops Center, Real User Experience Insight, Load Testing, and Test Manager). Additional database options or additional servers for disaster recovery require separate licensing.

Oracle Enterprise Manager Licensing Information

In other words, OEM Cloud Control 12c base functionalities are free to use as long as you have a Oracle licence (or support) for any target you want to manage with it.
And a Oracle database which is only use for OEM does not required additional licence except for Dataguard and RAC option.

List of "free of charge" base functionalities list can be reviewed in "chapter 10 : Base Enterprise Manager Functionality".

Functionality packs which requires a licence can be enabled or disabled as describe in "chapter 1.3: Enabling and Disabling the Oracle Enterprise Manager Packs".
It is recommanded to disable packs you are not licenced to.

 

OEM 12c database repository

OEM Cloud Control 12c required an oracle database 11g/12c as a repository to store its data.
This oracle database repository is not created by the installer.

So you need to create a new Oracle database instance or create a new pluggable database or use an existing one, it can be on a different server as long as it is accessible by the OEM 12c.

For more information...
... about database creation, check Silent database 12c creation with dbca.

Create database instance

For example, the command below will create emrep oracle instance on ASM storage:

[oracle]$ dbca -silent -createDatabase \
  -templateName New_Database.dbt    \
  -databaseType MULTIPURPOSE        \
  -gdbName emrep -sid emrep         \
  -characterSet AL32UTF8            \
  -nationalCharacterSet AL16UTF16   \
  -totalMemory 2048                 \
  -redoLogFileSize 640              \
  -storageType ASM                  \
   -datafileDestination +DATA       \
   -asmsnmpPassword Asmsnmp_pw0     \
  -recoveryAreaDestination +FRA     \
  -sysPassword OraSys_pw0           \
  -systemPassword OraSystem_pw0     \
  -emConfiguration none             \
  -registerWithDirService false

Create pluggable database

Or if you prefer, create a pluggable database on an existing database container as follow:

# Create pluggable database
[oracle]$ dbca -silent -createPluggableDatabase \
  -pdbName  oempdb                  \
  -sourceDB UXOCDBRAC               \
  -createPDBFrom DEFAULT            \
   -pdbAdminUserName pdbadmin       \
   -pdbAdminPassword OraOempdba_pw0

#Add entry in tnsnames.ora
cat >> $ORACLE_HOME/network/admin/tnsnames.ora <<_EOF_

oempdb=
 (DESCRIPTION_LIST=
  (DESCRIPTION=
   (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.31)(PORT=1521))
   (CONNECT_DATA=(SERVICE_NAME=oempdb))
 ))

_EOF_

Decompress install files

For this article, I have downloaded Oracle Enterprise Manager Cloud Control 12c Release 5 (12.1.0.5) installation files for Linux x86-64 (64-bit) at oracle.com.

# Extract oem12c install files
[oracle]$ cd /mnt/nfs/uxora_share/ora_install_files/
[oracle]$ ls em12105_linux64_disk*.zip | xargs -I{} unzip {} -d ./em12105_stage

Prerequisite check

The command below will check system and database parameters and do report about what it needs to be fixed for this installation.
Run this command can be executed as many times as you need to check and fix.

# OEM12c prerequisite-check
[oracle]$ cd /mnt/nfs/uxora_share/ora_install_files/em12105_stage/
[oracle]$ ./install/requisites/bin/emprereqkit -runPrerequisites \
  -executionType install -configurationType SMALL    \
  -prerequisiteXMLLoc install/requisites/list        \
  -dbHost oralab01 -dbPort 1521 -dbSid emrep         \
  -dbUser sys -dbPassword OraSys_pw0 -dbRole sysdba  \
  -connectString "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oralab01)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=emrep)))"
  

    Checking Temp space: must be greater than 400 MB.   Actual 9156 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 1639 MB    Passed
    Preparing to Bootstrap  Please wait ...
    BootStrap To /tmp/emprereqkit_101915183145_BS Completed
    Oracle Enterprise Manager Cloud Control 12c Release 3
    Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.

    Running EMPrereqKit ............

    Result of prerequisite-check , for scenario install :                                            

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                        Prerequisite Name                   | Status |              Corrective Action             |        Recommendation       
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Check for invalid objects in the database selected for|  Pass  |                   NA                       |               NA           
      Check the job_queue_processes instance parameter value|  Pass  |                   NA                       |               NA           
      Check the CBO stats gathering job                     |  Pass  |                   NA                       |               NA           
      Check nls_length_semantics parameter                  |  Pass  |                   NA                       |               NA           
      Check for automatic UNDO management                   |  Pass  |                   NA                       |               NA           
      Ensure that the undo tablespace has at least one dataf|  Pass  |                   NA                       |               NA           
      Ensure that the SYSTEM tablespace has at least one dat|  Pass  |                   NA                       |               NA           
      Ensure that the Oracle partitioning option is installe|  Pass  |                   NA                       |               NA           
      Check remote_login_passwordfile parameter             |  Pass  |                   NA                       |               NA           
      Check max_enabled_roles init parameter                |  Pass  |                   NA                       |               NA           
      Check for the global stale percent                    |  Pass  |                   NA                       |               NA           
      Check if SYSMAN schema is absent for new install      |  Fail  |                 MANUAL                     |  SYSMAN schema should be absent before instal
      Check the existence of public synonyms                |  Fail  |                 MANUAL                     |  Remove the public synonyms
      Check the absence of mgmt tablespaces                 |  Pass  |                   NA                       |               NA           
      Check the absence of EM schemas                       |  Fail  |                 MANUAL                     |  Remove the EM schemas     
      Check the db edition                                  |  Pass  |                   NA                       |               NA           
      Check optimizer sql plan baseline capture.            |  Pass  |                   NA                       |               NA           
      Check if temporary tablespace group TEMP exist        |  Pass  |                   NA                       |               NA           
      Check if the temporary tablespace datafile is set to a|  Pass  |                   NA                       |               NA           
      Check parallel max servers parameter                  |  Fail  |  set parallel_max_servers to 8             |  The parallel max servers parameter will be t
      Check that the secure file instance parameter is set t|  Pass  |                   NA                       |               NA           
      Check the compatible instance parameter value.        |  Pass  |                   NA                       |               NA           
      Check the db_block_size instance parameter value.     |  Pass  |                   NA                       |               NA           
      Check the processes instance parameter value          |  Fail  |                 MANUAL                     |  The processes instance parameter needs to be
      Check the memory_target instance parameter value.     |  Fail  |                 MANUAL                     |  Oracle recommends setting memory_target (AMM
      Check the workarea_size_policy instance parameter valu|  Pass  |                   NA                       |               NA           
      Check the session_cached_cursors instance parameter va|  Fail  |                 MANUAL                     |  The session_cached_cursors instance paramete
      Check the open_cursors instance parameter value.      |  Pass  |                   NA                       |               NA           
      Check the log_buffer instance parameter value.        |  Pass  |                   NA                       |               NA           
      Check the shared_pool_size instance parameter value.  |  Fail  |                 MANUAL                     |  The shared_pool_size instance parameter shou
      Check the db_cache_size instance parameter value.     |  Pass  |                   NA                       |               NA           
      Check the large_pool_size instance parameter value.   |  Pass  |                   NA                       |               NA           
      Check the java_pool_size instance parameter value.    |  Pass  |                   NA                       |               NA           
      Check the streams_pool_size instance parameter value. |  Pass  |                   NA                       |               NA           
      Check the timed_statistics instance parameter value.  |  Pass  |                   NA                       |               NA           
      Check the statistics_level instance parameter value.  |  Pass  |                   NA                       |               NA           
      Check the redo log size.                              |  Fail  |                 MANUAL                     |  Redo Log file size should be 600000000 bytes
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                            NE = Not Executed                        NA = Not Applicable
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    For more details, check the log file at /mnt/nfs/uxora_share/em12c_inst/prerequisiteResults/log/LATEST/

If you have Invalid database username/password/role error against a oracle 12c instance :

  • Check user/password are correct
  • Check instance (and pluggable db) is open
  • Otherwise check the log, and you may want to check ORA-28040 error

Fix all database parameters to meet prerequisite:

# Remove sysman repository
[oracle]$ sqlplus sys@emrep as sysdba
SQL> alter user SYSMAN identified by OraSysman_pw0 account unlock;
SQL> exit

[oracle]$ emca -deconfig dbcontrol db -repos drop -silent -SYS_PWD OraSys_pw0 -SYSMAN_PWD OraSysman_pw0 -SID emrep -PORT 1521

    STARTED EMCA at 19-Oct-2015 21:50:50
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.


    19-Oct-2015 21:50:51 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/emrep/emca_2015_10_19_21_50_50.log.
    19-Oct-2015 21:50:51 oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
    WARNING: EM is not configured for this database. No EM-specific actions can be performed.
    19-Oct-2015 21:50:51 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Dropping the EM repository (this may take a while) ...
    19-Oct-2015 21:52:06 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at 19-Oct-2015 21:52:06

# Fix oracle parameter up to the prerequisite check report
[oracle]$ sqlplus sys@emrep as sysdba

SQL> alter system set memory_target=3G scope=spfile ;

-- The sga_target instance parameter should be set to at least 2000M
SQL> alter system set sga_target=2G scope=both ;

-- The session_cached_cursors instance parameter should be set to any value between 200 and 500
SQL> alter system set session_cached_cursors=256 scope=spfile ;

-- The shared_pool_size instance parameter should be set to at least 600M
SQL> alter system set shared_pool_size=640M scope=both ;

-- The db_securefile instance parameter value must be set to 'PERMITTED'
SQL> alter system set db_securefile=PERMITTED scope=both ;

SQL> alter system set parallel_max_servers=8 scope=both ;

SQL> alter system set processes=600 scope=spfile ;

-- To avoid ORA-28104: input value for statement_types is not valid
-- Especially for pluggable database
SQL> ALTER SYSTEM SET "_allow_insert_with_update_check"=TRUE scope=both ;

-- Temporarily disabling the gather stats job.
BEGIN
   DBMS_AUTO_TASK_ADMIN.DISABLE( client_name => 'auto optimizer stats collection', operation => NULL, window_name => NULL);
END;
/

-- Redo Log file size should be at least 600M
-- Create new logfiles and drop old one
SQL> alter database add logfile size 640m ;
SQL> alter database add logfile size 640m ;
SQL> alter database add logfile size 640m ;
SQL> alter system switch logfile;
SQL> alter database drop logfile group 1;
SQL> alter database drop logfile group 2 ;
SQL> alter database drop logfile group 3 ;

SQL> shutdown immediate ;
SQL> startup ;

Silent installation

After all prerequisite check successfully pass, we can now install the OEM 12c Cloud Control.
It can be installed with only one command but I encounter some errors/issues that make it failed. So I would recommend to do the two steps installation instead.

After installation succeeded, you will be required to execute /u01/app/oracle/product/em12c/oms/allroot.sh as root.

Two steps installation

Software installation

First step is to install OEM software binaries as follow:

# Make sure glibc-devel is installed
[oracle]$ sudo yum install glibc-devel.x86_64 glibc-devel.i686

# First step: Install oem12 software
[oracle]$ cd /mnt/nfs/uxora_share/ora_install_files/em12105_stage/
[oracle]$ OEM_BASE=/u01/app/oracle/product
[oracle]$ ./runInstaller -silent -waitForCompletion   \
  -responseFile $PWD/response/software_only.rsp       \
  SECURITY_UPDATES_VIA_MYORACLESUPPORT="false"        \
  DECLINE_SECURITY_UPDATES="true"                     \
  INSTALL_UPDATES_SELECTION="skip"                    \
  ORACLE_MIDDLEWARE_HOME_LOCATION="$OEM_BASE/middleware" \
  AGENT_BASE_DIR="$OEM_BASE/agent"                    \
  ORACLE_HOSTNAME="oralab01"

    Starting Oracle Universal Installer...

    Checking Temp space: must be greater than 400 MB.   Actual 4528 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 7266 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-10-03_09-05-07AM. Please wait ...
    Installing ORACLE_HOME /u01/app/oracle/product/middleware/jdk16
    Installation in progress
    ................
    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing Oracle WebLogic Server

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/Oracle_BI1
    Installation in progress
    .................
    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/oms
    Installation in progress
    ...........Installation in progress
    ..Unable to find product oracle.swd.jre[1.5.0.0.0, 9.9.9] in Oracle Inventory
    ..
    Install successful
    Linking in progress

    Link successful
    Setup in progress
    .
    Setup successful
    Copying plug-ins to Management Service Oracle Home
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/installActions2017-10-03_09-12-14-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/core/12.1.0.5.0
    Installation in progress
    ..........
    Install successful
    Linking in progress

    Link successful
    Setup in progress
    ......
    Setup successful
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-03_09-14-32-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/sbin
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Extracting WT.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-03_09-14-39-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/oracle_common
    Installation in progress
    .............
    Install successful
    Linking in progress

    Link successful
    Setup in progress
    ...
    Setup successful
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-03_09-24-28-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/Oracle_WT
    Installation in progress
    ................
    Install successful
    Linking in progress
    Error in invoking target 'install' of makefile '/u01/app/oracle/product/middleware/Oracle_WT/webcache/lib/ins_calypso.mk'. See '/u01/app/oraInventory/logs/cloneActions2017-10-03_09-24-28-AM.log' for details.

    Link successful
    Setup in progress

    Setup successful
    Applying the required oneoff patches.

    Warning: The following configuration scripts need to be executed as the "root" user
      /u01/app/oracle/product/middleware/oms/allroot.sh
    To execute the configuration scripts:
     1. Open a new  terminal window
     2. Login in as "root"
     3. Run the scripts

    Enterprise Manager Cloud Control Installation has finished.

As root, execute /u01/app/oracle/product/middleware/oms/allroot.sh as asked.

Check logs for errors, if you have some errors then check about errors you may encounter at the end of this article.

OMS configuration

Second step is to configure OMS which may take a while:

# 2nd step: Configure OMS
[oracle]$ OEM_SERVICENAME=emrep
[oracle]$ OEM_BASE=/u01/app/oracle/product
[oracle]$ MW_HOME=$OEM_BASE/middleware
[oracle]$ $MW_HOME/oms/sysman/install/ConfigureGC.sh -silent \
  -responseFile $PWD/response/new_install.rsp         \
  SOFTWARE_LIBRARY_LOCATION="$MW_HOME/sw_lib"         \
  ORACLE_INSTANCE_HOME_LOCATION="$MW_HOME/gc_inst"    \
  WLS_ADMIN_SERVER_USERNAME="weblogic"                \
  WLS_ADMIN_SERVER_PASSWORD="OemWlsAdmin_pw0"         \
  WLS_ADMIN_SERVER_CONFIRM_PASSWORD="OemWlsAdmin_pw0" \
  NODE_MANAGER_PASSWORD="OemNodeManager_pw0"          \
  NODE_MANAGER_CONFIRM_PASSWORD="OemNodeManager_pw0"  \
  AGENT_REGISTRATION_PASSWORD="OemAgent_pw0"          \
  AGENT_REGISTRATION_CONFIRM_PASSWORD="OemAgent_pw0"  \
  DATABASE_HOSTNAME="oralab01"                        \
  LISTENER_PORT="1521"                                \
  SERVICENAME_OR_SID="$OEM_SERVICENAME"               \
  SYS_PASSWORD="OraSys_pw0"                           \
  SYSMAN_PASSWORD="OraSysman_pw0"                     \
  SYSMAN_CONFIRM_PASSWORD="OraSysman_pw0"             \
  MANAGEMENT_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt.dbf" \
  CONFIGURATION_DATA_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt_ecm_depot1.dbf" \
  JVM_DIAGNOSTICS_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt_deepdive.dbf" \
  DEPLOYMENT_SIZE="SMALL"

    Starting Oracle Universal Installer...

    Checking Temp space: must be greater than 400 MB.   Actual 4509 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 7239 MB    Passed

    Installing plug-in /u01/app/oracle/product/middleware/oms/install/tmp_installer/oracle.sysman.cfw/12.1.0.3.0/12.1.0.3.0_OMS_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-25-23-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/plugins/oracle.sysman.cfw.oms.plugin_12.1.0.3.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/install/tmp_installer/oracle.sysman.db/12.1.0.8.0/12.1.0.8.0_OMS_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-25-38-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/plugins/oracle.sysman.db.oms.plugin_12.1.0.8.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/install/tmp_installer/oracle.sysman.xa/12.1.0.6.0/12.1.0.6.0_OMS_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-26-20-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/plugins/oracle.sysman.xa.oms.plugin_12.1.0.6.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/install/tmp_installer/oracle.sysman.emas/12.1.0.8.0/12.1.0.8.0_OMS_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-26-24-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/plugins/oracle.sysman.emas.oms.plugin_12.1.0.8.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/install/tmp_installer/oracle.sysman.mos/12.1.0.6.0/12.1.0.6.0_OMS_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-26-49-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/middleware/plugins/oracle.sysman.mos.oms.plugin_12.1.0.6.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.emas/12.1.0.8.0/12.1.0.8.0_Agent_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-26-53-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.emas.agent.plugin_12.1.0.8.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.emrep/12.1.0.5.0/12.1.0.5.0_Agent_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-26-59-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.emrep.agent.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.beacon/12.1.0.5.0/12.1.0.5.0_Agent_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-03-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.beacon.agent.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.oh/12.1.0.5.0/12.1.0.5.0_Agent_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-08-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.oh.agent.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.csa/12.1.0.5.0/12.1.0.5.0_Agent_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-12-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.csa.agent.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.csa/12.1.0.5.0/12.1.0.5.0_Discovery_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-16-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.csa.discovery.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.oh/12.1.0.5.0/12.1.0.5.0_Discovery_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-20-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.5.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.db/12.1.0.8.0/12.1.0.8.0_Discovery_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-24-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.db.discovery.plugin_12.1.0.8.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.xa/12.1.0.6.0/12.1.0.6.0_Discovery_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-30-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.xa.discovery.plugin_12.1.0.6.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    Installing plug-in /u01/app/oracle/product/middleware/oms/sysman/install/plugins/oracle.sysman.emas/12.1.0.8.0/12.1.0.8.0_Discovery_2000_0.zip
    You can find the log of this install session at:
     /u01/app/oraInventory/logs/cloneActions2017-10-04_04-27-34-AM.log

    Installing ORACLE_HOME /u01/app/oracle/product/agent/plugins/oracle.sysman.emas.discovery.plugin_12.1.0.8.0
    Installation in progress

    Install successful
    Linking in progress

    Link successful
    Setup in progress

    Setup successful
    2017-10-04_04-27-40-AM: Configuration assistant "Plugins Prerequisites Check"  is in progress.

    2017-10-04_04-28-23-AM: Configuration assistant "Plugins Prerequisites Check" has Succeeded.

    2017-10-04_04-28-23-AM: Configuration assistant "Repository Configuration"  is in progress.

    Calling the EMSCHEMA MANAGER: CREATE

    Processing command line ....
    Repository Creation Utility - Checking Prerequisites
    Checking Global Prerequisites
    Repository Creation Utility - Checking Prerequisites
    Checking Component Prerequisites
    Repository Creation Utility - Creating Tablespaces
    Validating and Creating Tablespaces
    Repository Creation Utility - Create
    Repository Create in progress.

     Check the Repository Configuration Assistant logs at: /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager

    HTTP Test Inserted Successfully
    DHTML Test Inserted Successfully
    HTTPPING Test Inserted Successfully
    Ping Test Inserted Successfully
    DNS Test Inserted Successfully
    FTP Test Inserted Successfully
    Port Test Inserted Successfully
    TNS Test Inserted Successfully
    SQLT Test Inserted Successfully
    JDBC Test Inserted Successfully
    Forms Test Inserted Successfully
    OS Test Inserted Successfully
    Oats Test Inserted Successfully
    Successfully Added HTTP Query Descriptors

    Successfully Added DHTML Query Descriptors

    Successfully Added PING Query Descriptors

    Successfully Added DNS Query Descriptors

    Successfully Added FTP Query Descriptors

    Successfully Added Port Query Descriptors

    Successfully Added TNS Query Descriptors

    Successfully Added SQLT Query Descriptors

    Successfully Added JDBC Query Descriptors

    Successfully Added Forms Query Descriptors

    Successfully Added OS Query Descriptors

    Successfully Added OPENSCRIPT Query Descriptors

      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/imap.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :imap_host
    PropertyName :imap_port
    PropertyName :imap_user_name
    PropertyName :imap_password
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: IMAP , generic_service , 1.0
    Enabled test for: IMAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/imap.properties.v2
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :imap_host
    PropertyName :imap_port
    PropertyName :imap_user_name
    PropertyName :imap_password
    PropertyName :imap_header_count
    PropertyName :connection
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: IMAP , generic_service , 1.0
    Enabled test for: IMAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/imap.properties.v3
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :imap_host
    PropertyName :imap_port
    PropertyName :imap_user_name
    PropertyName :imap_password
    PropertyName :imap_header_count
    PropertyName :connection
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: IMAP , generic_service , 1.0
    Enabled test for: IMAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/smtp.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :smtp_address
    PropertyName :smtp_sender_id
    PropertyName :smtp_recipient_id
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: SMTP , generic_service , 1.0
    Enabled test for: SMTP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/smtp.properties.v2
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :smtp_address
    PropertyName :smtp_port
    PropertyName :smtp_sender_id
    PropertyName :smtp_recipient_id
    PropertyName :connection
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: SMTP , generic_service , 1.0
    Enabled test for: SMTP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/smtp.properties.v3
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: SMTP , generic_service , 1.0
    Enabled test for: SMTP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/smtp.properties.v4
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: SMTP , generic_service , 1.0
    Enabled test for: SMTP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/ldap.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :ldap_address
    PropertyName :ldap_port
    PropertyName :ldap_user_name
    PropertyName :ldap_password
    PropertyName :numretries
    PropertyName :retryinterval
    PropertyName :ldap_filter
    PropertyName :ldap_base
    PropertyName :ldap_attrname
    PropertyName :ldap_attrvalue
    PropertyName :ldap_timeout
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: LDAP , generic_service , 1.0
    Enabled test for: LDAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/ldap.properties.v2
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :ldap_address
    PropertyName :ldap_port
    PropertyName :ldap_user_name
    PropertyName :ldap_password
    PropertyName :numretries
    PropertyName :retryinterval
    PropertyName :ldap_filter
    PropertyName :ldap_base
    PropertyName :ldap_attrname
    PropertyName :ldap_attrvalue
    PropertyName :ldap_timeout
    PropertyName :connection
    PropertyName :secure_auth
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: LDAP , generic_service , 1.0
    Enabled test for: LDAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/pop.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :pop_host
    PropertyName :pop_user_name
    PropertyName :pop_password
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: POP , generic_service , 1.0
    Enabled test for: POP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/nntp.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :nntp_address
    PropertyName :nntp_newsgroup
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: NNTP , generic_service , 1.0
    Enabled test for: NNTP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/soap.properties.v2
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :soap_endpoint
    PropertyName :soap_payload
    PropertyName :soap_action_uri
    PropertyName :soap_auth_realm
    PropertyName :soap_auth_username
    PropertyName :soap_auth_password
    PropertyName :numretries
    PropertyName :retryinterval
    PropertyName :soap_wsdl_url
    PropertyName :soap_operation
    PropertyName :soap_parameters
    PropertyName :soap_wadl_resn
    PropertyName :soap_wadl_methn
    PropertyName :soap_wadl_reqtype
    PropertyName :soap_wadl_restype
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: SOAP , generic_service , 1.0
    Enabled test for: SOAP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/siebel.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :retryinterval
    PropertyName :txnDetails
    PropertyName :timeoutduration
    PropertyName :granularity
    PropertyName :username
    PropertyName :password
    PropertyName :isSecureCommand
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/xmpp.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :host
    PropertyName :port
    PropertyName :user_name
    PropertyName :password
    PropertyName :contact_name
    PropertyName :connection
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: XMPP , generic_service , 1.0
    Enabled test for: XMPP , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/webdav.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :url
    PropertyName :user_name
    PropertyName :password
    PropertyName :trash_url
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: WebDAV , generic_service , 1.0
    Enabled test for: WebDAV , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
      ********   ORACLE_HOME is /u01/app/oracle/product/middleware/oms
    test properties path: /u01/app/oracle/product/middleware/oms/sysman/admin/emdrep/prop/caldav.properties
    CreateTestType:createCompleteTest: BEGIN
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createTestMetadataObject: END
    CreateTestType:createPropertyGroups: BEGIN
    CreateTestType:createPropertyGroups: END
    CreateTestType:createStrayProperties: BEGIN
    CreateTestType:createStrayProperties: END
    CreateTestType:createDefaultPromotions: BEGIN
    CreateTestType:createDefaultPromotions: END
    CreateTestType:createDefaultThresholds: BEGIN
    CreateTestType:createDefaultThresholds: END
    CreateTestType:createMetrics4TestType: BEGIN
    CreateTestType:createMetrics4TestType: END
    PropertyName :url
    PropertyName :user_name
    PropertyName :password
    PropertyName :view_date
    PropertyName :secure_auth
    PropertyName :timeout
    PropertyName :numretries
    PropertyName :retryinterval
    CreateTestType:createQueryDescriptor: BEGIN
    CreateTestType:createQueryDescriptor: END
    Enabled test for: CalDAV , generic_service , 1.0
    Enabled test for: CalDAV , aggregate_service , 1.0
    CreateTestType:createCompleteTest: END
    Repository Creation Utility: Create - Completion Summary
    Database details:
    Connect Descriptor                      : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oralab01)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))
    Connected As                    : SYS
    RCU Logfile                     : /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/rcu.log
    Component schemas created:
    Component                       Status  Logfile
    EM Repository Creation Configuration            Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/em_repos_config.log
    EM Repository Init Configuration                Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/em_repos_init.log
    EM Repository Common            Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/em_repos_common.log

    Repository Creation Utility - Create : Operation Completed
    The create is completed now running the MOS

    -------------------This action is not required ------------------
    The correct order of execution is :
    -showPrereqs , -runPrerequisites , -showCorrectiveActions , -runCorrectiveActions , -runPrerequisites(optional at this point), -showPostCorrectiveActions , -runPostCorrectiveActions
    2017-10-04_06-04-33-AM: Configuration assistant "Repository Configuration" has Succeeded.

    2017-10-04_06-04-33-AM: Configuration assistant "MDS Schema Configuration"  is in progress.

    Processing command line ....
    Repository Creation Utility - Checking Prerequisites
    Checking Global Prerequisites
    Repository Creation Utility - Checking Prerequisites
    Checking Component Prerequisites
    Repository Creation Utility - Creating Tablespaces
    Validating and Creating Tablespaces
    RCU-6108:DB TablespaceFreeMB Prerequisite failure for: MGMT_TABLESPACE
    Current space is 13MB. It should be be greater than 50MB.
    Repository Creation Utility - Create
    Repository Create in progress.
    Percent Complete: 0
    Percent Complete: 10
    Percent Complete: 20
    Percent Complete: 20
    Percent Complete: 50
    Percent Complete: 100
    Repository Creation Utility: Create - Completion Summary
    Database details:
    Connect Descriptor                      : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oralab01)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))
    Connected As                    : SYS
    Prefix for (prefixable) Schema Owners : SYSMAN
    RCU Logfile                     : /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/rcu.log
    Component schemas created:
    Component                       Status  Logfile
    Metadata Services               Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/mds.log

    Repository Creation Utility - Create : Operation Completed
    Processing command line ....
    Repository Creation Utility - Checking Prerequisites
    Checking Global Prerequisites
    Repository Creation Utility - Checking Prerequisites
    Checking Component Prerequisites
    Repository Creation Utility - Creating Tablespaces
    Validating and Creating Tablespaces
    RCU-6108:DB TablespaceFreeMB Prerequisite failure for: MGMT_TABLESPACE
    Current space is 13MB. It should be be greater than 50MB.
    Repository Creation Utility - Create
    Repository Create in progress.
    Percent Complete: 10
    2017-10-04 06:04:51,682 [Thread-280] WARN  - Ignorable error when running rcu
    Percent Complete: 30
    2017-10-04 06:04:51,967 [Thread-280] WARN  - Ignorable error when running rcu
    2017-10-04 06:04:51,970 [Thread-280] WARN  - Ignorable error when running rcu
    ...
    ...
    2017-10-04 06:04:52,914 [Thread-280] WARN  - Ignorable error when running rcu
    2017-10-04 06:04:52,940 [Thread-280] WARN  - Ignorable error when running rcu
    Percent Complete: 50
    Percent Complete: 50
    Percent Complete: 100
    Repository Creation Utility: Create - Completion Summary
    Database details:
    Connect Descriptor                      : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oralab01)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))
    Connected As                    : SYS
    Prefix for (prefixable) Schema Owners : SYSMAN
    RCU Logfile                     : /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/rcu.log
    Component schemas created:
    Component                       Status  Logfile
    Oracle Platform Security Services               Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/opss.log

    Repository Creation Utility - Create : Operation Completed
    Processing command line ....
    Repository Creation Utility - Checking Prerequisites
    Checking Global Prerequisites
    Repository Creation Utility - Checking Prerequisites
    Checking Component Prerequisites
    Repository Creation Utility - Creating Tablespaces
    Validating and Creating Tablespaces
    Repository Creation Utility - Create
    Repository Create in progress.
    Percent Complete: 0
    Percent Complete: 25
    Percent Complete: 50
    Percent Complete: 50
    Percent Complete: 100
    Repository Creation Utility: Create - Completion Summary
    Database details:
    Connect Descriptor                      : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oralab01)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))
    Connected As                    : SYS
    Prefix for (prefixable) Schema Owners : SYSMAN
    RCU Logfile                     : /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/rcu.log
    Component schemas created:
    Component                       Status  Logfile
    Authorization Policy Manager            Success /u01/app/oracle/product/middleware/oms/sysman/log/schemamanager/m_041017_0428/m_041017_0428.CREATE/apm.log

    Repository Creation Utility - Create : Operation Completed
    2017-10-04_06-05-04-AM: Configuration assistant "MDS Schema Configuration" has Succeeded.

    2017-10-04_06-05-04-AM: Configuration assistant "OMS Configuration"  is in progress.


     Executing the OMSCA command...

     Check the OMS Configuration Assistant logs at: /u01/app/oracle/product/middleware/oms/cfgtoollogs/omsca



     OMS Configuration completed successfully..


    2017-10-04_06-20-57-AM: Configuration assistant "OMS Configuration" has Succeeded.

    2017-10-04_06-20-57-AM: Configuration assistant "Plugins Deployment and Configuration"  is in progress.

    2017-10-04_06-34-38-AM: Configuration assistant "Plugins Deployment and Configuration" has Succeeded.

    2017-10-04_06-34-38-AM: Configuration assistant "Start Oracle Management Service"  is in progress.

    Starting OMS ...
    Executing command: /u01/app/oracle/product/middleware/oms/bin/emctl start oms

    Starting of OMS is successful.
    Starting export oms config...
    Executing command: /u01/app/oracle/product/middleware/oms/bin/emctl exportconfig oms -dir  /u01/app/oracle/product/middleware/gc_inst/em/EMGC_OMS1/sysman/backup

    Export config of OMS is successful.

    2017-10-04_06-41-31-AM: Configuration assistant "Start Oracle Management Service" has Succeeded.

    2017-10-04_06-41-32-AM: Configuration assistant "Oracle Configuration Manager Repeater Configuration"  is in progress.

    2017-10-04_06-41-32-AM: Configuration assistant "Oracle Configuration Manager Repeater Configuration" has Succeeded.

    2017-10-04_06-41-32-AM: Configuration assistant "Agent Configuration Assistant"  is in progress.

    Forwarder proxy Port  agent Mode execDeployAgentOnly
    AgentConfiguration:agent configuration has been started
    Validating OMS_HOST and EM_UPLOAD_PORT
    Performing free port detection..

    Getting Inet Addresses for host oralab01.uxora.com
    ** Agent Port Check completed successfully.**
    Agent Mode is None
    AgentConfiguration: Executing emctl deploy agent command...

    Timeout value is:600
    AgentConfiguration: Executing emctl config agent command...

    AgentConfiguration:agent configuration finished with status = true

    2017-10-04_06-48-02-AM: Configuration assistant "Agent Configuration Assistant" has Succeeded.

    *** The Installation was Successful. ***


    This information is also available at:

            /u01/app/oracle/product/middleware/oms/install/setupinfo.txt

    See below for information pertaining to your Enterprise Manager installation:


    Use the following URL to access:

            1. Enterprise Manager Cloud Control URL: https://oralab01:7803/em
            2. Admin Server URL: https://oralab01:7102/console

    The following details need to be provided during the additional OMS install:

            1. Admin Server Hostname: oralab01
            2. Admin Server Port: 7102

    You can find the details on ports used by this deployment at : /u01/app/oracle/product/middleware/oms/install/portlist.ini


     NOTE:
     An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.

     A backup of the OMS configuration is available in /u01/app/oracle/product/middleware/gc_inst/em/EMGC_OMS1/sysman/backup on host oralab01. See Cloud Control Administrators Guide for details on how to back up and recover an OMS.

     NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:
    /u01/app/oracle/product/middleware/oms/bin/emctl exportconfig oms -dir <backup dir>

Installation is finished.

You may now access to Enterprise Manager Cloud Control URL https://oralab01:7803/em and connect as sysman to start configuring it.

Others

One command install

If you really insist to do one command install, here is the command line:

# Oem12c one command install 
[oracle]$ OEM_SERVICENAME=emrep
[oracle]$ OEM_BASE=/u01/app/oracle/product
[oracle]$ cd /mnt/nfs/uxora_share/ora_install_files/em12105_stage/
[oracle]$ ./runInstaller -silent -waitForCompletion   \
  -responseFile $PWD/response/new_install.rsp         \
  SECURITY_UPDATES_VIA_MYORACLESUPPORT="false"        \
  DECLINE_SECURITY_UPDATES="true"                     \
  INSTALL_UPDATES_SELECTION="skip"                    \
  AGENT_BASE_DIR="$OEM_BASE/agent"                    \
  ORACLE_MIDDLEWARE_HOME_LOCATION="$OEM_BASE/middleware/oms"   \
  ORACLE_INSTANCE_HOME_LOCATION="$OEM_BASE/middleware/gc_inst" \
  DATABASE_HOSTNAME="oralab01"                        \
  LISTENER_PORT="1521"                                \
  SERVICENAME_OR_SID="$OEM_SERVICENAME"               \
  SYS_PASSWORD="OraSys_pw0"                           \
  SYSMAN_PASSWORD="OraSysman_pw0"                     \
  SYSMAN_CONFIRM_PASSWORD="OraSysman_pw0"             \
  WLS_ADMIN_SERVER_PASSWORD="OemWlsAdmin_pw0"         \
  WLS_ADMIN_SERVER_CONFIRM_PASSWORD="OemWlsAdmin_pw0" \
  NODE_MANAGER_PASSWORD="OemNodeManager_pw0"          \
  NODE_MANAGER_CONFIRM_PASSWORD="OemNodeManager_pw0"  \
  AGENT_REGISTRATION_PASSWORD="OemAgent_pw0"          \
  AGENT_REGISTRATION_CONFIRM_PASSWORD="OemAgent_pw0"  \
  MANAGEMENT_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt.dbf"                    \
  CONFIGURATION_DATA_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt_ecm_depot1.dbf" \
  JVM_DIAGNOSTICS_TABLESPACE_LOCATION="+DATA/$OEM_SERVICENAME/datafile/mgmt_deepdive.dbf"      \
  DEPLOYMENT_SIZE="SMALL"

Error you may encounter

ORA-28040: No matching authentication protocol

You may encounter this error with a new 12c database because Oracle Enterprise Cloud Manager 12c is still using the old 10g JDBC driver (ojdbc14.jar) to connect.

Prior to version 12c, the default setting for SQLNET.ALLOWED_LOGON_VERSION (deprecated parameter in 12c) was 8. Now in 12c the default value of the 12c equivalent parameters SQLNET.ALLOWED_LOGON_VERSION_CLIENT and SQLNET.ALLOWED_LOGON_VERSION_SERVER are now 11.

A workaround to avoid this error:

# Set minimum logon authentification version in sqlnet.ora
# To avoid ORA-28040: No matching authentication protocol
[oracle]$ cat >> $ORACLE_HOME/network/admin/sqlnet.ora <<_EOF_
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
#SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
_EOF_

# Recreate oracle user password to be compatible 10G
# To avoid ORA-01017: invalid username/password; logon denied
[oracle]$ sqlplus / as sysdba

-- Check password compatibility
SQL> select USERNAME,PASSWORD_VERSIONS from dba_users where USERNAME = 'SYS';
    USERNAME                         PASSWORD_VERSIONS
    -------------------------------- -----------------
    SYS                              11G 12C

-- Reinitialize password
SQL> alter user SYS identified by OraSys_pw0 ;

    User SYS altered.

-- Check again password compatibility
SQL> select USERNAME,PASSWORD_VERSIONS from dba_users where USERNAME = 'SYS';
    USERNAME                         PASSWORD_VERSIONS
    -------------------------------- -----------------
    SYS                              10G 11G 12C

Now database instance will accept 10g authentification only with users who have 10G PASSWORD_VERSIONS compatibility.

Error install of makefile ins_sqlplus.mk

Error output

INFO: 02/10/17 04:46:21 CEST: /usr/bin/ld: cannot find -lclntsh
/u01/app/oracle/product/middleware/oms/lib32//libztkg11.a(cc_memory.o): In function `krb5_mcc_generate_new':
cc_memory.c:(text.unlikely+0x1bd2): warning: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status

INFO: 02/10/17 04:46:21 CEST: make[1]: *** [/u01/app/oracle/product/middleware/oms/sqlplus/bin/sqlplus32] Error 1
make: *** [newsqlplus32] Error 2

INFO: 02/10/17 04:46:21 CEST: End output from spawned process.
INFO: 02/10/17 04:46:21 CEST: ----------------------------------
INFO: 02/10/17 04:46:21 CEST: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/product/middleware/oms/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInventory/logs/installActions2017-10-02_03-59-08-AM.log' for details.
Exception Severity: 1
INFO: 02/10/17 04:46:21 CEST: POPUP WARNING:Error in invoking target 'install' of makefile '/u01/app/oracle/product/middleware/oms/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInventory/logs/installActions2017-10-02_03-59-08-AM.log' for details.

Solution

If you are in GUI installation, just do the part 0 and 1 then click retry

##############################################  
# If Error install of makefile ins_sqlplus.mk :
#   - ld: cannot find crt1.o: No such file or directory
#   - ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
#   - ld: cannot find -lclntsh
# Fix it by Regenerating sqlplus and sqlplus32
##############################################

# Part 0- Make sure glibc-devel is installed
[oracle]$ sudo yum install glibc-devel.x86_64 glibc-devel.i686 

# Part 1- Regenerate clntsh library
[oracle]$ OMS_HOME=/u01/app/oracle/product/middleware/oms
[oracle]$ cd $OMS_HOME/bin
[oracle]$ export ORACLE_HOME=$OMS_HOME
[oracle]$ ./genclntsh lib32
[oracle]$ ./genclntsh

    $OMS_HOME/lib/libztkg11.a(cc_memory.o): In function `krb5_mcc_generate_new':
    cc_memory.c:(.text+0x18ab): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    $OMS_HOME/lib32/libztkg11.a(cc_memory.o): In function `krb5_mcc_generate_new':
    cc_memory.c:(text.unlikely+0x1bd2): warning: the use of `mktemp' is dangerous, better use `mkstemp'


# Part 2- Recompiling and linking sqlplus
[oracle]$ OMS_HOME=/u01/app/oracle/product/middleware/oms
[oracle]$ gcc -o $OMS_HOME/sqlplus/bin/sqlplus \
  -L$OMS_HOME/sqlplus/lib/ -L$OMS_HOME/lib/ -L$OMS_HOME/lib/stubs/ \
  $OMS_HOME/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh  `cat $OMS_HOME/lib/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat $OMS_HOME/lib/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 \
  -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 \
  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 \
  -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat $OMS_HOME/lib/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat $OMS_HOME/lib/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11 -lvsn11 \
  -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 \
  -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 \
  -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11 -lcore11 \
  -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 \
  -lnls11 -lcore11 -lnls11 `cat $OMS_HOME/lib/sysliblist` -Wl,-rpath,$OMS_HOME/lib \
  -lm -lpthread `cat $OMS_HOME/lib/sysliblist` -ldl -lm -lpthread  -L$OMS_HOME/lib

[oracle]$ mv -f $OMS_HOME/sqlplus/bin/sqlplus $OMS_HOME/bin/sqlplus
[oracle]$ chmod 751 $OMS_HOME/bin/sqlplus


# Part 3- Recompiling and linking sqlplus32
[oracle]$ OMS_HOME=/u01/app/oracle/product/middleware/oms
[oracle]$ cp $OMS_HOME/lib32/stubs/libaio.so.1 $OMS_HOME/lib32/.

[oracle]$ gcc -m32 -o $OMS_HOME/sqlplus/bin/sqlplus32 \
  -L$OMS_HOME/sqlplus/lib32/ -L$OMS_HOME/lib32/ -L$OMS_HOME/lib32/stubs/ \
  $OMS_HOME/sqlplus/lib32/s0afimai.o -lsqlplus -lclntsh  `cat $OMS_HOME/lib32/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat $OMS_HOME/lib32/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 \
  -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 \
  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 \
  -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat $OMS_HOME/lib32/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat $OMS_HOME/lib32/ldflags` \
  -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11 -lvsn11 \
  -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 \
  -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 \
  -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11 -lcore11 \
  -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 \
  -lnls11 -lcore11 -lnls11 `cat $OMS_HOME/lib32/sysliblist` -Wl,-rpath,$OMS_HOME/lib32 \
  -lm -lpthread   `cat $OMS_HOME/lib32/sysliblist` -ldl -lm -lpthread  -L$OMS_HOME/lib32

[oracle]$ mv -f $OMS_HOME/sqlplus/bin/sqlplus32 $OMS_HOME/bin/sqlplus32
[oracle]$ chmod 751 $OMS_HOME/bin/sqlplus32

Error install of makefile ins_calypso.mk

Error output

INFO: 02/10/17 05:08:06 CEST: /usr/bin/ld: libwebcache.a(wxsmdms.o): undefined reference to symbol 'yodSensorInvalidate'
/u01/app/oracle/product/middleware/Oracle_WT/lib/libdms2.so: error adding symbols: DSO missing from command line

INFO: 02/10/17 05:08:06 CEST: collect2: error: ld returned 1 exit status
make: *** [webcached] Error 1

INFO: 02/10/17 05:08:06 CEST: End output from spawned process.
INFO: 02/10/17 05:08:06 CEST: ----------------------------------
INFO: 02/10/17 05:08:06 CEST: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/product/middleware/Oracle_WT/webcache/lib/ins_calypso.mk'. See '/u01/app/oraInventory/logs/cloneActions2017-10-02_05-07-19-AM.log' for details.
Exception Severity: 1
INFO: 02/10/17 05:08:06 CEST: POPUP WARNING:Error in invoking target 'install' of makefile '/u01/app/oracle/product/middleware/Oracle_WT/webcache/lib/ins_calypso.mk'. See '/u01/app/oraInventory/logs/cloneActions2017-10-02_05-07-19-AM.log' for details.

Solution

If you are in GUI installation, just do the part 1 then click retry

##############################################  
# If Error install of makefile ins_calypso.mk
# Fix it by Regenerating webcached
##############################################

# Part 1- Add -ldms2 link library
[oracle]$ MW_HOME=/u01/app/oracle/product/middleware

[oracle]$ cd $MW_HOME/Oracle_WT/webcache/lib

[oracle]$ cp $MW_HOME/Oracle_WT/lib/sysliblist{,.orig}

[oracle]$ printf " -ldms2 " >> $MW_HOME/Oracle_WT/lib/sysliblist

# Part 2- Recompiling webcached
[oracle]$ gcc -o webcached \
  -L$MW_HOME/Oracle_WT/webcache/lib/ -L$MW_HOME/Oracle_WT/lib/ -L$MW_HOME/Oracle_WT/lib/stubs/ \
  main.o libwebcache.a -Wl,-rpath,$MW_HOME/Oracle_WT/lib -liau -lnnz11 -lxml11 -lclntsh \
  -lcore11 -lunls11 -lnls11  $MW_HOME/Oracle_WT/lib/liboraz.a -ldmsapp -lons \
  `cat $MW_HOME/Oracle_WT/lib/sysliblist` -lrt -Wl,-rpath,$MW_HOME/Oracle_WT/lib -lm \
  `cat $MW_HOME/Oracle_WT/lib/sysliblist` -lrt -ldl -lm -L$MW_HOME/Oracle_WT/lib

[oracle]$ mv ./webcached ../bin/.
[oracle]$ chmod 750 $MW_HOME/Oracle_WT/webcache/bin/webcached

 

Please leave comments and suggestions,
Michel.

Reference
Installing Enterprise Manager in Silent Mode (oracle.com)
Oracle Enterprise Manager Licensing Information (oracle.com)

Enjoyed this article? Please like it or share it.

Add comment

Please connect with one of social login below (or fill up name and email)

     


Security code
Refresh

Comments   

Krishnaprasad Menon
# Thank you for this blogKrishnaprasad Menon 2018-08-24 10:47
Thank you so much Michel. I have been struggling with ORA-28040 error for like 1 week and then I came across this page of yours. Really it is so helpful and precise.
Reply | Reply with quote | Quote