免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2245 | 回复: 4
打印 上一主题 下一主题

请高手给排障,多谢了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-22 10:51 |只看该作者 |倒序浏览
我用ODBC 到 MSSQL已通DSN:TRAFFIC,现在要用 GENERIC CONNECT 在ORACLE连MSSQL
我配置了三个文件
INITTRAFFIC.ORA
      HS_FDS_CONNECT_INFO = traffic
       HS_FDS_TRACE_LEVEL = ON
LISTENER.ORA增加
    (SID_DESC=
      (SID_NAME=traffic)
      (ORACLE_HOME=C:\oracle\ora9)
      (PROGRAM=hs)
   
TNSNAMES.ORA增加
traffic  =
  (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=traffic))
    (HS=OK)
  )

建好 DBLINK后
查询MSSQL中的表报错
SQL>; /
select count(*) from dbo.RESULT0@test
                                 *
ERROR 位于第 1 行:
ORA-28509: 无法创建与非 Oracle 系统的连接
ORA-02063: 紧接着line(源于TEST)

LISTERNER.LOG中有
22-1月 -2003 10:38:02 * (CONNECT_DATA=(SID=traffic)) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3199)) * establish * traffic * 12500
TNS-12500: TNS:监听器未能启动专用的服务器进程
TNS-12560: TNS: 协议适配器错误
  TNS-00530: 协议适配器错误
   32-bit Windows Error: 2: No such file or directory

哪位高手帮忙给看一下啊,多谢了

论坛徽章:
0
2 [报告]
发表于 2003-01-22 12:00 |只看该作者

请高手给排障,多谢了

谢 了

论坛徽章:
0
3 [报告]
发表于 2003-01-22 16:50 |只看该作者

请高手给排障,多谢了

各位请帮忙呀

论坛徽章:
0
4 [报告]
发表于 2003-01-22 17:07 |只看该作者

请高手给排障,多谢了

ORA-28509: unable to establish a connection to non-Oracle system
Cause:
Initialization of a database link to a non-Oracle system failed to connect
to the Heterogeneous Services agent process for this non-Oracle system.
Action:
Check the Net8 service name definition in the following places:
n in the USING clause of the CREATE DATABASE LINK statement
n in the TNSNAMES.ORA file
n in the Oracle Names Server
Possible reasons for name mismatches are:
n The USING clause in the CREATE DATABASE LINK statement has to
match the service name defined in TNSNAMES.ORA or in the Oracle
Names Server
n The service name definition to connect to a non-Oracle system, requires
additional Heterogeneous Services information. This information is agent
specific.Please see the agent’s Installation and User’s Guide for more infor-mation.
n The protocol-specific information in the service name definition must
match the protocol-specific definition of the listener.
n The SID=<name>; in the service name definition (TNSNAMES.ORA file or
in Oracle Names Server) must match the value in the LISTENER.ORA file
for the responding listener.
--------------
ORA-02063: preceding str from name
Cause: An Oracle error message was received from a remote database link.
Action: Refer to the preceding messages. Correct the problem mentioned in
the preceding messages and try the operation again.

论坛徽章:
0
5 [报告]
发表于 2003-01-22 17:13 |只看该作者

请高手给排障,多谢了

楼上的,这个错误信息我也会查
我把我做的配置都给出来了,你要是真会,就帮我看看,谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP