I just spent the last 1 hour trying to restart an agent and kept getting:
>> emctl start agent
EM COnfiguration issue: /u01/app/oracle/product/11.2.0/db_2/<machine>_<dbname> not found
after some research found the resolution in Metalink for a similar 10g issue.
NOTE*** CHECK YOUR PATH ****
when i did a “which emctl” it pointed to $ORACLE_HOME/emctl NOT AGENT_HOME/bin ….
$AGENT_HOME/bin/.emctl start agent (Add the dot ) – feel foolish but i hope im not the only one.