My Oracle Support Banner

13.4: "emcli get_agentimage" Command Fails With Error "Extracting plugins failed" on OMS Installed on Windows (Doc ID 2746386.1)

Last updated on MAY 10, 2021

Applies to:

Enterprise Manager Base Platform - Version 13.4.0.0.0 to 13.4.0.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

While extracting agent binaries for silent install using "emcli get_agentimage" command, it fails during the extraction of plugins. This issue is specific to OMS installed on Windows OS.

<OMS_HOME>\bin>emcli get_agentimage -destination=<Agent Binary directory> -platform=" Microsoft Windows x64 (64-bit)"
=== Partition Detail ===
Space free : 16 GB
Space required : 1 GB
Check the logs at <EM_INSTANCE_BASE>\gc_inst\em\EMGC_OMS1\sysman\emcli\setup/.emcli/get_agentimage_2021-01-07_15-07-03-PM.log
Downloading <Agent Binary directory>\13.4.0.0.0_AgentCore_233.zip
File saved as <Agent Binary directory>\13.4.0.0.0_AgentCore_233.zip
Downloading <Agent Binary directory>\13.4.0.0.0_Plugins_233.zip
File saved as <Agent Binary directory>\13.4.0.0.0_Plugins_233.zip
Downloading <Agent Binary directory>\unzip.exe
File saved as <Agent Binary directory>\unzip.exe
Executing command: <Agent Binary directory>\unzip.exe <Agent Binary directory>\13.4.0.0.0_Plugins_233.zip -d <Agent Binary directory>
ERROR: Command <Agent Binary directory>\unzip.exe <Agent Binary directory>\13.4.0.0.0_Plugins_233.zip -d <Agent Binary directory> execution failed.
Extracting plugins failed.
If your agent image platform and the emcli client setup is on a different platform then you need to set the environment variable UNZIP_LOC to the absolute path of unzip utility location which is greater than or equal to version 6.0.
Example: setenv UNZIP_LOC /usr/local/bin/unzip,for windows set UNZIP_LOC=C:/unzip.exe

 

<EM_INSTANCE_BASE>\gc_inst\em\EMGC_OMS1\sysman\agentpush\logs\EMAgentPushLogger<timestamp>.log.0

2021-01-08_08-04-58:INFO:Cmd <OMS_HOME>/perl/bin/perl <OMS_HOME>/sysman/prov/agentpush/scripts/zipUtil.pl zip <OMS_HOME>/bin/zip H:/temp_2021-01-08_08-04-57-252_windows_x64 <EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/agentpush/2021-01-08_07-46-09-AM/plugins/windows_x64/13.4.0.0.0_Plugins_233.zip
2021-01-08_08-04-58:INFO:Nodelocalhost
2021-01-08_08-04-58:INFO:OUT:
2021-01-08_08-04-58:INFO:ERR:null
2021-01-08_08-04-58:INFO:exit:1
2021-01-08_08-04-58:INFO:STATUS:false
2021-01-08_08-04-58:INFO:Exception agent image :Unable to zip file <EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/agentpush/2021-01-08_07-46-09-AM/plugins/windows_x64/13.4.0.0.0_Plugins_233.zip

 

NOTE: This issue is specific to OMS installed on Windows host. However, the issue can be observed while extracting agent software for any platform.

Changes

This issue is observed after applying the RU8 or later (upgrading the OPatch to 13.9.4.2.5 and OMSPatcher to 13.9.4.4.0 in the process) 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.