我的编程空间,编程开发者的网络收藏夹
学习永远不晚

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor ORACLE 报错 故障修复 远程

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor ORACLE 报错 故障修复 远程

文档解释

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
– 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.

ORA-12505: TNS: listener does not currently know of SID given in connect descriptor这是由于指定的服务名称/SID不正确导致的。官方解释,这个错误可能是由于客户端连接字符串中指定的 SID 不存在于服务器端的监听器配置文件中,而且它也有可能是在不兼容的驱动程序的情况下指定一个错误的端口号。

常见案例

1)服务器端没有正确配置SID导致:该错误是由于指定的SID不在tnsnames.ora文件中所致,或者该文件中有不正确的定义所致。

2)客户端没有正确配置TNSNAMES.ORA:客户端TNSNAMES.ORA文件中指定的服务名/SID不存在,或者指定的服务名/SID不正确。

3)客户端没有正确配置sqlplus.exe环境变量:在使用sqlplus运行sql语句时,与指定的tnsname相对应的环境变量没有被设置。

正常处理方法及步骤

1)检查服务器端TNSNAMES.ORA文件,确认文件内容正确。

2)检查客户端TNSNAMES.ORA文件,确认内容正确。

3)检查sqlplus.exe环境变量,确认设置正确。

4)重启服务器端进程,重新启动客户端进程。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor ORACLE 报错 故障修复 远程

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor ORACLE 报错 故障修复 远程

文档解释ORA-12505: TNS:listener does not currently know of SID given in connect descriptorCause: The listener received a
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor ORACLE 报错 故障修复 远程
2023-11-05

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

文档解释ORA-12514: TNS:listener does not currently know of service requested in connect descriptorCause: The listener
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor ORACLE 报错
2023-11-05

ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA ORACLE 报错 故障修复 远程处理

文档解释ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATACause: The listener was not configured with a
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-01161: database name string in file header does not match given name of string ORACLE 报错 故障修复 远程

文档解释ORA-01161: database name string in file header does not match given name of stringCause: The database name given at
ORA-01161: database name string in file header does not match given name of string ORACLE 报错 故障修复 远程
2023-11-04

ORA-01161: database name string in file header does not match given name of string ORACLE 报错 故障修复 远程

文档解释ORA-01161: database name string in file header does not match given name of stringCause: The database name given at
ORA-01161: database name string in file header does not match given name of string ORACLE 报错 故障修复 远程
2023-11-05

ORA-12508: TNS:listener could not resolve the COMMAND given ORACLE 报错 故障修复 远程处理

文档解释ORA-12508: TNS:listener could not resolve the COMMAND givenCause: d by incompatible Oracle Net or Net8 versions. Do
ORA-12508: TNS:listener could not resolve the COMMAND given ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-12522: TNS:listener could not find available instance with given INSTANCE_ROLE ORACLE 报错 故障修复 远程

文档解释ORA-12522: TNS:listener could not find available instance with given INSTANCE_ROLECause: There are not any
ORA-12522: TNS:listener could not find available instance with given INSTANCE_ROLE ORACLE 报错 故障修复 远程
2023-11-05

ORA-01352: tablespace given for Logminer spill does not exist ORACLE 报错 故障修复 远程处理

文档解释ORA-01352: tablespace given for Logminer spill does not existCause: The tablespace name given as the parameter to
ORA-01352: tablespace given for Logminer spill does not exist ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-01351: tablespace given for Logminer dictionary does not exist ORACLE 报错 故障修复 远程处理

文档解释ORA-01351: tablespace given for Logminer dictionary does not existCause: The tablespace name given as a parameter
ORA-01351: tablespace given for Logminer dictionary does not exist ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-30351: query rewrite does not currently support this expression ORACLE 报错 故障修复 远程处理

文档解释ORA-30351: query rewrite does not currently support this expressionCause: A complex expression was specified that
ORA-30351: query rewrite does not currently support this expression ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-30569: data type of given column is not supported in a log group ORACLE 报错 故障修复 远程处理

文档解释ORA-30569: data type of given column is not supported in a log groupCause: An attempt was made to include a column
ORA-30569: data type of given column is not supported in a log group ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-24509: OCI function currently not supported in UTF16 mode. ORACLE 报错 故障修复 远程处理

文档解释ORA-24509: OCI function currently not supported in UTF16 mode.Cause: Attempt to call an OCI function that was not
ORA-24509: OCI function currently not supported in UTF16 mode. ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-46016: Number of columns of foreignKey does not match primaryKey. ORACLE 报错 故障修复 远程处理

文档解释ORA-46016: Number of columns of foreignKey does not match primaryKey.Cause: The number of column elements within
ORA-46016: Number of columns of foreignKey does not match primaryKey. ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-14146: Old CONNECT BY does not support partitioned tables ORACLE 报错 故障修复 远程处理

文档解释ORA-14146: Old CONNECT BY does not support partitioned tablesCause: The query used the old CONNECT BY clause on a
ORA-14146: Old CONNECT BY does not support partitioned tables ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-14294: Number of partitions does not match number of subpartitions ORACLE 报错 故障修复 远程处理

文档解释ORA-14294: Number of partitions does not match number of subpartitionsCause: When exchanging a partitioned table
ORA-14294: Number of partitions does not match number of subpartitions ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-26034: Column string does not exist in stream ORACLE 报错 故障修复 远程处理

文档解释ORA-26034: Column string does not exist in streamCause: Column specified in the column list does not exist in the
ORA-26034: Column string does not exist in stream ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-24431: Statement does not exist in the cache ORACLE 报错 故障修复 远程处理

文档解释ORA-24431: Statement does not exist in the cacheCause: The statement that was requested for does not exist in the
ORA-24431: Statement does not exist in the cache ORACLE 报错 故障修复 远程处理
2023-11-04

ORA-40023: sufficient memory could not be allocated given the number of attributes ORACLE 报错 故障修复 远程

文档解释ORA-40023: sufficient memory could not be allocated given the number of attributesCause: Unable to allocate
ORA-40023: sufficient memory could not be allocated given the number of attributes ORACLE 报错 故障修复 远程
2023-11-05

ORA-13055: Oracle object string does not exist in specified table ORACLE 报错 故障修复 远程处理

文档解释ORA-13055: Oracle object string does not exist in specified tableCause: The requested object is not present in the
ORA-13055: Oracle object string does not exist in specified table ORACLE 报错 故障修复 远程处理
2023-11-04

ORA-29342: user string does not exist in the database ORACLE 报错 故障修复 远程处理

文档解释ORA-29342: user string does not exist in the databaseCause: The referred user is one of the owners of data in the
ORA-29342: user string does not exist in the database ORACLE 报错 故障修复 远程处理
2023-11-05

编程热搜

  • Python 学习之路 - Python
    一、安装Python34Windows在Python官网(https://www.python.org/downloads/)下载安装包并安装。Python的默认安装路径是:C:\Python34配置环境变量:【右键计算机】--》【属性】-
    Python 学习之路 - Python
  • chatgpt的中文全称是什么
    chatgpt的中文全称是生成型预训练变换模型。ChatGPT是什么ChatGPT是美国人工智能研究实验室OpenAI开发的一种全新聊天机器人模型,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上下文进行互动,并协助人类完成一系列
    chatgpt的中文全称是什么
  • C/C++中extern函数使用详解
  • C/C++可变参数的使用
    可变参数的使用方法远远不止以下几种,不过在C,C++中使用可变参数时要小心,在使用printf()等函数时传入的参数个数一定不能比前面的格式化字符串中的’%’符号个数少,否则会产生访问越界,运气不好的话还会导致程序崩溃
    C/C++可变参数的使用
  • css样式文件该放在哪里
  • php中数组下标必须是连续的吗
  • Python 3 教程
    Python 3 教程 Python 的 3.0 版本,常被称为 Python 3000,或简称 Py3k。相对于 Python 的早期版本,这是一个较大的升级。为了不带入过多的累赘,Python 3.0 在设计的时候没有考虑向下兼容。 Python
    Python 3 教程
  • Python pip包管理
    一、前言    在Python中, 安装第三方模块是通过 setuptools 这个工具完成的。 Python有两个封装了 setuptools的包管理工具: easy_install  和  pip , 目前官方推荐使用 pip。    
    Python pip包管理
  • ubuntu如何重新编译内核
  • 改善Java代码之慎用java动态编译

目录