EM 12c: Installing the Enterprise Manager Cloud Control 12.1.0.1 Agent through the Add Target Host Feature Results in a Directory Creation Error (Doc ID 1447115.1)

Last updated on FEBRUARY 27, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 12-Aug-2014

Symptoms


Installing the Cloud Control 12c agent through the Add Target Host Feature fails at agent start with the error:

Transferring Agent Software to Destination Host." The error is "Creation of directory /oracle/agent12c on host xxx Failed. Error Message:Not Available Exit Code : 1. Recommendation Not Available.

FileName
----------------
ui.log

2012-03-22_14-11-25:INFO: HOST : abc.com Intialization : FAILED Remote Prereq status : NULL INSTALL status : NULL
2012-03-22_14-11-25:INFO:Inside setDetailsBean :groupid group1 hostname dbtst3.uark.edu
2012-03-22_14-11-25:INFO:Dep vo map for host dbtst3.uark.eduis {Initialization=
[AdaDeploymentVo:
status: FAILED
[AdaActionVo: actionName: SSHValidations recommendation: null errorStream: null status: SUCCESS outStream: null
AdaActionVo]
[AdaActionVo: actionName: CopyAgentImage recommendation: Not Available errorStream: Error Message:Not Available<br><br> Exit Code :1 status: FAILED outStream: null
AdaActionVo]
AdaDeploymentVo]}
2012-03-22_14-11-25:INFO:Inside Build Progress Bar : Session Ended true Refresh Frequency 30000 Progress Bar Message Initialization Failed
2012-03-22_14-11-25:INFO:local prereqs failed/images/title_error.png Failed
2012-03-22_14-11-25:INFO:Since all nodes failed. Disable Continue ignoring failed host
2012-03-22_14-11-25:INFO:==================END populateCurrentSessionData ==================:2012-03-22_14-04-25-PM

Deploy.log:


2012-07-13_15-18-44:INFO:/bin/sh -c 'if [[ -d /oracle/agent_inst ]] ; then exit 0; else exit 1; fi' execution failed on node155.213.223.133
2012-07-13_15-18-44:INFO: ACTION Execution of command /bin/sh -c 'if [[ -d /oracle/agent_inst ]] ; then exit 0; else exit 1; fi'  on host 155.213.223.133
2012-07-13_15-18-44:INFO: OUT
2012-07-13_15-18-44:INFO: ERR
2012-07-13_15-18-44:INFO: EXIT CODE1

2012-07-13_15-18-49:INFO: EXIT CODE2
2012-07-13_15-18-49:INFO: ERR /bin/ls: /oracle/agent_inst: No such file or directory
2012-07-13_15-18-49:INFO: EXIT CODE2
2012-07-13_15-18-49:INFO:Printing Exception :CommandException: err: /bin/ls: /oracle/agent_inst: No such file or directory
out:  exitcode: 2
stacktrace:
null


2012-07-13_15-19-09:INFO:LOGGING XML LOC:/oracle/EM/middleware/oms/oui/prov/resources
2012-07-13_15-19-09:INFO:RemoteInterfaces startup called with REMOTENODES_PLATFORM=226 and REMOTE_TEMP_LOCATION=/tmp
2012-07-13_15-19-10:INFO:checkSharedPath:Init RI with REMOTE_PATH_PROPERTIES_LOC= /oracle/EM/middleware/oms/oui/prov/resources
2012-07-13_15-19-10:INFO:RUN AS not set during startup
2012-07-13_15-19-10:INFO:CLUSTER EXCEPTION found in startup
2012-07-13_15-19-10:INFO:Printing Exception :oracle.sysman.prov.remoteinterfaces.exception.ClusterException: Check for remote command execution setup failed on nodes 155.213.223.133.
at oracle.sysman.prov.remoteinterfaces.nativesystem.NativeSystem.startup(NativeSystem.java:538)
at oracle.sysman.prov.remoteinterfaces.clusterops.ClusterBaseOps.startup(ClusterBaseOps.java:425)
at oracle.sysman.prov.remoteinterfaces.clusterops.ClusterBaseOps.startup(ClusterBaseOps.java:338)

2012-07-13_15-19-12:INFO:=========Command Exception :Error Message:Not Available<br><br> Exit Code :1
2012-07-13_15-19-12:INFO:Updating Action CopyAgentImagewith Status FAILED and error Message :Error Message:Not Available<br><br> Exit Code :1 and problem Creation of directory /oracle on host 155.213.223.133 Failed and recommendation Not Available

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