你好,游客 登录 注册 搜索
背景:
阅读新闻

远程通过监听连接报ORA-01034故障处理一例

[日期:2012-02-11] 来源:Linux社区  作者:wuweilong [字体:大 中 小]

错误如下:
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 directory

1、检查了环境环境变量,查看了监听状态和实例状态都是正常的。
2、tnsping ZSK 也是通的

C:\>tnsping ZSK

TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 10-FEB-2012 22:51:55

Copyright (c) 1997,  2007, Oracle.  All rights reserved.

Used parameter files:
C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.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@test

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Feb 10 22:54:49 2012

Copyright (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 options

SQL>

linux
相关资讯       Oracle基础教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款