On Oracle Big Data Appliance, Deploying EM Agent Fails when Directory Owned by root is used as Inventory Location (Doc ID 2128271.1)

Last updated on OCTOBER 11, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 and later
Linux x86-64

Symptoms

On Oracle Big Data Appliance , deploying EM Agent fails with errors

ERROR: Puppet agent run on node bdanode# had errors. List of errors follows

************************************
Error [13011]: (////Stage[main]/Em::Deployemagent/Exec[deploy_agent]/returns) change from notrun to 0 failed: /bin/su oracle -c " ./agentDeploy.sh AGENT_BASE_DIR=/opt/oracle/EMAgent OMS_HOST=<OMSHost> EM_UPLOAD_PORT=4903 INVENTORY_LOCATION=/etc/oraInst.loc/oraInventory AGENT_REGISTRATION_PASSWORD=****" &> /opt/oracle/BDAMammoth/bdaconfig/tmp/agentDeploy_1460628930.out returned 1 instead of one of [0]
************************************

From /opt/oracle/BDAMammoth/bdaconfig/tmp/agentDeploy_.out

Agent install prereqs completed successfully

Cloning the agent home...
Executing command: /opt/oracle/EMAgent/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait
ORACLE_HOME=/opt/oracle/EMAgent/core/12.1.0.4.0 AGENT_BASE_DIR=/opt/oracle/EMAgent AGENT_BASE_DIR=/opt/oracle/EMAgent OMS_HOST=<OMSHost> EM_UPLOAD_PORT=4903 INVENTORY_LOCATION=/etc/oraInst.loc/oraInventory AGENT_REGISTRATION_PASSWORD=**** -noconfig ORACLE_HOME_NAME=agent12c1 INVENTORY_LOCATION=/etc/oraInst.loc/oraInventory -force b_noUpgrade=true AGENT_PORT=-1

ERROR: Agent Clone Failed SEVERE:/etc/oraInst.loc (Is a directory)

Agent Deploy Log Location:/opt/oracle/EMAgent/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2016-04-14_11-20-27-AM.log

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms