Oracle Error Message
ORA-28592: agent control utility: agent SID not set
Reason for the Error
The agent needs to know the value of the AGENT_SID parameter before it can process any commands. If it does not have a value for AGENT_SID then all commands will fail.
Solution
Issue the command SET AGENT_SID