DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Agent unreachable

  1. #1
    Join Date
    Oct 2005
    Posts
    90

    Agent unreachable

    Hi,
    I have installed agent 10g on unix machine(HPUX-11.1) agent runs for 6-8 hrs
    after that it dies out and when i see the db through grid control it says agent unreachable but when grep for agent it shows up and running , iam not sure whats happening here.


    [oracle:leopard:NOSID] /oracle/product/agent10g/sysman/log > ps -ef|grep agen>
    root 2661 1 0 May 20 ? 0:00 /etc/opt/resmon/lbin/emsagent
    root 2617 1 0 May 20 ? 2:38 /usr/sbin/swagentd -r
    oracle 23822 23690 0 Nov 20 ? 13:24 /oracle/product/agent10g/bin/emagent
    oracle 23690 1 0 Nov 20 ? 2:54 /oracle/product/agent10g/perl/bin/perl /oracle/product/agent10g
    aduaslq 16850 22944 0 Nov 23 ? 4:58 /amuaslq01s/app/amuaslqdb/10.2.0/bin/emagent---->agent is for OAM


    [oracle:leopard:NOSID] /oracle/product/agent10g/bin > emctl status agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent is Not Running


    [oracle:leopard:NOSID] /oracle/product/agent10g/bin > emctl start agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ....... failed.
    Failed to start HTTP listener.
    Consult the log files in: /oracle/product/agent10g/sysman/log

    [oracle:leopard:NOSID] /oracle/product/agent10g/bin > ps -ef|grep agent
    root 2661 1 0 May 20 ? 0:00 /etc/opt/resmon/lbin/emsagent
    root 2617 1 0 May 20 ? 2:38 /usr/sbin/swagentd -r
    oracle 23822 23690 0 Nov 20 ? 13:23 /oracle/product/agent10g/bin/emagent
    oracle 3913 15344 0 21:42:27 pts/7 0:00 grep agent
    oracle 23690 1 0 Nov 20 ? 2:53 /oracle/product/agent10g/perl/bin/perl /oracle/product/agent10g
    aduaslq 16850 22944 0 Nov 23 ? 4:57 /amuaslq01s/app/amuaslqdb/10.2.0/bin/emagent


    /oracle/product/agent10g/sysman/log :vi emagent.trc

    2007-11-27 17:48:44 Thread-189993 ERROR util.files: ERROR: nmeufos_new: failed i
    n lfiopn on file: /oracle/product/agent10g/sysman/emd/agntstmp.txt.error = 24 (T
    oo many open files)
    2007-11-27 17:48:44 Thread-189993 ERROR pingManager: Error in updating the agent
    time stamp file
    2007-11-27 17:48:48 Thread-189994 ERROR util.fileops: ERROR: snmeuf_dirlist can'
    t list directory: /oracle/product/agent10g/sysman/emd/upload: Too many open file
    s (errno=24)
    2007-11-27 17:48:51 Thread-189995 ERROR engine: Failed when generating a new ECI
    D.
    2007-11-27 17:48:51 Thread-189995 ERROR fetchlets.healthCheck: GIM-00104: file n
    ot found
    LEM-00031: file not found; arguments: [lempgmh] [lmserr]
    LEM-00033: file not found; arguments: [lempgfm] [Couldn't open message file]
    LEM-00031: file not found; arguments: [lempgmh] [lmserr]
    2007-11-27 17:48:51 Thread-189995 ERROR engine: [oracle_database,leopard-amuaslq
    .am,health_check] : nmeegd_GetMetricData failed : Instance Health Check initiali
    zation failed due to one of the following causes: the owner of the EM agent proc
    ess is not same as the owner of the Oracle instance processes; the owner of the
    EM agent process is not part of the dba group; or the database version is not 10
    g (10.1.0.2) and above.

    Please Any suggestions.

  2. #2
    Join Date
    Nov 2002
    Location
    Mooresville, NC
    Posts
    349
    Did you change the owner and check it.
    http://www.perf-engg.com
    A performance engineering forum

  3. #3
    Join Date
    Apr 2003
    Location
    Pune,Maharashtra. India.
    Posts
    245
    This is your main error.

    HTML Code:
    2007-11-27 17:48:44 Thread-189993 ERROR util.files: ERROR: nmeufos_new: failed in lfiopn on file: /oracle/product/agent10g/sysman/emd/agntstmp.txt.error = 24 (Too many open files)
    2007-11-27 17:48:44 Thread-189993 ERROR pingManager: Error in updating the agenttime stamp file
    i think this is not agnet issue but OS issue.
    Agent is not able to run(edit file agntstmp.txt) because of OS settings.

    Check this BUG :- 6439387.
    bug is for solaris though...
    Rgds
    Parag

  4. #4
    Join Date
    Oct 2005
    Posts
    90
    Thanks, what OS settings is it kernel if so what needs to be changed?

  5. #5
    Join Date
    Apr 2003
    Location
    Pune,Maharashtra. India.
    Posts
    245
    i dont know OS setting is my guess.

    Check the bug it talks something about Disabling Health Check..
    Rgds
    Parag

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width