打开listener.ora文件
添加如下一段语句,红色粗体部分:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\BI\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\BI\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
这是红色部分: (SID_DESC =
(GLOBAL_DBNAME = fxyy)
(ORACLE_HOME = D:\BI\oracle\product\11.2.0\dbhome_1)
(SID_NAME = fxyy)
)
)
Ctrl+S保存
cmd执行命令:lsnrctl stop,再执行lsnrctl start。