执行请求的操作时遇到错误: Listener refused the connection with the following error:

执行请求的操作时遇到错误:Listenerrefusedtheconnectionwiththefollowingerror:ORA-12505,TNS:listener... 执行请求的操作时遇到错误:

Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

供应商代码 12505
无法连接
oracle数据库监听
展开
 我来答
大话残剑
推荐于2016-09-29 · TA获得超过2217个赞
知道大有可为答主
回答量:1137
采纳率:56%
帮助的人:710万
展开全部
ORA-12505:
TNS:listener does not currently know of SID given in connect descriptor

Cause:
The listener received a
request to establish a connection to a database or other service. The
connect descriptor received by the listener specified a SID for an
instance (usually a database instance) that either has not yet
dynamically registered with the listener or has not been statically
configured for the listener. This may be a temporary condition such as
after the listener has started, but before the database instance has
registered with the listener.

Action:
- Wait a moment and try to connect a second time.
- Check which instances are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SID parameter in the connect descriptor specifies an instance known by the listener.
- Check for an event in the listener.log file.

1、服务器正在启动中,等等
2、用命令lsnrctl检查服务器端提供的服务名和sid
3、检查本地tnsnames.ora的配置是否错误
4、检查服务器端listener.log日志
360度左右仰望星空
2017-08-13
知道答主
回答量:5
采纳率:0%
帮助的人:4847
展开全部
重启一下SQL就好了
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式