数据库
首页 > 数据库> > oracle12514监听程序当前无法识别连接描述符中的服务

oracle12514监听程序当前无法识别连接描述符中的服务

作者:互联网

1、找到oracle位置,打开  oracle\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN

 

 2、用文本编辑器打开listener.ora,并加入红色标记配置

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\oracle\Administrator\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\oracle\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
      (GLOBAL_DBNAME = orcl)
      (ORACLE_HOME = C:\oracle\Administrator\product\11.2.0\dbhome_1)
      (SID_NAME = orcl)
    )
  )

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

3、打开任务管理器

 

重启一下这两个服务

 

标签:oracle12514,dbhome,Administrator,product,11.2,描述符,SID,oracle,监听
来源: https://www.cnblogs.com/fishness/p/14713799.html