• oracle无监听程序的解决方法(PLSQL)Oracle ORA12514 监听程序当前无法识别连接描述符中请求的服务


    PLSQLinstantclient_11_2

    listener.ora

    # listener.ora Network Configuration File: E:softwarePLSQLinstantclient_11_2listener.ora
    # Generated by Oracle configuration tools.
    
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 本机)(PORT = 1521))
        )
      )
    
    
    
    
    ADR_BASE_LISTENER = E:oracle11appdell

    tnsnames.ora

    # tnsnames.ora Network Configuration File: D:sofewarePLSQLinstantclient_11_2	nsnames.ora
    # Generated by Oracle configuration tools.
    
    WMSDB =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TMSDB)
        )
      )
    
    TMSDB =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TMSDB)
        )
      )
    
    LISXIAOBIN =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1520))
    
    
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )
    
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    
    
    LISTENER_WMS =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    
    
    LISTENER_WMSDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    
    
    LISTENER_TMSDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
    
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.201)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
        )
      )
    
    TMSDB127.0.0.1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = TMSDB)
        )
      )

    appAdministratorproduct11.2.0dbhome_1NETWORKADMIN

    listener.ora

    # listener.ora Network Configuration File: F:appAdministratorproduct11.2.0dbhome_1
    etworkadminlistener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:appAdministratorproduct11.2.0dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:appAdministratorproduct11.2.0dbhome_1inoraclr11.dll")
        )
      )
    
    #LISTENER =
    # (DESCRIPTION_LIST =
    #    (DESCRIPTION =
    #     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    #      (ADDRESS = (PROTOCOL = TCP)(HOST = 本机)(PORT = 1521))
    #    )
    #  )
    
    
    (SID_DESC = 
    (GLOBAL_DBNAME = TMSDB) 
    (ORACLE_HOME = D:appAdministratorproduct11.2.0dbhome_1) 
    (SID_NAME = TMSDB) 
    ) 
    )
    
    
    ADR_BASE_LISTENER = F:appAdministrator

    tnsnames.ora

    # tnsnames.ora Network Configuration File: F:appAdministratorproduct11.2.0dbhome_1
    etworkadmin	nsnames.ora
    # Generated by Oracle configuration tools.
    
    TMSDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 本机)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TMSDB)
        )
      )
    
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )

    链接:https://www.cnblogs.com/shangshan/p/6359880.html

  • 相关阅读:
    SHELL
    Docker
    RHCE内容记要
    mysql基本知识的总结
    Linux启动提示Kernel panic
    配置tomcat、nginx实现反向代理(需操作)
    linux下nginx的安装和配置
    linux下安装mysql5.7(centos6.0)
    linux打包解压包(.tar .gz .tar.gz .zip)
    多重继承下的类型转换
  • 原文地址:https://www.cnblogs.com/mike-mei/p/10280191.html
Copyright © 2020-2023  润新知