My Oracle Support Banner

EM13C: Agent Push with the Add host Target Wizard Fails During Installation and Configuration with Error: /bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found (Doc ID 2116912.1)

Last updated on NOVEMBER 16, 2022

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Adding a host target in Enterprise Manager (EM) 13c Cloud Control fails with the following error:

/bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found

This error is confirmed in the <gc_inst>/em/EMGC_OMS1/sysman/agentpush/2016-02-23_10-21-09-AM/applogs/test.oracle.com_deploy.log file:

2016-03-10_15-05-18:INFO:/bin/sh -c '(cd /u01/app/agent13c/agent_13.1.0.0.0/cfgtoollogs && /u01/app/agent13c/agent_13.1.0.0.0/bin/zip -q -r /tmp/remoteArchivestest.oracle.com2016-03-10_03-05-17-PM.zip * -x oui/**\* OPatch/**\* oracle_common/**\*)' execution failed on host test.oracle.com
2016-03-10_15-05-18:INFO: OUT null
2016-03-10_15-05-18:INFO: ERR /bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found

2016-03-10_15-05-18:INFO: EXIT CODE127
2016-03-10_15-05-18:INFO: ACTION Execution of command (cd /u01/app/agent13c/agent_13.1.0.0.0/cfgtoollogs && /u01/app/agent13c/agent_13.1.0.0.0/bin/zip -q -r /tmp/remoteArchivestest.oracle.com2016-03-10_03-05-17-PM.zip * -x oui/**\* OPatch/**\* oracle_common/**\*) on host test.oracle.com
2016-03-10_15-05-18:INFO:InvocationTargetException Exception
2016-03-10_15-05-18:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2156)
at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:48)
at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err: /bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found
out: null exitcode: 127
stacktrace:
null
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1248)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1086)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:683)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:625)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.copyDirFromNode(DeployerOps.java:502)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doCollectLog(BaseDeployerOps.java:1266)
... 8 more

2016-03-10_15-05-18:INFO:=========Command Exception :Error Message:/bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found
<br><br> Exit Code :127
2016-03-10_15-05-18:INFO:Updating Action CollectLogwith Status FAILED and error Message :Error Message:/bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found

 

 

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.