4 Replies Latest reply: Jan 13, 2013 11:50 PM by AnkitV RSS

    ORA-12518: TNS:listener could not hand off client connection

    AnkitV
      Hi All
      I am facing error "ORA-12518: TNS:listener could not hand off client connection" while using 10G R2 XE edition on Win 7 64bit.
      I know XE is 32bit, my OS is 64bit but it was working properly till last week when I had to format my system. Now its not working.
      I know there have been similar discussions on this topic, but none resolution worked for me.

      Here is my listener.ora

      SID_LIST_LISTENER =
      (SID_LIST =
      (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
      (PROGRAM = extproc)
      (DIRECT_HANDOFF_TTC_LISTENER=OFF)
      )
      (SID_DESC =
      (SID_NAME = XE)
      (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
      (PROGRAM = ORCL)
      (DIRECT_HANDOFF_TTC_LISTENER=XE)
      )
      )

      LISTENER =
      (DESCRIPTION_LIST =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      # (DIRECT_HANDOFF_TTC_LISTENER=OFF)
      )
      )

      Here is TNSNAMES.ORA

      xe =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      (CONNECT_DATA =
      (SERVER = dedicated)
      (SERVICE_NAME = xe)
      )
      )

      EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
      )
      (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
      )
      )

      ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
      )
      (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
      )
      )


      Here is o/p of lsnrctl status:

      LSNRCTL> status
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
      STATUS of the LISTENER
      ------------------------
      Alias LISTENER
      Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
      Start Date 29-DEC-2012 14:43:04
      Uptime 0 days 0 hr. 13 min. 38 sec
      Trace Level off
      Security ON: Local OS Authentication
      SNMP OFF
      Listener Parameter File C:\oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
      Listener Log File C:\oracle\app\oracle\product\10.2.0\server\network\log\listener.log
      Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
      Services Summary...
      Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
      Service "XE" has 1 instance(s).
      Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
      The command completed successfully

      I cannot set PROCESSES parameter as when i do : sqlplus sys/****@xe as sysdba, it sayd connected to idle instance. Any query says " Oracle not available".

      Please help.