1 Reply Latest reply on Oct 7, 2010 8:29 PM by EricvdS

    DBD ERROR: OCIServerAttach).

    user64102
      hi i am having problem with the OEM i keep get this error messages:

      Failed to connect to database instance: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach).

      My oracle instance is on 10.2.0.4 on Linux. also the instance starts fine and can log in fine with sqlplus but OEM seems to be having problem: here is the messges from some trace files:
      ------------------------
      emom.trc

      2010-10-07 14:05:54,491 [HttpRequestHandler-346148] ERROR eml.OMSHandshake processFailure.781 - OMSHandshake failed.(AGENT URL = http://server:3938/emd/main
      )(ERROR = X-ORCL-EMAK MISSING)
      2010-10-07 14:05:54,493 [HttpRequestHandler-29578470] ERROR eml.OMSHandshake processFailure.781 - OMSHandshake failed.(AGENT URL = http://server:3938/emd/ma
      in)(ERROR = X-ORCL-EMAK MISSING)
      -----------------------------------------------
      emaagent.trc
      2010-10-07 14:03:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:03:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:03:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:04:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:04:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:04:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:04:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:05:15 Thread-4123892640 ERROR command: nmejcn: received no status header from repository at http://server:1158/em/upload/
      2010-10-07 14:05:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:05:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:05:40 Thread-4112509856 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
      2010-10-07 14:05:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:05:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:06:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:06:24 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:06:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      2010-10-07 14:06:54 Thread-4112509856 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
      --------------------------
      emdctl.trc
      2010-10-07 13:26:23 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:26 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:30 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:33 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:36 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:39 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:42 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:46 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:49 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)
      2010-10-07 13:26:52 Thread-4135864000 WARN http: snmehl_connect: connect failed to (houpl005:3938): Connection refused (error = 111)

      also:

      ./emctl upload agent
      Oracle Enterprise Manager 10g Release 10.2.0.2.0.
      Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.

      --------------------------------------------------------------------------------
      EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..

      Please guide what is going on.!!

      Thanks

      Edited by: user12020966 on Oct 7, 2010 12:17 PM