sqlplus 连接数据库报错SP2-0642: SQL*Plus internal error state 2130, context 0:0:0
2013-10-09 17:06
447 查看
sqlplus 连接数据库报错SP2-0642: SQL*Plus internal error state 2130, context 0:0:0
问题描述:
使用sqlplus客户端登录数据库,报错SP2-0642,而使用其它方式plsql或者tnsnames等方式连接数据库均没有问题
原因:
The cause of this problem has been identified and verified in an unpublished Bug 6135152. ORA-25406 With Server Side TAF, And //HOST:PORT/SERVICE_NAME Connect String.
使用TAF连接并用EZCONNECT连接数据库时,触发了数据库相关bug
解决方法
方法1
1,去掉默认的端口号1521,可以解决
C:\Users\wj>sqlplus adt/passwd@192.168.112.235/srv_test1
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 10月 9 16:09:00 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options
SQL>
方法2,修改service的配置为默认选项
原有service创建方式
srvctl add service -d ms4adb -s srv_4a2 -r ms4adb -a ms4adb -P basic -e select -m basic -z 180 -w 5
现有service方式,使用默认参数配置,即可正常连接
srvctl add service -d ms4adb -s srv_4a2 -r ms4adb -a ms4ad
方法3,客户端sqlplus升级oracle 11.2,也可解决相关问题
Bug is fixed from release 11.2 onwards.
Check for one off patches for your release / platform via Patch 6135152
参考资料:
EZCONNECT Connections Error with SP2-0642: Sql*Plus Internal Error State 2130 (文档 ID 855965.1)
Bug 8599395 : EZCONNECT ERRORS WITH SP2-0642: SQL*PLUS INTERNAL ERROR STATE 2130, CONTEXT 0:0:
问题描述:
使用sqlplus客户端登录数据库,报错SP2-0642,而使用其它方式plsql或者tnsnames等方式连接数据库均没有问题
[oracle@test2 ~]$ sqlplus adt/passwd@192.168.112.235:1521/srv_test1 SQL*Plus: Release 10.2.0.1.0 - Production on Wed Oct 9 16:04:39 2013 Copyright (c) 1982, 2005, Oracle. All rights reserved. SP2-0642: SQL*Plus internal error state 2130, context 0:0:0 Unsafe to proceed Enter user-name:
原因:
The cause of this problem has been identified and verified in an unpublished Bug 6135152. ORA-25406 With Server Side TAF, And //HOST:PORT/SERVICE_NAME Connect String.
使用TAF连接并用EZCONNECT连接数据库时,触发了数据库相关bug
解决方法
方法1
1,去掉默认的端口号1521,可以解决
C:\Users\wj>sqlplus adt/passwd@192.168.112.235/srv_test1
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 10月 9 16:09:00 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options
SQL>
方法2,修改service的配置为默认选项
原有service创建方式
srvctl add service -d ms4adb -s srv_4a2 -r ms4adb -a ms4adb -P basic -e select -m basic -z 180 -w 5
现有service方式,使用默认参数配置,即可正常连接
srvctl add service -d ms4adb -s srv_4a2 -r ms4adb -a ms4ad
方法3,客户端sqlplus升级oracle 11.2,也可解决相关问题
Bug is fixed from release 11.2 onwards.
Check for one off patches for your release / platform via Patch 6135152
参考资料:
EZCONNECT Connections Error with SP2-0642: Sql*Plus Internal Error State 2130 (文档 ID 855965.1)
Bug 8599395 : EZCONNECT ERRORS WITH SP2-0642: SQL*PLUS INTERNAL ERROR STATE 2130, CONTEXT 0:0:
相关文章推荐
- sqlplus 连接数据库报错SP2-0642: SQL*Plus internal error state 2130, context 0:0:0
- Yii中使用gii连接数据库报错CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied
- PDO连接数据库报错:SQLSTATE[HY000] [2002] No such file or directory
- PowerDesigner15连接数据库报错解决办法Non SQL Error : Could not load class oracle.jdbc.OracleDriver
- PowerDesigner15连接数据库报错解决办法Non SQL Error : Could not load class oracle.jdbc.OracleDriver
- com.ibm.mm.sdk.common.DKUsageError: DGL3616A: 发生意外的 SQL 错误; ICM7015: 在库服务器的 SQL 操作期间,发生意外错误。有关错误的详细信息,请参阅数据库文档。 (STATE) : [LS RC = 7015, SQL RC = 100
- Oracle sqlplus远程连接数据库
- sql plus 连接数据库
- 使用powerdesigner连接数据库时出现Non SQL Error : Could not load class com.mysql.jdbc.Drive
- sqlplus连接远程数据库
- 32.Oracle数据库SQL开发之 SQLPlus使用——断开数据库并退出SQLPLUS
- junit测试中Hibernate报错SQL Error:1146,SQLState:42S02
- 使用SQL*Plus操作数据库,当出现Error Message时,如何在简体中文和英文之间切换?
- sphinx在建立索引时出现ERROR: index 'xxx': sql_connect: Access denied for user 'xxx'@'localhost' 不能连接数据库的错误解决
- LINQ to SQL 用于数据库连接的DataContext对象成员
- sqlplus 连接,启停数据库
- 使用sys无法通过sqlplus或者sqldeveloper连接数据库 分类: H2_ORACLE 2013-02-04 14:02 600人阅读 评论(0) 收藏
- 使用powerdesigner连接数据库时出现Non SQL Error : Could not load class com.mysql.jdbc.Drive
- 关于Drupal中使用hook_schema建立数据库报错PDOException: SQLSTATE[42000]的解决办法
- Oracle sqlplus远程连接数据库