Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

abigail818Oct 10 2013 — edited Oct 11 2013

Hi again,

I'm on my enterprise management console and Database Instance and Listener shows the green arrow, but the Agent Connection to Instance shows a red downward arrow and the error:

Status: Failed

Details: ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

My OraClrAgnt service is up and running (using winxp pro, oracle 11gR2), I'm on my home pc, all my ports are open (my machine's name is "abigail" and it is dmzhost)

Any suggestions to resolve this error?

My Tnsnames ora:

ABIGAIL =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))

    )

    (CONNECT_DATA =

      (SERVICE_NAME = orcl.0.0.10)

    )

  )

LISTENER_ORCL =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))

    )

    (CONNECT_DATA =

      (SID = ORCL)

    )

  )

RMAN =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = rman.abigail)

    )

  )

My listener.ora

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (SID_NAME = CLRExtProc)

      (ORACLE_HOME = E:\app\abigail\product\11.2.0\dbhome_1)

      (PROGRAM = extproc)

      (ENVS = "EXTPROC_DLLS=ONLY:E:\app\abigail\product\11.2.0\dbhome_1\bin\oraclr11.dll")  

    )

  )

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

      (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))

    )

  )

ADR_BASE_LISTENER = E:\app\abigail

My SQLNET.ORA

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES, LOCALHOST)

NAMES.TRACE_LEVEL = ADMIN

My alert file

<msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'

type='UNKNOWN' level='16' host_id='ABIGAIL'

host_addr='::1'>

<txt>10-OCT-2013 20:47:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=orcl.0.0.10)) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=38289)) * establish * orcl.0.0.10 * 12518

</txt>

</msg>

<msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'

type='UNKNOWN' level='16' host_id='ABIGAIL'

host_addr='::1'>

<txt>TNS-12518: TNS:listener could not hand off client connection

TNS-12560: TNS:protocol adapter error

</txt>

</msg>

My listener status and services

LSNRCTL> status

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias                     LISTENER

Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ

ction

Start Date                10-OCT-2013 22:47:58

Uptime                    0 days 0 hr. 2 min. 1 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   E:\app\abigail\product\11.2.0\dbhome_1\network\admin\l

istener.ora

Listener Log File         e:\app\abigail\diag\tnslsnr\ABIGAIL\listener\ale

rt\log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1521)))

Services Summary...

Service "CLRExtProc" has 1 instance(s).

  Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...

Service "orcl.0.0.10" has 1 instance(s).

  Instance "orcl", status READY, has 8 handler(s) for this service...

The command completed successfully

LSNRCTL> services

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

Services Summary...

Service "CLRExtProc" has 1 instance(s).

  Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...

    Handler(s):

      "DEDICATED" established:0 refused:0

         LOCAL SERVER

Service "orcl.0.0.10" has 1 instance(s).

  Instance "orcl", status READY, has 8 handler(s) for this service...

    Handler(s):

      "D006" established:0 refused:0 current:0 max:800 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 1312>

         (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1060))

      "D005" established:0 refused:12 current:0 max:800 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 1288>

         (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1061))

      "D004" established:0 refused:1 current:1 max:16383 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 1260>

         (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1063))

      "D003" established:0 refused:1 current:1 max:16383 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 1140>

         (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1062))

      "D002" established:0 refused:1 current:1 max:16383 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 140>

         (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1059))

      "D001" established:0 refused:1 current:1 max:16383 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 1072>

         (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1057))

      "D000" established:0 refused:1 current:1 max:16383 state:ready

         DISPATCHER <machine: ABIGAIL, pid: 748>

         (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1058))

      "DEDICATED" established:0 refused:0 state:ready

         LOCAL SERVER

The command completed successfully

This post has been answered by abigail818 on Oct 11 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2013
Added on Oct 10 2013
2 comments
3,425 views