EM 12c, 13c: Enterprise Manager Cloud Control Agent Install Fails at Initialization Step With Error: SSH daemon (sshd) is not running on port 22

This error can occur due to one of the following reasons: 1. SSH port 22 is blocked by proxy / firewall on the Target machine 2. SSH is not running on the Target machine 3. SSH daemon is running on non-default port (other than 22) 1. Verify that the SSH port 22 is not blocked…

Agent has disabled full monitoring of this target. Only target Status is being monitored – EM12c

I ran into this “exception”: Agent has disabled full monitoring of this target. Only target Status is being monitored”: After a couple of researches, I’ve found that this is a Bug and therefor I needed to follow Doc ID 2207479.1. First you need to make sure that you’re patching the right ORACLE_HOME: export ORACLE_HOME=/u01/app/oracle/product/agent12cR5/core/12.1.0.5.0 [server1 25104978]$ $ORACLE_HOME/OPatch/opatch…

EM12c java.lang.OutOfMemoryError: Java heap space

-rw-r—– 1 oracle oinstall 6571 Oct 22 07:32 emd.properties located in path like this: /u01/app/oracle/product/12.1.0.2/agent_inst/sysman/config/emd.properties increase the Xmx memory limit. Before this operation shutdown agent (emctl stop agent). And start him again after change. # # These are the optional Java flags for the agent # agentJavaDefines=-Xmx140M -XX:MaxPermSize=96M and increase Xmx parameter, like: agentJavaDefines=-Xmx256M -XX:MaxPermSize=96M

EM12c – Clear the agent

$AGENT_HOME/bin/emctl stop agent rm -rf $AGENT_HOME/sysman/emd/recv rm -rf $AGENT_HOME/sysman/emd/collection rm -rf $AGENT_HOME/sysman/emd/state rm -rf $AGENT_HOME/sysman/emd/upload rm -rf  $AGENT_HOME/sysman/emd/lastupld.xml $AGENT_HOME/bin/emctl clearstate agent $AGENT_HOME/bin/emctl start agent