Oracle Database Gateway for MS SQL server
Hi,
we have Oracle Database Appliance.
OS: Oracle Linux 5 x64
DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
Enterprise manager console:
http://81.89.49.222/em.JPG
OS top:
http://81.89.49.222/top.JPG
Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
Thank you
Michal
Hi,
we are using connection to multiple MS SQL servers:
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.141]://master
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
Thank you
Michal
Similar Messages
-
Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error
Dear All,
I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server). When I try to test the dblink connection, I get the following error.
I issued select * from dual@xyz;
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding 2 lines from xyz
28546. 0000 - "connection initialization failed, probable Net8 admin error"
My setup is the following.
1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
3. I use the same listener.ora file for both the db and the gateway.
4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
#(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
mssql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=db.abc.com.tw)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
SID_LIST_mssql =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
(PROGRAM_NAME=/u01/gateway/bin/dg4msql)
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.abc.com.tw)
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
/u01/gateway/dg4msql/admin/initdg4msql.ora
HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
dblink was created using statement below.
CREATE DATABASE LINK "xyz.abc.COM.TW"
CONNECT TO SA IDENTIFIED BY
USING 'dg4msql';
Couple more things, that I have done to check the work above.
[oracle@db admin]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1818ms
rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
[oracle@db admin]$ tnsping dg4msql
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
[oracle@db admin]$ lsnrctl status mssql
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias mssql
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-SEP-2013 10:09:46
Uptime 0 days 0 hr. 44 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
1. When installing the gateway, it asks to run the root.sh script. the root.sh script as for the following.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
is the above answer correct?
Thanks for reading.Dear Klaus,
I did start a new SQL*PLUS session
The output of /u01/gateway/bin/dg4msql is
[oracle@db log]$ /u01/gateway/bin/dg4msql
Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for MSSQL
The output of env is
HOSTNAME=db.abc.com.tw
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=orcl
TMPDIR=/tmp
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
ORACLE_SID=orcl
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=db.abc.com.tw
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
_=/bin/env -
Oracle Transparent Gateway for MS SQL Server
Hello,
I successfully installed the Oracle transparent Gateway for MS SQL Server for Oracle 8i. Now I am doing the same for Oracle 9i.
Does anyone know how to 'create a new gateway service' on 9i???
This is how you would do that on 8i on the Windows box...
1) At the MS-DOS prompt, enter:
> set GTW_EXE=TG4MSQL.EXE
2) To create a new gateway service name, enter:
> GTWSRV73 sid -CREATE | MORE
-where sid is the gateway sid.
Does anyone know how to do those steps for 9i Oracle Transparent Gateway?
Thank you.Hi
I need oracle Tranparent Gateway for Microsoft Sqlserver (tg4msql) for oracle 10g on linux x86-64 bit. I have searched for it on otn.oracle.com and on edelivery.oracle.com. But couldn't find it.
Can any one help me in this regard.
Regards
Nadir. -
Oracle Gateway for MS SQL Server
I have a oracle 10g database installed on Linux platform. I have installed oracle 11g gateways in the same system in a different location other than that of ORACLE_HOME.
I have configured the initdg4msql.ora and configured the listener in the ORACLE_HOMEs listener.ora
When I try to query the SQL Server table with the db link then I am getting the following error
Error starting at line 1 in command:
select * from dbo.jobs@testlink
Error at Command Line:1 Column:23
Error report:
SQL Error: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
ORA-02063: preceding 2 lines from TESTLINK
the following is my initdg4msql.ora configuration:
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=sqlserv:1433//pubs
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
can anyone tell me where am I going wrong?the patch is not applied to 10g db. Here is the last few lines of the dg4msql trace file
Entered hgocont at 2007/11/13-12:38:05
HS_FDS_CONNECT_INFO = "sqlserv:1433//pubs"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2007/11/13-12:38:05
dsn:sqlserv:1433//pubs, name:sa
optn:
Entered shgogohn at 2007/11/13-12:38:05
Exiting shgogohn, rc=28500 at 2007/11/13-12:38:05
Entered hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
Returning 3
Exiting hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
##>Connect Parameters (len=200)<##
## DRIVER=Oracle 11g dg4msql;
## Address=sqlserv,1433;
## Database=pubs;
#! UID=sa;
#! PWD=*
## AnsiNPW=Yes;
## QuotedId=Yes;
## IANAAppCodePage=3;
## ArraySize=100;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2007/11/13-12:38:05
Entered hgopoer at 2007/11/13-12:41:14
hgopoer, line 159: got native error 0 and sqlstate HYT00; message follows...
[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
Exiting hgopoer, rc=0 at 2007/11/13-12:41:14
hgocont, line 1890: calling SqlDriverConnect got sqlstate HYT00
Exiting hgocont, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgocont.c LINE:1910 FUNCTION:hgocont() ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
Entered hgoexit at 2007/11/13-12:41:14
Exiting hgoexit, rc=0 at 2007/11/13-12:41:14 -
Oracle gateway for MS sql server 2005
Is Oracle 9i Gateway for MS SQL Server compatible with SQL 2005? If not what are the other options?
Check the support matrix at metalink.
But be advised that Oracle 9i is in desupport mode. -
Hi,
I am tring Gateway for SQL Server ..
I want to Select Oracle Database Gateway for SQL Server 11.1.0.6.0 at the time of installation, but It is not coming in the Avaliable Components List..
Is there any prerequisite for SQL server ?
Any Help please ?Are you following the "Step Through the Oracle Universal Installer" section under
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31043/sqlserver.htm#CCHEDECC
? -
I am connecting from Oracle to another database server (MS SQL Server, DB2 the error message is the same) through an ODBC connection using Oracle SQL Developer. (This is how I set up)
I want to query the schema of a non-Oracle database using the data dictionary mapping of the Oracle Database Gateway for ODBC.
This works well:
select * from all_tables@katimssql;
But this doesn't:
create table alltables_mssql as
select * from all_tables@katimssql;
Output:
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-02047: cannot join the distributed transaction in progress
ORA-06512: at "SYS.HS$_DDTF_SQLTABLES", line 58
ORA-06512: at line 1
Does anyone know the solution of this?
Thanks in advance,
Kata
Details:
Oracle Database 11g Express Edition Release 11.2.0.2.0
Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64)
ODBC Driver: SQL Server Native Client 11.0 (32 bit)
initkatimssql.ora:
HS_FDS_CONNECT_INFO=katimssql
HS_FDS_TRACE_LEVEL = ON
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
I tried these, none of them worked, the error message is the same.
HS_FDS_TRACE_LEVEL = off
HS_TRANSACTION_MODEL = SINGLE_SITE
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
HS_TRANSACTION_MODEL = READ_ONLYHi Kata,
this won't work as the ALL_TABLES is not a table that exists in your SQl Server - instead it is a "mimicked" table. This means the gateway will check if you have on your SQL Server a table called all_tables and when there's no table it will start an internal mechanism to check out what sort of tables exist in your SQL Server database. So the gateway is starting internally another transaction to get details from the foreign database and DG4ODBC can't participate in distributed transactions at all. Instead of using all_tables you have to use a real SQL Server table like SQ Server sys.objects or sys.tables.
- Klaus -
What are the advantage of using Oracle Database when compare to SQL SERVER
Hi all
Please tell anyone about
what are the advantage of using Oracle Database when compare to SQL SERVER
Thanks in advance
Balamurugan Suser12842738 wrote:
Hi,
There are various differences between the two.
1. SQL Server is only Windows, but Oracle runs on almost all Platforms.
2. You can have multiple databases in SQL Server, but Oracle provides you only one database per instance.Given that the very term 'database' has s different meaning in the two products, this "difference" is absolutely meaningless.
3. SQL Server provides T-SQL for writing programs, whereas Oracle provides PL/SQLWhich means what? Both products have a procedural programming language. They named them differently, and the languages are not interchangeable. Means nothing in comparing the features/strengths/weaknesses/suitability to purpose.
4. Backup types in both are the same. (Except Oracle provides an additional backup called Logical Backup.)You make that sound like "Logical Backup" is something more than it is. It is nothing more than an export of the data and metadata. Many experts don't even consider it a backup. I'm sure SQL Server provides the same functionality though they probably call it by some other name.
5. Both provide High Availability.Well, I guess they both have a suite of features they refer to as "High Availability". But what does that really mean? The devil is in the details. Remember, the two products don't even agree on what constitutes a "database".
6. Both come in various distributions.???
>
If you are going for an Implementation, you can try SQL Server Express Edition and Oracle XE which are free to use.
Then you can choose whichever is comfortable for your needs.
Thanks. -
Help Configuring Transparent Gateway for Ms Sql Server
I have Installed Oracle 9.2.0.1.0 with Transparent Gateway for Ms Sql Server.
Followed the configuration furnished therein the Documents for Tnsnames.ora & Listener.ora.
Connection to Sql Server 2000 is NOT SUCCESSFUL. Trace File contents from Tg4sql is furnished below :
Oracle Corporation --- WEDNESDAY DEC 18 2002 22:32:50.625
Heterogeneous Agent Release
9.2.0.1.0
HS Agent diagnosed error on initial communication,
probable cause is an error in network administration
Network error 2: NCR-00002: NCR: Invalid usage
Note :- Sql Server & Oracle Server are on the same Machine running of Windows 2000 Server.
Am i missing something !!!
TIAPlease guide me, would appreciate your suggestions to solve this heck....
TIA -
Oracle Database Gateway for ODBC with Oracle XE
Dear Colleague,
Is it possible to use the Oracle Database Gateway for ODBC in conjunction with the Oracle Express Edition (or does one have to use the Standard or Enterprise Editions)? If yes, are there any restrictions when using the Oracle Database Gateway for ODBC in the context of Oracle XE?
Best regards,
RandyHi,
As it says, as long as you have an RDBMS license then you do not need a separate license for DG4ODBC. If the confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a machine different" then that is just to clarify that you can run the gateway on a completely separate machine from where the licensed RDBMS is running, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed into a separate ORACLE_HOME.
If this is still not clear then please get back and let us know exactly what you need clarifying.
Regards,
Mike -
Error using Oracle Database Gateway for DRDA
Hello All,
We're encountering issues while trying to query a table using a db link to DB2 database.
We are running oracle 11g R1 on windows and we have DB2 installed on the box. We've installed database gateway for DRDA also on the same box. The gateway is running on a different home location within the same machine. But we get the following error while trying to query across the db link. Would be great if you can take a look and suggest appropriate changes.
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from UDB
Here's how we configured the gateway:
Listener:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
Tns:
dg4drda.idc.oracle.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xpone.idc.oracle.com)
(PORT = 1521))
(CONNECT_DATA =
(SID= DB2))
(HS=OK)
initDB2.ora
HS_COMMIT_POINT_STRENGTH=255
HS_NLS_DATE_FORMAT=YYYY-MM-DD
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_RPC_FETCH_REBLOCKING=off
HS_RPC_FETCH_SIZE=32767
HS_FDS_FETCH_ROWS=20
FDS_CLASS=DG4DRDA_DB2UDB
DRDA_CONNECT_PARM=xpone.idc.oracle.com:50000
DRDA_REMOTE_DB_NAME=SAMPLE
DRDA_PACKAGE_COLLID=ORA11
DRDA_PACKAGE_NAME=G2DRSQL
DRDA_PACKAGE_CONSTOKEN=A929B170D366FB00
DRDA_RECOVERY_USERID=ORADRDA
DRDA_RECOVERY_PASSWORD=ORADRDA
DRDA_ISOLATION_LEVEL=CS
DRDA_DISABLE_CALL=TRUE
DRDA_CODEPAGE_MAP=codepage.map
heres how we created the db link:
CREATE DATABASE LINK udb CONNECT TO ORACLE IDENTIFIED BY "welcome1" USING 'dg4drda.idc.oracle.com';
and this was the sql executed
select * from employee@udb;
Really appreciate your assistance.
Regards
KrishnaHello Mike,
Here's the entire listener entry (I've changed the SID to DB2. Consequently I have also changed the SID in tns and gateway init under folder "11.1.0\tg_1\dg4drda\admin"
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = XPONE)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
I've also added the necessary IP entry to my host file.
Here's the listener log. I've grabbed it for 2 consecutive attempts to bind the package.
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_752_2136.trc
</txt>
</msg>
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=752
</txt>
</msg>
<msg time='2010-02-11T11:11:25.593-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:11:25.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:11:28.031-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:11:28.062-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:11:29.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:11:29.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:29 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:45.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1076)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:47.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:47 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:49.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:49 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1077)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:53.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:54.343-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:54 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1078)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:56.515-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:56 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:02.531-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:02 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:11.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:13.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1080)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:13.390-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1081)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.437-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:35.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:13:41.718-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:13:41 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:11.765-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:14.781-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:14 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:23.796-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:23 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:15:53.843-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:15:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:11.875-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:26.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:26 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:35.921-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:37.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:37 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:42.203-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:17:42.218-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:42 * service_died * orcl * 12537
</txt>
</msg>
<msg time='2010-02-11T11:17:54.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>System parameter file is E:\app\Oracle\product\11.1.0\db_1\network\admin\listener.ora
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Log messages written to e:\app\oracle\diag\tnslsnr\xpone\listener\alert\log.xml
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_3060_3104.trc
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=3060
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:17:54.328-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:17:56.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:17:56.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:18:06.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:06 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:09.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:09 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:12.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:12 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:18.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:18 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:39 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:42.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:42 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:48.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:48 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:00.687-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:00 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1095)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:03.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:03 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:17.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1096)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.171-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:17.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1097)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1098)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.671-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1099)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.703-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:21.640-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:21 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:23.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:22 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1100)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.046-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:23.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:23 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1101)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.187-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
And finally, the listener is starting from Oracle Home and I do not have any other Oracle products installed.
Thanks a billion for all your suggestions.
Regards
Krishna -
Connect Oracle Database with help of sql server storedprocedure
Hii,
Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
stored procedure to connect oracle database and take some data and insert in to my sql server database.
Nikunj NandaniyaHello,
I am getting below error when i kust Clic k on Test Connection in SSMS:
TITLE: Microsoft SQL Server Management Studio
The test connection to the linked server failed.
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
BUTTONS:
OK
Can you please guide is there any other setting i need to do after install Oracle Client ?
Best Regards,
Tushar Malvi -
Hi All,
I would like to ask how can imports my dump oracle database file data and struct into sql server 2005
with out make connection oracle.
best regards.
Hakim.Hi Hakim.
Based on your title, what I understood there is a issue regarding transfer oracle db dump to sql database using C# code. Am I right? If so, I am afraid there is no build-in method which meet your requrements in .NET framework. You must provides
OraDump Export API to allow developers integrate corresponding capabilities into their applications. These capabilities are about export data from Oracle dump files into popular databases like Microsoft SQL server. Every developer
having OraDump Export API can write just few lines of code on C# or Visual Basic to implement the appropriate export process.
I am search a third-party link, but it's a paid service.
http://www.convert-in.com/data-migration-service.htm
If you don't have to with code, Please refer to: Migrating Oracle Databases to SQL Server 2000
http://technet.microsoft.com/en-us/library/cc966513.aspx
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Transparent Gateway for MS SQL Server on Win 2000
Can anyone tell me where I can get this software from? I was led
to believe it was part of the 9.0.1 CD Pack for Microsoft
Windows but it doesnt appear to part of it. Do I have to
purchase another piece of software or can I download it from
somewhere?
Regards,The gateway is available on the Oracle database CD v9.0.1. There
is no separate CD for the gateway as of v9.0.1.
You can install the gateway but choosing the custom install
option during the installation process. -
Oracle DB 10g r2 & Microsoft SQL Server 2008
Hello,
I have a need to load data from Oracle 10g r2 to SQL Server 2008 and vice versa. I am new to heterogeneous connectivity. How do I connect to SQL Server from Oracle and vice versa(connect Oracle from SQL Server).
The Oracle version : Oracle Database 10g Enterprise Edition Release 10.2.0.5.0
The SQL Server Version : Microsoft SQL Server 2008Both databases are located on different machines. Oracle is hosted on Solaris UX and SQL Server 2008 is on Windows Server 2008.
Any documentation in this regard will help.
Please advise.
Thank you much for your time in reading this post.
Rich
Edited by: Rich V on Nov 13, 2011 9:02 PMWhen you want to connect from Oracle to a SQL server you need to use a gateway. Oracle offers 2 different kind of gateways. The gateway which is for free is based on a 3rd party ODBC. It is called Database Gateway for ODBC (DG4ODBC) and allows you to connect to any foreign database as long as the ODBC driver is compliant with the gateway requirements documented in the manual.
As it allows you to connect to any foreign database it only supports a few Oracle functions which is able to map to foreign database equivalents. All other functions are post processed.
The more powerful product is Database Gateway for MS SQL Server (DG4MSQL) which is designed for MS SQL Server connections. Thus it supports many more functions which it is directly mapping to SQL Server equivalents and it is also able to participate in distributed transactions and to call SQL Server stored procedures. This DG4MSQL gateway is not for free and requires a license.
I would suggest to check out My Oracle Support and look for this note:Master Note for Oracle Gateway Products [Document 1083703.1]
It contains a reference to many other notes describing the differences between DG4ODBC and DG4MSQL and it also contains links to common set up notes.
After looking at this note you'll notice that on Unix most 3rd party ODBC drivers are commercial drivers and you might need to purchase them as well. Sometimes the license costs for these drivers are more expensive then purchasing the DG4MSQL. Another option would be to install DG4ODBC on a Windows platform, for example on the SQL Server machine and you could then use the MS SQl Server ODBC driver which is for free and you then have a complete solution for free.
Maybe you are looking for
-
PI7.1 Idoc Sender Adapter cannnot work
Hi, I'd like to transport data from ERP to MDM. So I get data from ERP by PI IDoc adapter. First I made RFC connection(ABAP connection) on Trcd:SM59, and IDoc port on Trcd:IDX1 in PI server. Then I configured Trcd:IDX2. Next I configured Trcd:SM59,WE
-
Web Logic installation for Window NT
Hi, I can not install the WebLogic into my computer by any way. Can Some one show me the step by step how to install web logic. Thank yiou very much Dan Nguyen
-
Kodo 4.1...Eclipse
Does an eclipse plugin exist for the Kodo 4.1.4? I can't find the plugins directory or installation instructions. Am I missing something?
-
PDF links not loading off websites
Hi, Just recently in the last few months with Safari 5.05, whenever I have a link on a website to click for a pdf, a new screen opens after an extremely quick download and its black. I am experiencing the same issue with Firefox 5.0. Any advice is he
-
Is it possible to keep the reference of VO Instance in AM session UserData
Hi, I am using JDeveloper 11.1.2.0.0. Is it possible to keep the reference of ViewObject Instance in the Application Module Session User Data? Will it have any side effect and is it best practice? Instead of find the View Object every time form the A