My Oracle Support Banner

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

Last updated on JUNE 01, 2019

Applies to:

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

Symptoms

Agent deployment from Enterprise Manager (EM) 12.1.0.5 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>2019-03-17_01-11-48-PM.zip * -x oui/**\* OPatch/**\* oracle_common/**\*)' execution failed on host 10.72.73.128
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/remoteArchives10.72.73.1282019-03-17_01-11-48-PM.zip * -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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2836)
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/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:

0%...................................................................................................100%
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.
java.io.IOException: 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

 

 

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
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.