This is the standard set of actions that I go through when I have problems with an EM agent that a stop/start/upload does not resolve
The two types of errors I generally see are
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.. Starting agent …………………………… started but not ready.
Follow the steps below, which can be cut and pasted
export AGENT_HOME=/app/oracle/agent13c/agent_inst
Stop the agent
$AGENT_HOME/bin/emctl stop agent
Remove the old log files from AGENT_HOME/sysman/log
Delete any pending upload files from the agent home
rm -r $AGENT_HOME/sysman/emd/state/* rm -r $AGENT_HOME/sysman/emd/upload/* rm $AGENT_HOME/sysman/emd/lastupld.xml rm $AGENT_HOME/sysman/emd/agntstmp.txt rm $AGENT_HOME/sysman/emd/protocol.ini
Start the agent
$AGENT_HOME/bin/emctl start agent
Issue an agent clearstate from the agent home
$AGENT_HOME/bin/emctl clearstate agent
Force an upload to the OMS
$AGENT_HOME/bin/emctl upload agent
Finally I sometimes need to re-secure the agent
$AGENT_HOME/bin/emctl secure agent
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8