Forum Stats

  • 3,750,404 Users
  • 2,250,174 Discussions


Unable to use OMS Agent of version shipped with Enterprise Manager 13.5

Victor.Khalturin Member Posts: 15 Blue Ribbon
edited Aug 5, 2021 10:22AM in Enterprise Manager

I've recently installed the new release of OEM 13.5 and now I'm trying to use an OMS agent for monitoring some old hosts with RHEL 5.* operating system.

An OMS Agent was successfully uploaded into an OMS through the patch There were no errors during an upload. For instance

##Performing the patch upload 
[email protected]|11:01|~:<OMS> emcli import_update -omslocal -file=/oracle/bins/patches/

Processing update: Agent Software - Agent Software ( for Linux x86-64
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.

## Self Update console 
... some steps here ...

## Get supported platforms
[email protected]|11:02|~:<OMS> emcli get_supported_platforms
Version =
 Platform = Linux x86-64
Version =
 Platform = Linux x86-64 

Platforms list displayed successfully.

The problem with the agent in OEM 13.5 is when I export an agent image the one of the requested files is missing. For instance

##Exporing agent image 
[email protected]|11:03|~:<OMS> emcli get_agentimage -destination=$PATCH_HOME/agent121505 -platform="Linux x86-64" -version=

 === Partition Detail ===
Space free : 171 GB
Space required : 1 GB
Check the logs at /oracle/oem13500/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_2021-08-05_11-03-13-AM.log
Downloading /oracle/bins/patches/agent121505/
File saved as /oracle/bins/patches/agent121505/
Downloading /oracle/bins/patches/agent121505/
File saved as /oracle/bins/patches/agent121505/
Downloading /oracle/bins/patches/agent121505/unzip
File saved as /oracle/bins/patches/agent121505/unzip
Agent Image Download completed successfully.

Despite the emli get_agentimage command completed successfully the missing file error is thrown in the emoms.log file

[[email protected] ~]# tail -30f /oracle/oem13500/gc_inst/em/EMGC_OMS1/sysman/log/emoms.log

2021-08-05 11:03:24,775 [emcli-work-manager:emcli-request] ERROR emCLI.CLIPageHandler executeCommand.2192 - /oracle/oem13500/middleware/install/agentImage/ (No such file or directory) /oracle/oem13500/middleware/install/agentImage/ (No such file or directory)
    at Method)
    at oracle.sysman.install.emcli.GetImageVerb.getOneFileStream(
    at oracle.sysman.emSDK.emCLI.CLIPageHandler.executeCommand(
    at oracle.sysman.emSDK.emCLI.CLIPageHandler.access$2000(
    at oracle.sysman.emSDK.emCLI.CLIPageHandler$CLIExecutor.executeRequest(
    at oracle.sysman.emSDK.emCLI.CLIPageHandler$CLIExecutor.doWork(
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$

Here the file is missing on the OMS host.

This will be the reason for the agent installation fails on a target host while installing the exported agent image there

[[email protected]]$ ./ AGENT_BASE_DIR=/agent12c RESPONSE_FILE=/stage/agent.rsp ORACLE_HOSTNAME=RHEL5.local

Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : /agent12c/core/ -classpath /agent12c/core/ oracle.sysman.agent.installer.AgentInstaller /agent12c/core/ /stage /agent12c AGENT_BASE_DIR=/agent12c RESPONSE_FILE=/stage/agent.rsp ORACLE_HOSTNAME=RHEL5.local -prereq

Validating oms host & port with url: http://oms-server:4903/empbs/genwallet
Validating oms host & port with url: https://oms-server:4903/empbs/genwallet
Return status:3-oms https port is passed
Unzipping the to /agent12c ....
Executing command : /stage/unzip -o /stage/ -d /agent12c
 End-of-central-directory signature not found. Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive. In the
 latter case the central directory and zipfile comment will be found on
 the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /stage/ or
    /stage/, and cannot find /stage/, period.
Failed to unzip /stage/ to /agent12c !

As the file is missing on the OMS host the emli get_agentimage created corrupted version of that file in the agent image

##Content of the agent image
[[email protected] stage]$ ll
total 489332
-rw-r--r-- 1 oracle oinstall 250228230 Aug  4 18:58
-rw-rw-r-- 1 oracle oinstall 250147135 Jun 16  2015
drwxr-xr-x 2 oracle oinstall      4096 Aug  4 19:10 agentDeploy
-rwxrwxr-x 1 oracle oinstall     29124 Jun 16  2015
-rw-rw-r-- 1 oracle oinstall       178 Jun 16  2015
-rw-r--r-- 1 oracle oinstall       281 Aug  4 18:59 agent.rsp
-rwxr-xr-x 1 oracle oinstall    145976 Jun 16  2015 unzip

##Plugin archive is currupted
[[email protected] stage]$ du -hs

[[email protected] stage]$ strings -a
sInternal Error: The EM CLI system has encountered an internal error. Details have been added to the OMS log files.

Does anyone has any idea how to fix the issue with OMS agent in OEM 13.5?


  • EricvdS
    EricvdS Member Posts: 972 Bronze Trophy

    Hi Victor,

    If you solve this issue and overcome the fact that RH 5 does default not support tsl 1.1 or 1.2, EM 13.5 only support agent versions:,, and


  • Victor.Khalturin
    Victor.Khalturin Member Posts: 15 Blue Ribbon
    edited Aug 9, 2021 8:41AM

    Hi EricvdS,

    Thank you for answering my question.

    I have no idea how to fix the issue at the moment but it looks like a bug with the agent 

    The agent is not shipped with the OEM 13c by default. This functionality is provided through Self Update feature of the Enterprise Manager by installing 2 additional patches into an OMS - and 

    The first patch is the catalog update and the second one is the agent image.

    Previously I used the patch to add the agent to OEM 13c and everything worked fine. But now Oracle has closed the possibility to download it and issued another patch  instead of it -

    So based on my previous experience with patch I expected that it should work with the patch as well.