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 JANUARY 07, 2022
Applies to:
Big Data Appliance Integrated Software - Version 4.2.0 and laterLinux x86-64
Symptoms
NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.
On Oracle Big Data Appliance , deploying EM Agent fails with errors
ERROR: Puppet agent run on node bdanode0x 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=<PASSWORD>" &> /opt/oracle/BDAMammoth/bdaconfig/tmp/agentDeploy_1460628930.out returned 1 instead of one of [0]
************************************
************************************
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=<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=<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
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=<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
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 |