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

Leave a Reply

%d bloggers like this: