OracleOraDb11g_home1TNSListener无法启动,求大神解答

oracle监听器启动---》右键--发现还是没启动。listener.ora文件:#listener.oraNetworkConfigurationFile:D:\or... oracle监听器 启动---》右键--发现还是没启动。
listener.ora文件:
# listener.ora Network Configuration File: D:\orcal11g\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 = D:\orcal11g\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\orcal11g\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = D:\orcal11g
tnsnames.ora文件:
# tnsnames.ora Network Configuration File: D:\orcal11g\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
展开
 我来答
百度网友13eda02
2013-08-10 · TA获得超过778个赞
知道小有建树答主
回答量:1048
采纳率:77%
帮助的人:370万
展开全部
别用服务启动,进入命令行输入lsnrctl start启动看看/出错的话这里可以看到提示信息,贴出来才好诊断。
追问
TNS-01155: 在 LISTENER.ORA 中指定的 SID_LIST_LISTENER 参数不正确
NL-00303: NV 字符串中存在语法错误
监听程序未能启动。
追答
看了SID_LIST_LISTENER的配置及错误编码可以定位是配置漏了实例的设置:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\orcal11g\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\orcal11g\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = D:\orcal11g\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)
其中(SID_NAME = orcl)是从你的(SERVICE_NAME = orcl)里获知的。
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式