ORA-12514错误:Listener refused the connection with the following error

一、由于ip地址改变引起的“ORA-12541:TNS:无监听程序”错误

ORA-12514错误:Listener refused the connection with the following error_第1张图片

二、解决方案:

我的:C:\app\luohaiyuan\product\11.2.0\dbhome_1\NETWORK\ADMIN目录下

你们的:C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\(根据自己情况调整目录)   LISTENER.ORA文件

# listener.ora Network Configuration File: C:\app\luohaiyuan\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

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

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-1JUL6A24PED.localdomain)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

ADR_BASE_LISTENER = C:\app\luohaiyuan

修改之后:

 

 

最后,重启监听器。

你可能感兴趣的:(数据库)