Grid Control Agent log location

 
In any large organization where hundreds of Oracle databases are running, it is the norm to have a central tool to manage all of the databases. One of these tools is named Oracle Grid control. This short post is just to show the location of the Grid Control AGENT logfile (similar to alert.log for oracle databases).

For 11g and below:

The log name for the Grid control agent is emagent.trc
Location is at the $ORACLE_HOME directory.

You can look for it by going to the $ORACLE_HOME directory and executing a find command (unix).
server1.corp.ads:AGENT:/u01/app/oracle/product/11.1/agent11g:>find . -name emagent.trc
./server1.corp.ads/sysman/log/emagent.trc

For 12c:

The log name has been changed to gcagent.log
Location is at the $ORACLE_HOME directory.

You can look for it by going to the $ORACLE_HOME directory and executing a find command (unix).
server1.corp.ads:AGENT:/u01/app/oracle/product/12.1:>find . -name gcagent.log
./agent_inst/sysman/log/gcagent.log

If you need more help with database issues, feel free to send me an email (jimmycdo@yahoo.com) and I'll gladly help.

About Jimbart