:用lsnrctl start 启动oracle监听出现以下错误TNS-12541: TNS: 无监听程序 TNS-12560: TNS: 协议适配器错 5
#listener.oraNetworkConfigurationFile:D:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN...
# listener.ora Network Configuration File: D:\oracle\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:\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = D:\oracle 展开
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = D:\oracle 展开
4个回答
展开全部
这listener.ora……用netca重新建个吧……
顺便说下
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
localhost……你想干嘛……只能本机可以连数据库?
顺便说下
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
localhost……你想干嘛……只能本机可以连数据库?
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
localhost不要用这个,我测试过,你填IP就可以了。
追问
那ip该怎么写呢?写什么ip ?谢谢。。。
追答
填写你oracle数据库的IP
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
嗯嗯,这监听器没建好啊,而且可能数据库服务也没有启动
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询