This discussion is archived
5 Replies Latest reply: Dec 6, 2012 12:50 PM by moreajays RSS

Agent unreachable in OEM

971970 Newbie
Currently Being Moderated
Hello,

In grid control, find Agnet unreachable, so bouncd agent. (emctl stop/start agent)

in agent log, catch the error when start agent...

2012-12-06 11:44:13,831 Thread-1 Starting Agent 11.1.0.1.0 from /app/oracle/product/agent11g (00701)
2012-12-06 11:44:14,193 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=2, Msg=<Target TYPE="oracle_emd" NAME="drxxx.xxxxx.com:3872"> has invalid target type (01006)
2012-12-06 11:44:14,193 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=3, Msg=<Target TYPE="host" NAME="drxxx.xxxxx.com"> has invalid target type (01006)
2012-12-06 11:44:14,193 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=4, Msg=<Target TYPE="oracle_listener" NAME="LISTENER_drxxx.xxxxx.com"> has invalid target type (01006)
2012-12-06 11:44:14,194 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=11, Msg=<Target TYPE="has" NAME="has_drunp103"> has invalid target type (01006)
2012-12-06 11:44:14,194 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=15, Msg=<Target TYPE="osm_instance" NAME="+ASM_drxxx.xxxxx.com"> has invalid target type (01006)
2012-12-06 11:44:14,194 Thread-1 ParseError: File=file:/app/oracle/product/agent11g/sysman/emd/targets.xml, Line=24, Msg=<Target TYPE="oracle_database" NAME="oemmw_drxxx.xxxxx.com"> has invalid target type (01006)
2012-12-06 11:44:14,194 Thread-1286 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,195 Thread-1543 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,195 Thread-1800 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,195 Thread-2057 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,195 Thread-2314 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,195 Thread-2571 No metadata found or badly formed metadata file (00151)
2012-12-06 11:44:14,335 Thread-1 EMAgent started successfully (00702)

agent started, but in Grid control, still in unreachable status,

any solutions?

thank you very much
  • 1. Re: Agent unreachable in OEM
    moreajays Pro
    Currently Being Moderated
    Hi,

    Check if you are able to connect agent from grid & vice verse either by ping / telnet

    Also try below on agent & let us knoe the result

    emctl upload

    Thanks,
    Ajay More
    http://moreajays.blogspot.com
  • 2. Re: Agent unreachable in OEM
    971970 Newbie
    Currently Being Moderated
    1.no problem

    2.
    [oracle][oem]/app/oracle/product/agent11g/bin>emctl upload
    Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    EMD upload completed successfully


    3.
    emctl status agent
    Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent Version : 11.1.0.1.0
    OMS Version : 11.1.0.1.0
    Protocol Version : 11.1.0.0.0
    Agent Home : /app/oracle/product/agent11g
    Agent binaries : /app/oracle/product/agent11g
    Agent Process ID : 16842964
    Parent Process ID : 21889240
    Agent URL : https://dxxx.xxx.com:3872/emd/main
    Repository URL : https://xxx140.xxx.com:4900/em/upload
    Started at : 2012-12-06 11:44:13
    Started by user : oracle
    Last Reload : 2012-12-06 11:44:13
    Last successful upload : 2012-12-06 11:44:16
    Total Megabytes of XML files uploaded so far : 0.01
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 14.66%
    Last successful heartbeat to OMS : 2012-12-06 13:45:46
    ---------------------------------------------------------------
    Agent is Running and Ready
  • 3. Re: Agent unreachable in OEM
    moreajays Pro
    Currently Being Moderated
    Hi,

    Is this the new host being added to grid ? Was it working previously ? Did you check compatibility of host oracle database with Grid control version ?

    If all above is ok then try removing and adding the host again to grid

    Thanks,
    Ajay More
    http://moreajays.blogspot.com
  • 4. Re: Agent unreachable in OEM
    971970 Newbie
    Currently Being Moderated
    Is this the new host being added to grid ? Was it working previously ? Did you check compatibility of host oracle database with Grid control version ?


    --yes

    If all above is ok then try removing and adding the host again to grid

    --how can do add and remove?

    thank you very much
  • 5. Re: Agent unreachable in OEM
    moreajays Pro
    Currently Being Moderated
    Hi,

    Try to remove all target under Host from Grid itself , then DE-install agent & then remove host from Grid.
    After this clean removal try installing agent again which will reflect host on grid & check if status looks ok


    http://www.dbasupport.com/forums/showthread.php?57295-delete-host-from-OEM-GRID

    Thanks,
    Ajay More
    http://moreajays.blogspot.com

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points