Print Friendly, PDF & Email

 
REQUEST

When trying to deploy a 13c agent on the RedHat 7.x or OEL 7.x hosts the deployment process crashes.
It crashes both by installing through “Add Targets Manually” option in the OEM console and through .rpm package installation.

 
RELATED

 
SYMPTOMS

You have the following error when trying to install an Agent through “Add Targets Manually” option in the Enterprise Manager Cloud Control 13c console

Remote Prerequisite Checks
Execution of command ABD=/usr/lib/oracle/agt13c/13.1.0.0.0;$ABD/ADATMP_2016-09-15_16-47-56-PM/agentcore.bin -prereqChecker -silent -ignoreSysPrereqs -rscratchPath $ABD/ADATMP_2016-09-15_16-47-56-PM/prereqlogs -entryPoint oracle.sysman.top.agent_Complete -nowait -noconsole -J-DORACLE_HOSTNAME=dbpilot.net -J-DAGENT_PORT=3872 -J-DALLOW_IPADDRESS=true -J-DAGENT_BASE_DIR=$ABD -J-DSTAGE_LOCATION=$ABD/ADATMP_2016-09-15_16-47-56-PM/prereq_stage -J-DUSER_NAME=oracle -J-DRUN_AS=null -J-DORACLE_HOME=$ABD/agent_13.1.0.0.0 on host dbpilot.net Failed
Error Message:Not Available
Exit Code :1
You may have selected the wrong platform "Linux x86-64" for this host. If so select the correct platform.
You may have specified a non writable location for the environment variable TMP/TEMP in your shell initialization script($HOME/.cshrc, $HOME/.bashrc etc). Ensure that this location is writable.

You have the following error when trying to configure an agent through a response file

/etc/init.d/oracle-agt RESPONSE_FILE=/usr/lib/oracle/agent/agent.properties

...
EErrrroorr:  oCcocuulrdr endo tdu rcirneg aitnei ttihael iJzaavtai oVni rotfu aVlM MCaocuhlidn en.otE rrreosre:r vAe  feantoaulg he xscpeapctei ofno rh aosb joecct chuerarped. Program will exit.

This weird text means

EErrrroorr:  oCcocuulrdr endo tdu rcirneg aitnei ttihael iJzaavtai oVni rotfu aVlM MCaocuhlidn en.otE rrreosre:r vAe  feantoaulg he xscpeapctei ofno rh aosb joecct chuerarped. Program will exit.

E r r o r    o c c u r r e d   du r i n g  i n i t i a l i z a t i o n   o f   V M  C o u l d   n ot   r e s e r v e   e n o u g h   s p a c e   f o r   o b j e ct  h e a p  
 E r r o r:    C o u l d  n o t    c r e  a t e   t h e   J a v a   V i r t u a l  M a c h i n e .  E r r o r :   A   f a t a l   e x c e p t i o n   h a s   o c   c u r r ed  

 
SOLUTION

Add the following lines on a target machine either into .bash_profile or .bashrc file and retry the agent deployment

export TMP=/tmp
export _JAVA_OPTIONS="-Xms256m -Xmx512m"
export EM_COMMON_JAVA_OPTIONS="-Xms256m -Xmx512m"

NOTE: After an agent is deployed successfully the lines can be removed.

 
REFERENCES

EM 12c Agent Deployment Fails With Error “Error occurred during initialization of VM” (Doc ID 1488163.1)

 
 

Version  : 13:51 03.05.2018
Platform : OEL 7.3
OEM      : 13.1.0.0.0