转: ORA-12560: TNS:protocol adapter error(TNS:协议适配器错误)
转载自:http://blog.csdn.net/pan_tian/article/details/7699469
- C:\Documents and Settings\tkyte>sqlplus scott/tiger
- SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:43:55 2007
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- Connected to:
- Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
- With the Partitioning, OLAP and Data Mining options
- scott%ORA10GR1> exit
- Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
- With the Partitioning, OLAP and Data Mining options
- C:\Documents and Settings\tkyte>net stop oracleserviceora10gr1
- The OracleServiceORA10GR1 service is stopping.........
- The OracleServiceORA10GR1 service was stopped successfully.
- C:\Documents and Settings\tkyte>sqlplus scott/tiger
- SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:44:35 2007
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- ERROR:
- ORA-12560: TNS:protocol adapter error
- Enter user-name:
- ERROR:
- ORA-12560: TNS:protocol adapter error
- Enter user-name:
- ERROR:
- ORA-12560: TNS:protocol adapter error
- SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
- C:\Documents and Settings\tkyte>net start oracleserviceora10gr1
- The OracleServiceORA10GR1 service is starting..........
- The OracleServiceORA10GR1 service was started successfully.
- C:\Documents and Settings\tkyte>sqlplus scott/tiger
- SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:45:12 2007
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- Connected to:
- Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
- With the Partitioning, OLAP and Data Mining options
- scott%ORA10GR1><a name="PAGETOP"></a>
ORACLE_SID=test
可能的原因3.TNS_ADMIN环境变量没有指定
TNS_ADMIN=D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ptian-cn.cn.oracle.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = test)
)
)
Possible fixes for the TNS-12560 include:
转载于:https://www.cnblogs.com/princessd8251/archive/2013/05/15/3079900.html
转: ORA-12560: TNS:protocol adapter error(TNS:协议适配器错误)相关推荐
- oracle plsql 无法连接 报 ORA-12560: TNS:protocol adapter error
ORA-12560: TNS:protocol adapter error 添加一个环境变量,名为TNS_ADMIN,值为 tnsnames.ora 文件所在路径. 比如我的本机为:D:/instan ...
- oracle报12560protocol,sqlplus连接时报:ORA-12560: TNS:protocol adapter error解决方案
ORA-12560: TNS:protocol adapter error 此问题是由于oracle_sid没有设置或者设置错误导致的. 解决办法: 1:cmd命令行上: C:\> set OR ...
- 没装oracle plsql,64位WIN7系统,未装ORACLE,我用PLSQLDEV 远程连接数据库时报错ORA-12560:TNS:protocol adapter error...
www.mh456.com防采集. 参考这个: 使用2113PL/SQL Developer连接OracleX64版本:5261•1. 下载32位Oracle InstantClient,并展开到某目 ...
- CentOS报错:TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener
问题描述 原因 listener.ora中的ORACLE_HOME错了 解决 这个错误当时是和另一条指令lsnrctl start的错误一起报的,那个已解决,详细做法请各位移步我的另一篇博客 http ...
- ORA-12560: TNS: 协议适配器错误的解决方法
============================================================== ORA-12560: TNS: 协议适配器错误的解决方法 造成ORA-12 ...
- oracle协议适配器错误00530,ORA-12560: TNS: 协议适配器错误的解决方法
Case: Microsoft Windows [版本 5.2.3790] (C) 版权所有 1985-2003 Microsoft Corp. C:\Documents and Settings\u ...
- Oracle登录错误12560,登录错误-----ORA-12560: TNS: 协议适配器错误
问:操作系统windows,oracle9i在服务端,以sys登陆不加服务名,登陆报错:如果加上服务名登陆正确.重启操作系统,重启db,现在在服务端无论用什么用户登陆只要不加服务名都错误:连接时加上服 ...
- ERROR: ORA-12560: TNS: 协议适配器错误
Oracle数据库客户端能启动执行操作,但是cmd界面下提示ERROR: ORA-12560: TNS: 协议适配器错误,Crtl+R输入services.msc命令检查Oracle两个服务是否开启, ...
- oracle协议适配器错误tns,ORA-12560: TNS: 协议适配器错误 常见原因
或者报以下错误 ( Listener refused the connection with the following error:ORA-12514, TNS:listener does not ...
最新文章
- windows启动mysql8服务_MySQL8.0服务启动(windows10)
- 转载:如何避免代码中的if嵌套
- [数字图像处理]图像去噪初步(2)--非线性滤波器
- 几种查看linux版本信息的方法
- 在Window10上使用Ubuntu终端
- SQL转化为MapReduce的过程
- 在Azure Data Studio中查看执行计划
- WIN10 如何修改 文件后缀名 设置后缀名可修改
- cython加密代码python_python通过cython加密代码
- eruda手机端调试神器
- linux执行hadoop程序,gcc编译和运行hadoop c api程序
- mysql sql语句递归查询语句_SQL实现MYSQL递归查询的方法
- python库中文手册_Python3.8.1标准库参考中文手册(The Python Library Reference) 高清pdf版...
- hpm1005能扫描不能打印_惠普M1005怎么只能打印复印不能扫描了?
- 抖音数据统计_抖音账号数据分析
- 用迅雷或者IDM下载下载百度网盘文件方法
- 填万能经营范围模板,避开办理营业执照经营范围的坑
- Office2013 Visio2013 Project2013零售版与VL版互相转换
- monitorServer IBM Tivoli Enterprise Monitor Server
- HTML表格做个人简历