My Oracle Support Banner

13c: Agent Deployment Using Gold Image Hangs Forever (Doc ID 2584900.1)

Last updated on SEPTEMBER 04, 2019

Applies to:

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

Symptoms

Deploying agent using Gold Image hangs indefinitely in "Installation and Configuration" step.

<OMS_INSTANCE_HOME>/sysman/agentpush/<time-stamp>/applogs/<hostname>_deploy.log

2019-08-30_11-09-18:INFO:Action description Execution of command /bin/sh -c 'cd <AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>;<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh -ignorePrereqs SCRATCHPATH=/tmp/OUITMP_2019-08-30_11-09-17-AM ORACLE_HOSTNAME=<hostname> AGENT_BASE_DIR=<AGENT_BASE_DIR>/GoldImage_v3.0 OMS_HOST=<hostname> EM_UPLOAD_PORT=<port> AGENT_INSTANCE_HOME=<AGENT_BASE_DIR>/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -clone -force INVENTORY_LOCATION=<INVENTORY_LOC> AGENT_PORT=<port>' on host hostname
2019-08-30_11-09-18:INFO:Attempt :1 pty required false with no inputs
2019-08-30_11-14-18:INFO:Command execution exceeding 5 mins.
2019-08-30_11-14-18:INFO:Dumping stack trace of thr running the cmd... Helps to debug hang situation.
2019-08-30_11-14-18:INFO:
java.lang.Thread.sleep(Native Method)
at oracle.sysman.prov.ssh.RunCommand.waitForComplete(RunCommand.java:768)
at oracle.sysman.prov.ssh.RunCommand.getOutMsg(RunCommand.java:366)
at oracle.sysman.prov.ssh.RunCommand.runCommand(RunCommand.java:315)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps$RunCmdUnderTimeout$1.run(DeployerOps.java:1392)
at java.lang.Thread.run(Thread.java:745)

Since this was hung indefinitely, executed the command that hung manually.

Note: Command that is executed on the host should be taken from the log file <OMS_INSTANCE_HOME>/sysman/agentpush/<time-stamp>/applogs/<hostname>_deploy.log)

Based on the above log, executed the following command manually on the host where the agent is being deployed:

$ /bin/sh -c 'cd <AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_2019-08-30_10-56-14-AM;<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh -ignorePrereqs SCRATCHPATH=/tmp/OUITMP_<TIMESTAMP> ORACLE_HOSTNAME=<hostname> AGENT_BASE_DIR=<AGENT_BASE_DIR>/GoldImage_v3.0 OMS_HOST=<hostname> EM_UPLOAD_PORT=<port> AGENT_INSTANCE_HOME=<AGENT_BASE_DIR>/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -clone -force INVENTORY_LOCATION=<INVENTORY_LOC> AGENT_PORT=<port>'

<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh: fork: retry: Resource temporarily unavailable
<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh: fork: retry: Resource temporarily unavailable
<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh: fork: retry: Resource temporarily unavailable
<AGENT_BASE_DIR>/GoldImage_v3.0/ADATMP_<TIMESTAMP>/agentDeploy.sh: fork: retry: Resource temporarily unavailable

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.