Thursday, June 6, 2013

Resolving Agent12c Unreachable

In OEM if you see the your targets have a status of unreachable here are a few steps you can take to try and resolve the issue.

  
$cd $AGENT_HOME/bin/
$./emctl clearstate agent
$./emctl stop agent
$./emctl clearstate agent

If the agent will not stop you can search for the OS process and issue a kill -9
$ps -ef |grep agent12c/core/12.1.0.1.0/jdk
$kill -9 <pid>

$./emctl clearstate agent
$./emctl start agent
$./emctl upload agent

If the upload fails issue the upload command again
$./emctl upload agent

In OEM you should now see that all targets are back online

If the above steps do not work you can doing the following
$cd $AGENT_HOME/bin/
$./emctl clearstate agent
$./emctl stop agent
$./emctl clearstate agent

$cd AGENT_INST/sysman/log
$rm -rf *.*
$cd $AGENT_INST/sysman/emd
$rm -rf state upload
$cd $AGENT_HOME/bin/
$./emctl clearstate agent
$./emctl start agent
$./emctl clearstate agent
$./emctl status agent
$./emctl upload agent

In OEM you should now see that all targets are back online




1 comment:

  1. Resolving Agent12c unreachable issues can be complex, but with tools like flipper zero unleashed, troubleshooting becomes quicker and more efficient.

    ReplyDelete