4 Replies Latest reply: Nov 28, 2012 7:43 AM by user739062 RSS

    Agent Clone Failed Exit Code:1

    user739062
      When trying to deploy agent to a Linux host from Cloud Control 12c (Add Target Manually / Add Host) getting Agent Clone Failed Exit Code:1 error. Looking at the log (I guess below is the fragment of the log related to this error) can't reaize what is the problem. Any idea?

      Thanks,

      Alex


      2012-11-13_07-14-32:INFO:====CALLING ACTIONdoInstall
      2012-11-13_07-14-32:INFO:updating status IN_PROGRESS for action name Install with key: Install
      2012-11-13_07-14-32:INFO:Port provided
      2012-11-13_07-14-32:INFO:Install Args -ignorePrereqs
      2012-11-13_07-14-32:INFO:Install Args ORACLE_HOSTNAME=agent_machine.domain.com
      2012-11-13_07-14-32:INFO:Install Args AGENT_BASE_DIR=/scratch/user/agent
      2012-11-13_07-14-32:INFO:Install Args OMS_HOST=oem_server.domain.com
      2012-11-13_07-14-32:INFO:Install Args EM_UPLOAD_PORT=4901
      2012-11-13_07-14-32:INFO:Install Args AGENT_INSTANCE_HOME=/scratch/user/agent/agent_inst
      2012-11-13_07-14-32:INFO:Install Args b_doDiscovery=false
      2012-11-13_07-14-32:INFO:Install Args b_startAgent=false
      2012-11-13_07-14-32:INFO:Install Args b_forceInstCheck=true
      2012-11-13_07-14-32:INFO:Install Args AGENT_PORT=3872
      2012-11-13_07-14-32:INFO:Action description Execution of command /bin/sh -c '/scratch/user/agent/ADATMP_2012-11-13_07-08-27-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=agent_machine.domain.com AGENT_BASE_DIR=/scratch/user/agent OMS_HOST=oem_server.domain.com EM_UPLOAD_PORT=4901 AGENT_INSTANCE_HOME=/scratch/user/agent/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872' on host agent_machine.domain.com
      2012-11-13_07-14-32:INFO:Attempt :1 pty required false with no inputs
      2012-11-13_07-14-42:INFO:/bin/sh -c '/scratch/user/agent/ADATMP_2012-11-13_07-08-27-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=agent_machine.domain.com AGENT_BASE_DIR=/scratch/user/agent OMS_HOST=oem_server.domain.com EM_UPLOAD_PORT=4901 AGENT_INSTANCE_HOME=/scratch/user/agent/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872' execution failed on host agent_machine.domain.com
      2012-11-13_07-14-42:INFO:Pattern ERROR: found in file /scratch/user/Oracle/Middleware/oms/em/EMGC_OMS1/sysman/agentpush//2012-11-13_07-08-27-AM/logs/agent_machine.domain.com/install.log Line ERROR: Agent Clone Failed
      2012-11-13_07-14-42:INFO:Error Message found Agent Clone Failed
      2012-11-13_07-14-42:INFO: ACTION Execution of command /scratch/user/agent/ADATMP_2012-11-13_07-08-27-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=agent_machine.domain.com AGENT_BASE_DIR=/scratch/user/agent OMS_HOST=oem_server.domain.com EM_UPLOAD_PORT=4901 AGENT_INSTANCE_HOME=/scratch/user/agent/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 on host agent_machine.domain.com
      2012-11-13_07-14-42:INFO: OUT null
      2012-11-13_07-14-42:INFO: ERR Agent Clone Failed
      2012-11-13_07-14-42:INFO: EXIT CODE1
      2012-11-13_07-14-42:INFO:InvocationTargetException Exception
      2012-11-13_07-14-42:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:1845)
           at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:59)
           at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
           at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:264)
      Caused by: CommandException: err: Agent Clone Failed out: null exitcode: 1
      stacktrace:
      null
           at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1061)
           at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:917)
           at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:550)
           at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:504)
           at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:425)
           ... 8 more

      2012-11-13_07-14-42:INFO:=========Command Exception :Error Message: Agent Clone Failed <br><br> Exit Code :1
      2012-11-13_07-14-42:INFO:Updating Action Installwith Status FAILED and error Message :Error Message: Agent Clone Failed <br><br> Exit Code :1 and problem Execution of command /scratch/user/agent/ADATMP_2012-11-13_07-08-27-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=agent_machine.domain.com AGENT_BASE_DIR=/scratch/user/agent OMS_HOST=oem_server.domain.com EM_UPLOAD_PORT=4901 AGENT_INSTANCE_HOME=/scratch/user/agent/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 on host agent_machine.domain.com Failed and recommendation Fix the cause of the error and retry the operation
      2012-11-13_07-14-42:INFO:=================action status is not empty FAILED
      2012-11-13_07-14-42:INFO:Breaking since the action has failed

      Edited by: user739062 on Nov 13, 2012 10:39 AM

      Edited by: user739062 on Nov 13, 2012 11:04 AM