My Oracle Support Banner

EM 13c: Agent Deployment from Enterprise Manager 12c Cloud Control Fails with Error: OUI-10036:Could not create the inventory directory (Doc ID 2519868.1)

Last updated on NOVEMBER 29, 2021

Applies to:

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


Agent deployment from Enterprise Manager (EM) 13c Cloud Control fails at the Installation and Configuration step with the following error:

From <EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/agentpush/<TIMESTAMP>/applogs/<AGENT_HOSTNAME>_deploy.log:

2019-03-17_13-11-50:INFO:/bin/bash -c '(cd <AGENT_HOME>/cfgtoollogs && <AGENT_HOME>/bin/zip -q -r /tmp/remoteArchives<AGENT_HOSTNAME> * -x oui/**\* OPatch/**\* oracle_common/**\*)' execution failed on host
2019-03-17_13-11-50:INFO: OUT null
2019-03-17_13-11-50:INFO: ERR /bin/bash: <AGENT_HOME>/bin/zip: No such file or directory
2019-03-17_13-11-50:INFO: EXIT CODE127
2019-03-17_13-11-50:INFO: ACTION Execution of command (cd <AGENT_HOME>/cfgtoollogs && <AGENT_HOME>/bin/zip -q -r /tmp/ * -x oui/**\* OPatch/**\* oracle_common/**\*) on host <AGENT_HOSTNAME>
2019-03-17_13-11-50:INFO:InvocationTargetException Exception
2019-03-17_13-11-50:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(
at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(
Caused by: CommandException: err: /bin/bash: <AGENT_HOME>/bin/zip: No such file or directory
out: null exitcode: 127
stacktrace: null


From <EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/agentpush/<TIMESTAMP>/logs/<AGENT_HOSTNAME>/remote_prereq.log:

Performing check for InventoryWritableCheck
Checking for write permissions on the inventory.
Check complete. The overall result of this check is: Failed <<<<

Check complete: Failed <<<<
Problem: You do not have permission to write to or create the central inventory on the system.
Recommendation: Ensure that the operating system user that you have specified for installing the agent has permission to write to or create the central inventory.


 From <EM_INSTANCE_BASE>/gc_inst/em/EMGC_OMS1/sysman/agentpush/<TIMESTAMP>/logs/<AGENT_HOSTNAME>/install.err:

Mar 17, 2019 1:11:33 PM oracle.sysman.oii.oiio.oiioz.OiiozResponseFile getValue
INFO: This installation is being performed using response file <AGENT_BASE_DIR>/agentInstall.rsp. OUI-10036:Could not create the inventory directory <DEFAULT_INVENTORY_LOCATIOn>/oraInventory. Ensure that you have sufficient permission to write this location, the directory names do not exceed the operating system limits, and the directory names contain valid characters, which consist of alphanumeric characters (|A|-|Z|, |a|-|z|, |0|-|9|) and underscore ( _ ).
cat: cannot open <AGENT_HOME>/oraInst.loc: No such file or directory




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

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