My Oracle Support Banner

EM 12c : Gold Image Deployment Fails due to Missing script (Doc ID 2340313.1)

Last updated on FEBRUARY 23, 2019

Applies to:

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


Using EM setup.

Gold image feature has been enabled at the OMS. Gold image was created using one of the existing agents.
Attempting to deploy agents to remote servers using the gold image fails with both the emcli and agentpull script methods. Error reported:

./ RSPFILE_LOC=/home/emuser/agent.rsp

% Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 676M 100 676M 0 20 20.2M 0 0:00:33 0:00:33 --:--:-- 21.4M
test of /u01/app/oracle/agent_based// OK
Unzipping agent image...
/bin/chmod: cannot access `/u01/app/oracle/agent_based//': No such file or directory
./ line 568: /u01/app/oracle/agent_based// No such file or directory
/u01/app/oracle/agent_based// AGENT_BASE_DIR=/u01/app/oracle/agent_based/ RESPONSE_FILE=/home/emuser/agent.rsp b_doDiscovery=true b_secureAgent=true b_startAgent=true 

-  In the remote server, only the below files are created:

$ ls -ltr
total 579564
-rwxr-xr-x 1 em13 em13 145976 Sep 20 10:57 unzip
-rwxr-xr-x 1 em13 em13 27256 Sep 20 10:57
-rw-r--r-- 1 em13 em13 208 Sep 20 10:57
-rwxr-xr-x 1 em13 em13 9287 Sep 20 10:57 agentDeploy.bat
-rwxr-xr-x 1 em13 em13 23585 Sep 20 10:57
-rwxr-xr-x 1 em13 em13 296579602 Sep 20 10:58
drwxrwxr-x 2 em13 em13 4096 Sep 20 11:11 unzipTmp
-rwxr-xr-x 1 em13 em13 296666095 Sep 20 11:11 5992122DBEAF7614E053F634B10AD2D7

The script mentioned in the error is not created on teh remote server.


Issue was noticed only if the source agent has the patch 26449443 applied.
If the source image is based on a vanilla agent, without any extra patches, then the gold image agent deployment works fine.


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

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