oracle 更改监听端口导致 Oracle ORA12514 监听程序当前无法识别连接描述符中请求的服务的解决

参考:https://www.cnblogs.com/shangshan/p/6359880.html

Oracle目录D:appAdministratorproduct11.2.0dbhome_1NETWORKADMINlistener.ora

# listener.ora Network Configuration File: D:appAdministratorproduct11.2.0dbhome_1NETWORKADMINlistener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:appAdministratorproduct11.2.0dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:appAdministratorproduct11.2.0dbhome_1inoraclr11.dll")
    )
    (SID_DESC =
      (SID_NAME = orcl)
      (ORACLE_HOME = D:appAdministratorproduct11.2.0dbhome_1)
      (GLOBAL_DBNAME = orcl)
      (PORT = 1522)
    )
  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-VBH4DJS3SVG)(PORT = 1522))
  )

ADR_BASE_LISTENER = D:appAdministrator

 

原文地址:https://www.cnblogs.com/yipin/p/11763833.html