|
IOTN :: Field Book :: ORACLE 
 |
oracle db link for mssql
|
ÃÖ±æÈ£
[LIST]
|
2016-09-02 18:10:35, Á¶È¸ : 34,452 |

initmssql.ora
HS_FDS_CONNECT_INFO = mssql
HS_FDS_TRACE_LEVEL = 4 # ÀúÀå ¹Ù·Î Àû¿ë
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = mssql)(PORT = 1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oracle\product\gw11g )
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = mssql )
(ORACLE_HOME = C:\oracle\product\gw11g )
(PROGRAM = dg4odbc)
)
)
tnsnames.ora
mssql =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA = (SID = mssql )
)
(HS=OK) ## À§Ä¡ È®ÀÎ
)
ADR_BASE_LISTENER = C:\oracle\product\gw11g
c:\windows\sysWOW64\odbcad32.exe
c:\windows\system32\odbcad32.exe
»ç¿ë ¹æ¹ý
drop database link mssql;
drop public database link mssql;
create public database link mssql connect to sa identified by pwd using 'mssql';
select * from dbo.class@mssql;
°ü·Ã ¿À·ù
[ ½Ã½ºÅÛ DNS [0] ]
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-02063: preceding line from mssql
//
HS Agent diagnosed error on initial communication,
probable cause is an error in network administration
Network error 2: NCR-00002: NCR: ºÎÀû´çÇÑ »ç¿ë¹ý [ ODBC »ç¿ëÀÚ DNS [x] -> ½Ã½ºÅÛ DNS [0] ] Ãß°¡ [ (HS = OK) À§Ä¡ ÁÖÀÇ! ]
Network error 2: NCR-00002: NCR: Invalid usage
HS Gateway: NULL connection context at exit
[ HS_DB_NAME Á¦°Å ]
ORA-28536: error in processing Heterogeneous Services initialization parameters
ORA-28508: invalid value mssql for Heterogeneous Services initialization parameter HS_DB_NAME [ HS_DB_NAME Á¦°Å ]
ORA-02063: preceding 2 lines from mssql
//
Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "mssql"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:mssql
Exiting hgogprd, rc=0
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Àб⠿À·ù.
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:109 ID:Connection context
Ãß°¡
Entered hgodtab at 2016/09/06-10:48:36
count:1
table: DBO.LOAD
Allocate hoada[0] @ 018435B8
Free hoada[0] @ 018435B8
Entered hgopdsc at 2016/09/06-10:48:37
Describing procedure DBO.LOAD
Output hoada
hgopdsc, line 1426: NO hoada to print
Exiting hgopdsc, rc=942 at 2016/09/06-10:48:37
The hoada for table DBO.LOAD follows...
hgodtab, line 904: NO hoada to print
Exiting hgodtab, rc=0 at 2016/09/06-10:48:38
Entered hgopars, cursor id 1 at 2016/09/06-10:48:38
type:0
SQL text from hgopars, id=1, len=26 ...
00: 53454C45 4354202A 2046524F 4D202244 [SELECT * FROM "D]
10: 424F222E 224C4F41 4422 [BO"."LOAD"]
Entered hgopoer at 2016/09/06-10:48:38
hgopoer, line 233: got native error 208 and sqlstate 42S02; message follows...
[Microsoft][ODBC SQL Server Driver][SQL Server]°³Ã¼ À̸§ 'DBO.LOAD'ÀÌ(°¡) À߸øµÇ¾ú½À´Ï´Ù. {42S02,NativeErr = 208}[Microsoft][ODBC SQL Server Driver][SQL Server]¹®À» ÁغñÇÒ ¼ö ¾ø½À´Ï´Ù. {42000,NativeErr = 8180}
Exiting hgopoer, rc=0 at 2016/09/06-10:48:38
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
Exiting hgopars, rc=942 at 2016/09/06-10:48:38
>>ODBC DB NAME Ãß°¡
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC SQL Server Driver][SQL Server]·Î±×Àο¡¼ ¿äûÇÑ µ¥ÀÌÅͺ£À̽º
"ASRS"À»(¸¦) ¿ ¼ö ¾ø½À´Ï´Ù. ·Î±×ÀÎÀÌ ½ÇÆÐÇß½À´Ï´Ù. {42000,NativeErr = 4060}
ORA-02063: preceding 2 lines from DAEDOO_SERVER
>> ASRS DB¿¬°á ¿À·ù [ dblink ¾ÏÈ£°¡ ´Ù¸§ ]
dblink excel
http://e-ammar.net/Oracle_TIPS/HS/configuring_generic_database_con.htm
| 216.73.216.190
|
|
 |
|
 |
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC ë¡°©«ë¨ù좥ë©÷„ ꢥ¢æë¦¬ìž] ì¡×¢æì •ë©« DSNì¢æ ë¡°©«ë¨ù좥ë©÷„ì¢â¢æ 졮용 í¡±„뢮©«ê¡¤¢¬ëž¡§ ê¡Æ„ ì•„í‚¢´í¡¦ì©÷˜ ë¢Òˆì¨ùì©ö˜ë¥¨ù í¬í•¡§í•©ë‹ˆë‹¢´.
{IM014} ORA-02063: preceding 2 lines from MSSQL
¿µ¾î·Î º¸ÀÌ°Ô ÇÏ·Á¸é?
À©µµ¿ì ¼¹ö¿¡¼ È®ÀÎ ¶Ç´Â À©µµ¿ì ¼¹ö sqlplus ·Î±×ÀÎÇØ¼ È®ÀÎ
HS_FDS_TRACE_LEVEL = 4
C:oracleproduct11.2.0dbhome_1hstracemssql_agt_2616.trc
hgopoer, line 231: got native error 0 and sqlstate IM014; message follows...
[Microsoft][ODBC µå¶óÀ̹ö °ü¸®ÀÚ] ÁöÁ¤µÈ DSNÀº µå¶óÀ̹ö¿Í ÀÀ¿ë ÇÁ·Î±×·¥ °£ ¾ÆÅ°ÅØÃ³ ºÒÀÏÄ¡¸¦ Æ÷ÇÔÇÕ´Ï´Ù. {IM014}
Exiting hgopoer, rc=0 at 2021/06/30-22:38:14
hgocont, line 2831: calling SqlDriverConnect got sqlstate IM014
Exiting hgocont, rc=28500 at 2021/06/30-22:38:14 with error ptr FILE:hgocont.c LINE:2851 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2021/06/30-22:38:14 with error ptr FILE:hgolgon.c LINE:806 ID:Calling hgocont
Entered hgoexit at 2021/06/30-22:38:14
Exiting hgoexit, rc=0 |
2021-06-30 22:53:55
|
 |
|
 |
À©µµ¿ì ¼¹ö¿¡¼ sqlplus ....
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC µå¶óÀ̹ö °ü¸®ÀÚ] ÁöÁ¤µÈ DSNÀº µå¶óÀ̹ö¿Í ÀÀ¿ë ÇÁ·Î±×·¥ °£¾ÆÅ°ÅØÃ³ ºÒÀÏÄ¡¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
{IM014} ORA-02063: preceding 2 lines from MSSQL
=> Á¦¾îÆÇ\¸ðµç Á¦¾îÆÇ Ç׸ñ / ¿ìÃø»ó´Ü ã±â : odbc
[ ODBC (64bit) / ODBC (32bit) ] °¢°¢ ½ÇÇà °¡´É
=> windows cmd> lsnrctl status [ 32-bit È®ÀεǸé 32bit odbc·Î ´Ù½Ã ] |
2021-06-30 23:05:28
|
Copyright 1999-2025 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
|
|
|