My Oracle Support Banner

EM 13c: Executing the get_agentimage option in Enterprise Manager 13.1 Cloud Control emcli fails from an MS Windows Target Host:java.io.IOException: Cannot run program "/bin/sh": CreateProcess error=2, The system cannot find the file specified (Doc ID 2262291.1)

Last updated on MAY 09, 2017

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 to 13.1.0.0.0 [Release 13.1]
Information in this document applies to any platform.

Symptoms

Enterprise Manager (EM) 13.1.0.0.0 Cloud Control silent agent installation


Executing the get_agentimage option in emcli fails from an MS Windows target host fails:

<Middleware Home>\bin>emcli get_agentimage -destination=C:\oracle_em131\emhome_1\EM_Deployment_For_Linux -platform="Linux x86" -version=13.1.0
.0.0
 === Partition Detail ===
Space free : 9 GB
Space required : 1 GB
Check the logs at C:\oracle_em131\em_home1\gc_inst\em\EMGC_OMS1\sysman\emcli\set
up/.emcli/get_agentimage_2017-02-23_10-36-26-AM.log
Downloading C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\13.1.0.0.0_AgentCor
e_46.zip
File saved as C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\13.1.0.0.0_AgentC
ore_46.zip
Downloading C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\13.1.0.0.0_Plugins_
46.zip
File saved as C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\13.1.0.0.0_Plugin
s_46.zip
Downloading C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\unzip
File saved as C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\unzip
Executing command: C:\oracle_em131\em_home1\Agent\agent_13.1.0.0.0\bin\unzip.exe
 C:\oracle_em131\emhome_1\EM_Deployment_For_Linux\13.1.0.0.0_Plugins_46.zip -d C
:\oracle_em131\emhome_1\EM_Deployment_For_Linux
java.io.IOException: Cannot run program "/bin/sh": CreateProcess error=2, The sy
stem cannot find the file specified



Changes

 

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.