当前位置: 代码迷 >> Oracle管理 >> 关于ORA-12518: TNS:listener could not hand off client connection求指点
  详细解决方案

关于ORA-12518: TNS:listener could not hand off client connection求指点

热度:749   发布时间:2016-04-24 04:55:14.0
关于ORA-12518: TNS:listener could not hand off client connection求指导
刚在本机安装了Oracle11g,可是始终连接不上,多方查找资料未果,求大神伸出援救之手...
现附上一些配置信息:
listener.ora
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
      (GLOBAL_DBNAME = myoracle.172.16.135.4)
      (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
      (SID_NAME = myoracle)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.135.4)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = C:\app\Administrator
tnsnames.ora
LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


MYORACLE.WORLD =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.135.4)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = myoracle.172.16.135.4)
    )
  )
环境变量
path:D:\app\Administrator\product\11.2.0\client_3\bin;C:\app\Administrator\product\11.2.0\dbhome_1\bin;D:\app\Administrator\product\11.2.0\client_2\bin;D:\app\Administrator\product\11.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
当我连接myoracle的时候报错,麻烦各位大神闲暇时间帮忙看看,在线等
------最佳解决方案--------------------
tnsnames.ora
LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


MYORACLE.WORLD =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.135.4)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = myoracle.172.16.135.4)
    )
  )
(SERVICE_NAME = myoracle.172.16.135.4)
->(SERVICE_NAME = myoracle)

------其他解决方案--------------------
  相关解决方案