ORA-12514: TNS:listener does not currently know of service …

问题描述:

今天数据库查询时遇到问题,具体情形如下截图所示:

问题分析:

看错误明显是TNS监听有问题,要么配置错了,要么数据库没起来。但是当前数据库起来了,也能正常连接使用,因此

考虑被查询对象可能是一个db_link,具体的是那个连接有问题。

问题定位及解决:

--查询数据对象,从而得到它是一个synonym
select * from dba_objects t where t.OBJECT_NAME = upper(‘sy_hgq_data_define‘);
--查同义词,得到它是一个db_link
select * from dba_synonyms t where t.synonym_name = upper(‘sy_hgq_data_define‘);
--查db_link,获取描述,从而分析定位解决
select * from dba_db_links t where t.DB_LINK = upper(‘to_mds‘);

拓展:

关于同意次的相关内容可参考 db link的查看创建与删除

时间: 2024-10-27 10:24:36

ORA-12514: TNS:listener does not currently know of service …的相关文章

oracle 报错ORA-12514: TNS:listener does not currently know of service requested in connec

在使用navicat上连接oracle正确用户名和密码,oracle常用服务也启动的情况下依然无法建立连接.但是sqlPus上输入用户名和密码可以连接通过,百思不得其解(菜鸟本质 好奇). 这种情况下查看了navicat的历史日志:ORA-12514: TNS:listener does not currently know of service requested in connect. 通过网上搜索查到说  navicat工具是32位,oracle64位不匹配,心想很有可能是这原因.因此通过

ORA-12514: TNS:listener does not currently know of service requested in connect

1,登录报错如下: [oracle@oracle_yueworld admin]$ rlwrap sqlplus system/system51@st1 SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 3 16:33:26 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. ERROR: ORA-12514: TNS:listener does not currently k

plsql登录提示ORA-12514:TNS:listener does not currently know of service…………

问题:在自己电脑上安装好plsql并且第一次运行可以,关机重启后再登录PLSQL报错了…… 解决方法:1.修改oracle里面listener.ora文件的内容 文件路径为: 改之前的内容: 改后的内容为: SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = ORCL) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1) (SID_NAME = ORCL) ) (SID_DESC

Oracle ORA-12514: TNS:listener does not currently know of service requested in conn解决方案

# listener.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\oracle\product\10.1.0

ORA-12514: TNS: listener does not currently know of service requested in connect descriptor

1. 环境: oracle 11g x64 2. sqlplus 可以正常使用,PLSQLDeveloper登录出错如下: 2. 解决方法:参考http://www.linuxidc.com/Linux/2012-09/69678.htm

ORA-12514 TNS listener does not currently know of service re

1.错误描述 2.错误原因 确保OracleServiceORCL.OracleDBConsoleorcl和OracleOraDb11g_home1TNSListener三个已经启动,但是OracleDBConsoleorcl未启动 3.解决办法 开启OracleDBConsoleorcl 再分享一下我老师大神的人工智能教程吧.零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow 原文地址:https:

TNS-12502: TNS:listener received no CONNECT_DATA from client

检查我们的一台ORACLE数据库的监听日志发现有不少TNS-12502错误信息.如下所示 TNS-12502: TNS:listener received no CONNECT_DATA from client   09-DEC-2014 15:47:06 * (CONNECT_DATA=(SERVICE_NAME=epps)(CID=(PROGRAM=D:\Tasks\FGIS2MES\CEG\gmt_auto.exe)(HOST=CEGWEB1)(USER=cegadmin))) * (AD

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect(转)

http://anthon-lx.iteye.com/blog/811460 完整的错误信息如下: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by th

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect

完整的错误信息如下: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 192.168.149.128:1521:orcl