tnslistener是监听程序么 怎么启动呀说细点 初学者

解决方案 »

  1.   

    Cause: The connection request could not be completed because the listener is not running. Action: Ensure that the supplied destination address matches one of the addresses used 
    by the listener. Compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file 
    (or TNSNAV.ORA if the connection is to go by way of an Interchange). Start the listener 
    on the remote machine. 
      

  2.   

    手工启动监听服务,然后在测试连接c:\lsnrctl  start
      

  3.   

    数据库在我的本地机器 初始安装 没有做任何修改 那个extproc_connection_data 和orcl 是什么关系 
    我的地址是唯一的没有冲突LISTENER.ORA :
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ewa-ws-t1-37)(PORT = 8088))
      )SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
          (PROGRAM = extproc)
        )
      )LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ewa-ws-t1-37.EWASOLUTIONSI)(PORT = 1521))
      )
      

  4.   

    C:\>lsnrctl  startLSNRCTL for 32-bit Windows: Version 10.1.0.2.0
    2:04Copyright (c) 1991, 2004, Oracle.  All rights rStarting tnslsnr: please wait...Failed to start service, error 1058.
    TNS-12536: TNS:operation would block
     TNS-12560: TNS:protocol adapter error
      TNS-00506: Operation would block
       32-bit Windows Error: 997: Unknown error
      

  5.   

    控制面板-》管理工具-》服务-》oracleTNSlistener 启动
      

  6.   

    手工启动监听服务,然后在测试连接c:\lsnrctl  start
    建议你修改你的配置文件试试看,把host用IP地址代替,
    LISTENER.ORA :
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ewa-ws-t1-37)(PORT = 8088))
      )SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
          (PROGRAM = extproc)
        )
      )LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ewa-ws-t1-37.EWASOLUTIONSI)(PORT = 1521))
      )
    这样启动也可以
    控制面板-》管理工具-》服务-》oracleTNSlistener 启动