emctl upload agent
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.
Resync Agent is failed with the following message:
Error communicating with the agent. Exception message - oracle.sysman.emSDK.emd.comm.CommException: java.io.IOException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Solution:
emctl stop agent
cd $AGENT_HOME
rm sysman/emd/agntstmp.txt
rm sysman/emd/blackouts.xml
rm -r sysman/emd/state/*
rm -r sysman/emd/collection/*
rm -r sysman/emd/upload/*
rm sysman/emd/lastupld.xml
rm sysman/emd/protocol.ini
Go to the repository Grid Control Database
SQL> select target_name from mgmt_targets where target_type='oracle_emd';
TARGET_NAME
--------------------------------------------------------------------------------
si01.an.com:3872
SQL> exec mgmt_admin.cleanup_agent(' si01.an.com:3872);
PL/SQL procedure successfully completed.
emctl clearstate agent
emctl secure agent
emctl start agent
emctl upload agent
Thank you!! It helped me a lot! :-)
ReplyDeleteAll other advice I found didn't mention the GC Repos Db steps. I couldn't get the agent on one of my servers to work, and had almost decided to uninstall/reinstall, but then I found this. So I included your GC Repos Db steps & KAPOW! it all works now. Thank you!
ReplyDeleteThanks. This worked perfectly.
ReplyDeletegreat help.
ReplyDeleteWorked perfectly! Thanks a lot...
ReplyDelete