Welcome 微信登录

首页 / 数据库 / MySQL / 远程通过监听连接报ORA-01034故障处理一例

错误如下:
SQL> conn system/test@test
ERROR:
ORA-01034: Oracle not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory1、检查了环境环境变量,查看了监听状态和实例状态都是正常的。
2、tnsping ZSK 也是通的C:>tnsping ZSKTNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 10-FEB-2012 22:51:55Copyright (c) 1997,  2007, Oracle.  All rights reserved.Used parameter files:
C:oracleproduct10.2.0db_1 etworkadminsqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 12521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = test)))
OK (20 msec)C:>
SQL> alter system set local_listener="(ADDRESS =(PROTOCOL=TCP)(HOST=134.224.55.118) (PORT=12521)(SID=ZSK))";
System altered.SQL> alter system register;
System altered.SQL> exit客户端再次测试连接:
C:>sqlplus system/test@testSQL*Plus: Release 10.2.0.4.0 - Production on Fri Feb 10 22:54:49 2012Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL>在MySQL 5.5.18下创建用户不能登录Oracle 数据表死锁解决方法相关资讯      Oracle基础教程 
  • Oracle块编程返回结果集详解  (11/10/2013 10:45:58)
  • Oracle基础教程之设置系统全局区  (08/22/2013 14:24:00)
  • Oracle基础教程知识点总结  (06/18/2013 07:43:32)
  • Oracle基础教程之tkprof程序详解  (10/22/2013 11:49:50)
  • Oracle基础教程之sqlplus汉字乱码  (07/18/2013 16:30:00)
  • Oracle 管理之 Linux 网络基础  (02/16/2013 18:37:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数