Ora-28545 on a 64bit windows Oracle 10.2.0.4 vs Ingres 32 bits
Hi,
we just pass to a 64bits version of ower oracle 10.2.0.4 databse.
We had a heterogenus connection who was woking A1 at that time. When we pass to 64 bit, we create the definition of the odbc in the c:\windows\SysWow64\odbcad32.exe (because with Ingres only 32 bit odbc exist)
At the test time of the dblink we had the message ora-28545.
I read in many forum that we can not do heterogenus connection in 10.2.0.4, but some person write they were able to make them work (none of them work for us).
Some have writen to create a dblink on a 32bit server and us it with the 64bit server (oracle), past by a other box.
How can i do this? or does it exist a way to make a dblink 32bit work on a 64 bit window 2008 server?
Thanks
This could be tricky to achive , but discussions about similiar issues were here recently :
heterogeneous connectivity from oracle 64-bit to sql server 2000 in windows
DG4ODBC on 64-bit Windows
Similar Messages
-
ODBC 10gR2 64bit Windows 2008 EE (64bits) to to sql server 2005 (32bits)
Hi all, I am having trouble with creating an ODBC connection from 10gR2 64bits Windows 2008 to sql server 2005 Win 2003 32 bits
1. I create a listener.ora like the following the port 1521 is for oracle DB and the 1522 is for sql server
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
SID_LIST_HSODBC_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = hsodbc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc)
HSODBC_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
2. my tnsnames.ora looks like
PRUEBA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = local host)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = prueba)
HSODBC =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=HSODBC))
(HS=OK)
3. I created an inithsodbc.ora like this
HS_FDS_CONNECT_INFO = hsodbc
HS_FDS_TRACE_LEVEL = 0
4. I have configure also the dns system and tested succesfully.
5. My database link look likes
CREATE public DATABASE LINK "hsodbc"
CONNECT TO "sysdba" IDENTIFIED BY "masterkey" USING 'hsodbc';
6. When I run my select I get the following error
select * from dual@hsodbc
ERROR at line 1:
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 HSODBC
7. I look and the listener_hsodbc log
14-APR-2011 08:14:49 * (CONNECT_DATA=(SID=HSODBC)(CID=(PROGRAM=)(HOST=DOMAINSERVER\SERVER_PRO)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=51749)) * establish * HSODBC * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 2: No such file or directoryOk I follow the note 1086365.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on a 64bit Windows
1. Modify my listener it looks like this
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = C:\oraGtw11g\product\11.2.0\tg_1)
(PROGRAM = dg4msql)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER = C:\oraGtw11g\product\11.2.0\tg_1
LISTENER_D4GMSQL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1511))
ADR_BASE_LISTENER_D4GMSQL = C:\oraGtw11g\product\11.2.0\tg_1
2. modify the tnsnames.ora
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1511))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
3. modify the initdg4msql.ora file
HS_FDS_CONNECT_INFO=bsaleslogix,1433//FPDB
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
Then I reload de listener and test via tnsping dg4msql, this test turn ok, also test via tnsping the conection to the database is ok
4. create the db link
CREATE DATABASE LINK sqlserver
CONNECT TO "sy" IDENTIFIED BY "mas" USING 'dg4msql';
5 . when i execute the select
SELECT * FROM DUAL@SQLSERVER
ERROR at line 1:
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 SQLSERVER
6. the listener_dg4msl shows an TNS-12505 error while conecting to the SID -
ORA-28545 on mySQL - Oracle database link
Hi All,
I'm trying to make a connection to mySQL database from oracle.
Oracle database runs on windows 2003 64 bit machine and version is 10.2.0.4.0.
my init<dbname>, listner and tnsnames looks like this and I can create database links without any problem at all. Also oracle to oracle database links are working fine on that machine as well.
HS_FDS_CONNECT_INFO=BOOKDB
HS_FDS_TRACE_LEVEL=debug
BOOKDB=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_BOOKDB=
(SID_LIST=
(SID_DESC=
(SID_NAME=BOOKDB)
(ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
(PROGRAM=hsodbc)
BOOKDB=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
(CONNECT_DATA=(SID=BOOKDB))
(HS=OK)
)When I try start the listner and then do the tnsping everything seems fine.
C:\Documents and Settings\adminkh>lsnrctl start bookdb
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:01:40
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
System parameter file is C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Log messages written to C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
STATUS of the LISTENER
Alias bookdb
Version TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
Start Date 20-JUL-2010 12:01:42
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
Services Summary...
Service "bookdb" has 1 instance(s).
Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Documents and Settings\adminkh>tnsping bookdb
TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:02:16
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=10.16.72.176)(PORT=1522)) (CONNECT_DATA=(SID=bookdb)) (HS=OK))
OK (10 msec)And then I create the database link and it created without a problem.
create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';And then I try to run small query.
SQL> select * from admins@booklink;
select * from admins@booklink
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 BOOKLINKSo can anyone help me with regards to this error.
Edited by: garuka on Jul 20, 2010 4:08 AM
Edited by: garuka on Jul 20, 2010 4:09 AMlistner.ora from 11g
BOOKDB=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_BOOKDB=
(SID_LIST=
(SID_DESC=
(SID_NAME=BOOKDB)
(ORACLE_HOME=C:\Oracle11g\product\11.2.0\tg_1)
(PROGRAM=hsodbc)
)status:
C:\Oracle11g\product\11.2.0\tg_1\bin>lsnrctl status bookdb
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 20-JUL-2010 15:35:34
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
STATUS of the LISTENER
Alias bookdb
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 20-JUL-2010 15:34:51
Uptime 0 days 0 hr. 0 min. 43 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\Oracle11g\product\11.2.0\tg_1\network\admin\listener.ora
Listener Log File c:\oracle11g\product\11.2.0\tg_1\log\diag\tnslsnr\khhq-xs-ifsb01\bookdb\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
Services Summary...
Service "bookdb" has 1 instance(s).
Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyEdited by: garuka on Jul 20, 2010 7:42 AM -
Trying to connect to AS400 from Oracle = ORA-28545
Hello,
I woul like to connect to an AS400 DB from an Oracle DB (OS: Windows Server 2003 SP2 - 32 bits, DB: Oracle DB 10g Release 10.2.0.1.0).
To that, I have done the following steps:
1) Create System DSN
Name: AS400_DTA
Driver: iSeries Access ODBC Driver
2) Edit tnsnames.ora:
SID_LIST_LISTENER =
(SID_DESC =
(SID_NAME = AS400_DTA)
(ORACLE_HOME = D:\oracle\bise1\db)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
3) Edit listener.ora:
(SID_DESC =
(SID_NAME = AS400_DTA)
(ORACLE_HOME = D:\oracle\bise1\db)
(PROGRAM = hsodbc)
4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
(SID_DESC =
(SID_NAME = AS400_DTA)
(ORACLE_HOME = D:\oracle\bise1\db)
(PROGRAM = hsodbc)
5) Restart the listener
6) Create DB link:
create public database link AS400_DTA connect to "user" identified by "pwd" using 'AS400_DTA';
In this step I have the following error:
Link : "CRPDTA.REGRESS.RDBMS.DEV.US.ORACLE.COM"
Error : ORA-28545: error diagnosticado por Net8 al conectar a un agente
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: 2 lines precediendo a DTA
What I am doing wrong? How can I solve the issue?
How can I test the ODBC drivers to ensure that connectivity is made to the AS400 database?
If I execute > tnsping AS400_DTA, the result is:
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-JUN-2011 15:05:37
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Archivos de parámetros utilizados:
D:\oracle\bise1\db\network\admin\sqlnet.ora
Adaptador TNSNAMES utilizado para resolver el alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
TNS-12541: TNS:no hay ningún listener
I appreciate any idea/suggestion.
Thank you in advance!
Regards,
Mónica.Monica,
The error reported from the tnsping is -
Adaptador TNSNAMES utilizado para resolver el alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
TNS-12541: TNS:no hay ningún listener
so looks like a problem with the listener and it is also reporting the SID as AS400_CRPDTA and not AS400_DTA as you have in the tnsnames.ora. Are you accessing the correct tnsnames.ora file ?
Also, the listener.ora entry is -
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
Are you using the actual host name in the HOST entry instead of (HOST = HOST) ?
What is the output from issuing -
lsncrtl
then the 'status' and 'services' command ?
And an obvious question - did you stop and start the listener after adding the new entry ?
Also, this is completely incorrect -
4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
(SID_DESC =
(SID_NAME = AS400_DTA)
(ORACLE_HOME = D:\oracle\bise1\db)
(PROGRAM = hsodbc)
The initAS400_DTA.ora file should only have these entries -
HS_FDS_CONNECT_INFORMATION =AS400_DTA
HS_FDS_TRACE_LEVEL=debug
And finally, 10.2 HSODBC is now desupported and you should install and use the replacement product which is the 11g Database Gateway for ODBC (DG4ODBC).
The following note has links to further information -
Note.1083703.1 Master Note for Oracle Gateway Products
If you want to continue to use HSODBC then refer to this note -
Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
but we strongly recommend you install and use DG4ODBC so that you are on a fully supported version.
Regards,
Mike -
Hi,
We have Oracle Enterprise Edition Release 11.2.0.1.0 - 64bit Windows based server. I want to download latest patches for this version. From where can I get this? Please help me.
Thanks,
MangeshHi;
1. Patch can be download only from metalink
2. All related patch number can be found:
NOTE:430449.1 - How to find DB Patches for the Microsoft Windows platforms My Oracle Support
11.2.0.x Oracle Database and Networking Patches for Microsoft Platforms [ID 1114533.1]
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
Oracle application 10.1.2.0.2 on 64bit windows 2003
hi all,
i have gone through the metalink certify column- it speaks that you can install BI and forms on windows 2003 0s 64bit with oracle application server 10.1.2.0.2 but without infrastructure.
Does that mean we will not be able to use OID and management repository which we are using for synchronization with the windows active directory. will i be able to use oracle discoverer???
will my forms requires some modification while going for 64-bit windows???? is there a separate 64bit oracle 10.1.2..0.2 application server software or the same that is used with 32 bit windows can work??will it solve my memory problem to use more than 4GB if i use
The same oracle AS that i have been using for 32 bit windows 2003 with the 64bit windows 2003 also .
Any suggestions for These queries
Thanks and Regards
Manish
[email protected]Hi Milan;
I have configured Oracle Discoverer 10.1.2.0.2 upgraded its version using patch 5983622 on our Production server(227) that has forms and web on it.
Now we also have production server(228) that has forms and web on it and we want to configure the Oracle discoverer 10.1.2.0.2 on 228 server .
With same url that has been deployed on 227 server(ie:http://idfcstandby.idfc.com:7777/discoverer/plus)
I am little confused with your words production server(228) production server(227) but if you meant you have one discovered server and you want to use it wiht same link on both server than yes its possible. Wiht one disco installation you can use same link more than 1 server
Regard
Helios -
ORA-28545 Between ORACLE 10G and SQL SERVER 2008
Hi All,
i'am doing heterogeneous connectivity as oracle 10G (Unbreakable linux4) to sql server (SQL SERVER 2008)
The DSN and the connections works ok (FreeTDS and UniXODBC).
I create the dblink
create database link inforpyme connect to "sa" identified by " " using 'INFORPYME';
and when I do select * from "sysobjects"@inforpyme I get the next error:
ORA-28545: error diagnosticado por Net8 al conectar a un agente
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: 2 lines precediendo a INFORPYME
This is my listener:
IBK =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
SID_LIST_IBK =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ibk)
(ORACLE_HOME = /App/oracle/ora10g2)
(SID_NAME = ibk)
(SID_DESC=
(SID_NAME=inforpyme)
(ORACLE_HOME=/App/oracle/ora10g2)
(PROGRAM=hsodbc)
My tnsnames:
INFORPYME =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME=inforpyme))(HS=OK)
The TNSping gets
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME=inforpyme))(HS=OK))
OK (0 msec)
and the initINFORPYME.ora:
HS_FDS_CONNECT_INFO = inforpyme
HS_FDS_TRACE_LEVEL = debug
HS_FDS_TRACE_FILE_NAME = /tmp/freetds.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
Anybody may help me? ThanksSorry i think has been a misunderstanding
this is my /App/oracle/ora10g2/network/admin/listener.ora
IBK =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
SID_LIST_IBK =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ibk)
(ORACLE_HOME = /App/oracle/ora10g2)
(SID_NAME = ibk)
(SID_DESC=
(SID_NAME=inforpyme)
(ORACLE_HOME=/App/oracle/ora10g2)
(PROGRAM=hsodbc)
I stop a start and this is the status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2012 13:18:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 25-SEP-2012 13:16:40
Uptime 0 days 0 hr. 1 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /App/oracle/ora10g2/network/admin/listener.ora
Listener Log File /App/oracle/ora10g2/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ovm1ora.drvsa.com)(PORT=1521)))
Services Summary...
Service "ibk" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
Service "ibkXDB" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
Service "ibk_XPT" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
The command completed successfully
i don'nt know why doesn't appears the service inforpyme, this it normal? -
Oracle 10g Universe Connectivity From 64bit Windows 2003 Server
Hi,
Have an existing BO XI 3.1 environment built on a 64 bit Windows 2003 server and
I'm having problems getting it to communicate with Oracle 10g universes. Works fine
with its SQL Server 2005 repository and SQL Server 2005 relational/olap universes, but
cant seem to get it to work with Oracle.
Universes work fine on the 32 bit development environment talking to the same Oracle
database, but when move them to 64 bit testing environment they all fail with
Oracle ora-12154 errors.
32 bit Oracle client is installed and can communicate fine with other products using ODBC
connections from the server - but BO refuses to communicate.
Any ideas other than reinstalling BO under 'Program Files' rather than 'Program Files (x86)'
as I've seen some references on the web about this possibly being a problem?
Thanks.Hi,
Oracle 32 bit and 64 bit connectivity work fine from the server. The problem seems to
relate to bug 3807408 in Oracle 10g that cant handle parentheses in directory names.
So BO being installed in u2018C:\Program Files (x86)\Business Objectsu2019 causes it to get
rather annoyed.
SAP Note 1202730 does cover this, but our DBA's aren't too keen on installing the
suggested patch. I'm also not very keen on reinstalling BO in a different directory as
we've got working production sites that would have to be rebuilt.
So now investigating whether using the Oracle 11g client will resolve this.
MSDN forum topic http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/ab662d63-6385-4f73-b27f-d526048f601f/ gives a pretty good overview of what people have been trying to resolve this. -
Hello All,
I have verified entire otn community, but none of the solution working for me and hence posting this problem. I'm getting below error message when I try to connect from oracle 11g to sqlserver database. All details are given below and request some body to provide resolution.
Oracle 11 g server installed in "Red Hat Enterprise Linux Server release 6.3"
Sqlserver running in Windows server enterprise 64bit OS.
$ cat initdg4msql.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=[SJCGNMWQA2WEB01]:SQLEXPRESS//msdb
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = /home/oracle/11g/product/11)
(PROGRAM = dg4msql)
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
GNMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = GNMDB)
dg4msql =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
(CONNECT_DATA = (SID = msdb))
(HS = OK)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER = /home/oracle/11g
Output of lsnrctl start
$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 22-NOV-2013 15:17:08
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Starting /home/oracle/11g/product/11/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.3.0 - Production
System parameter file is /home/oracle/11g/product/11/network/admin/listener.ora
Log messages written to /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 22-NOV-2013 15:17:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/11g/product/11/network/admin/listener.ora
Listener Log File /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL> CREATE PUBLIC DATABASE LINK sqlserver CONNECT TO "sa" IDENTIFIED BY "gnm123" USING 'dg4msql';
Database link created.
SQL> select * from dual@sqlserver;
select * from dual@sqlserver
ERROR at line 1:
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 SQLSERVER
SQL> select * from "sys"."tables"@sqlserver;
select * from "sys"."tables"@sqlserver
ERROR at line 1:
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 SQLSERVER
Pl help.Hi Klaus,
I just pick the gateway 11.2.0.3 patch to the installation. Here I got error and patch installation failed.
[oracle@sjcgnm62v2db1 13092292]$ opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /home/oracle/11g/product/11
Central Inventory : /home/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
Applying interim patch '13092292' to OH '/home/oracle/11g/product/11'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 13092292: Required component(s) missing : [ oracle.rdbms.tg4db2, 11.2.0.3.0 ]
[ Error during Prerequisite for apply Phase]. Detail: ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
Log file location: /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
Recommended actions: This patch requires some components to be installed in the home. Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.
OPatch failed with error code 39
[oracle@sjcgnm62v2db1 13092292]$
Pl help. -
ORA-28545: error diagnosed by Net8 when connecting to an agent
Dear all,
This question has been asked many times in this forum, and I have gone to many threads in this forum, but unfortunately i failed.
I want to connect to MySQL database from oracle. I have the following configurations.
Oracle database enterprise edition 12c (12.1.0.2.0) 64bit on Windows server 2012 64bit
i have MySQL 5.6.11 on windows 7 64bit
i have downloaded ODBC driver from oracle delivery site (MySQL Connector/ODBC 5.3.4 MSI for Windows x86 (64bit))
i install the ODBC on my oracle server, a full installation which install the Unicode and Ansi versions both.
i create ODBC connection for Unicode by going to Control Panel-->Administrator Tools-->ODBC Data Sources (64-bit)-->System DSN. i test it and the test was successful.
i configure my Listner.ora, Tnsname.ora and initmysql.ora files as below;
Listner.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = c:\app\Administrator\product\12.1.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
(SID_DESC=
(SID_NAME = mysql)
(ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH = C:\app\Administrator\product\12.1.0\dbhome_1\LIB)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
Tnsnames.ora
PDBORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = pdborcl.hct.org)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.hct.org)
mysql =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02)(PORT = 1521))
(CONNECT_DATA =
(SID = mysql)
(HS = OK)
initmysql.ora ( C:\app\Administrator\product\12.1.0\dbhome_1\hs\admin\)
HS_FDS_CONNECT_INFO = mysql
HS_FDS_TRACE_LEVEL = OFF
then i stop and start the listener, the listener status is below
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2015 09:16
:52
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ORADEV.hct.org)(PORT=152
1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Produ
ction
Start Date 23-APR-2015 09:13:56
Uptime 0 days 0 hr. 2 min. 59 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File c:\app\Administrator\product\12.1.0\dbhome_1\network\a
dmin\listener.ora
Listener Log File c:\app\Administrator\diag\tnslsnr\ORADEV\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORADEV.hct.org)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "mysql" has 1 instance(s).
Instance "mysql", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.hct.org" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.hct.org" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "pdborcl.hct.org" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
tnsping MySQL
TNS Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2
015 09:17:54
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
c:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02
)(PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS = OK))
OK (40 msec)
then i open sqlplus and connect to my pluggable database as sys user and create a public database link for the test schema which i already created in MySQL database.
create public database link mysql connect to test identified by test using 'mysql';
then i try the table1 which is in test schema in MySQL from sqlplus as below
SQL> select * from table1@mysql;
select * from table1@mysql
ERROR at line 1:
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 MYSQL
i have tried both the Ansi and Unicode versions of ODBC but the same issue.
where is the problem in my configuration?
Thank you.ODBC
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC]
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\mysql]
"Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
"SERVER"="10.153.102.98"
"UID"="test"
"PWD"="test"
"PORT"="3306"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"mysql"="MySQL ODBC 5.3 Unicode Driver"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI]
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 ANSI Driver]
"UsageCount"=dword:00000001
"Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5a.dll"
"Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 Unicode Driver]
"UsageCount"=dword:00000001
"Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
"Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Core]
"UsageCount"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"SQL Server"="Installed"
"Oracle in OraDB12Home1"="Installed"
"MySQL ODBC 5.3 ANSI Driver"="Installed"
"MySQL ODBC 5.3 Unicode Driver"="Installed"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Translators]
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraDB12Home1]
"APILevel"="1"
"CPTimeout"="60"
"ConnectFunctions"="YYY"
"Driver"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORA32.DLL"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"Setup"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORAS32.DLL"
"SQLLevel"="1"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\SQL Server]
"CPTimeout"="60"
"SQLLevel"="1"
"DriverODBCVer"="03.50"
"APILevel"="2"
"ConnectFunctions"="YYY"
"Setup"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,71,00,6c,00,73,00,72,00,\
76,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
"UsageCount"=dword:00000001
"Driver"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,51,00,4c,00,53,00,52,00,\
56,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
"FileUsage"="0"
Thanks -
Got Error ora-28545 when trying to establish connect sqlserver frm orcle
1) Able to configure ODBC DRIVER CONFIGURATION
2) EDITED LISTNER.ORA FILE
SID_LIST_LISTENER01 =
(SID_LIST =
(SID_DESC =
(SID_NAME= MDB)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
(PROGRAM = hsodbc)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
(PROGRAM = hsodbc)
LISTENER01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = HYRDWS4179.ES.AD.ADP.com)(PORT = 1524))
3)tnsnames.ora file
xxxxxx =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1524))
(CONNECT_DATA =
(SID = MDB)
(HS = OK)
4) Status of tnsping is good
4) unable to retrive the data
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrive text of network/ncr message 65535
ora-2063 preceding two lines from msd28545 is a configuration issue -
Have a look into your listener.ora file . it lists an Oracle_home 11.2.0 but the executable you specified in the listener.ora file is hsodbc which was its name in 10g. In 11g the executable is now called dg4odbc.
So please correct your listener.ora entry:
(SID_DESC =
(SID_NAME= MDB)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
(PROGRAM = dg4odbc) #### use dg4odbc instead of hsodbc
Now STOP and START the listener using lsnrctl command (lsnrctl stop listener01 - lsnrctl start listener01)
When it continues to fail, please provide me the output of the listener status listener01 command, the tnsping command output and which windows version (including the word size -32/64bit) and Oracle dg4odbc release you are trying to use. -
Once again - ORA-28545: error diagnosed by Net8 when connecting to an agent
I'm trying to connect to a SQL server 2012
I've make the ODBC connections (called MOFIBO2, MOFIBO3, MOFIBO4) and i've a succesfull connection to then SQL server.
The Oracle Database is:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
I've made 3 versions of the initdg4odbc.ora and they all look the same:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = MOFIBOx (MOFIBO2, MOFIBO3 and MOFIBO4)
HS_FDS_TRACE_LEVEL = off
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
My lisener.ora look like this:
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = resp-ora01)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(SID_DESC =
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(SID_NAME = RESPTEST)
(SID_DESC =
(SID_NAME=MOFIBO2)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
(SID_DESC =
(SID_NAME=MOFIBO3)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
(SID_DESC =
(SID_NAME=MOFIBO4)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
And my mofibo part of then tnsnames.ora look like this (I've made three variants because different "manuals" uses different methods ):
MOFIBO2=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
(CONNECT_DATA=
(SID=MOFIBO2)
(HS=OK)
MOFIBO3=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID_NAME = MOFIBO3)
(HS=OK)
MOFIBO4=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MOFIBO4)
(HS=OK)
When tnsping to the three versions i get this:
C:\Users\Administrator>tnsping mofibo2
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:17
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA= (SID=MOFIBO2)) (
HS=OK))
OK (10 msec)
C:\Users\Administrator>tnsping mofibo3
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:23
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
ATED) (SID_NAME = MOFIBO3)) (HS=OK))
OK (10 msec)
C:\Users\Administrator>tnsping mofibo4
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:27
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
ATED) (SERVICE_NAME = MOFIBO4)) (HS=OK))
OK (0 msec)
I created three database link with then following (username and password was in wright case):
create database link MOFIBODB2 connect to "<username>" identified by "<password>" using 'MOFIBO2';
create database link MOFIBODB3 connect to "<username>" identified by "<password>" using 'MOFIBO3';
create database link MOFIBODB4 connect to "<username>" identified by "<password>" using 'MOFIBO4';
when i was trying to select from a table (select * from customers@<DATABASELINKHERE>) i get the errors (substitute MOFIBO2 with MOFIBO3/4 and same error occours):
SQL> select * from customers@MOFIBODB2;
select * from customers@MOFIBODB2
ERROR at line 1:
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 MOFIBODB2
What is my mistake?Hi,
In the listener.ora you have the host as -
(HOST = resp-ora01)
but in the tnsnames.ora entries you have -
(HOST=resp-ora02)
The tnsnames.ora host must be the same as the listener host.
Unless you have a listener running on resp-ora02 it isn't clear why the tnsping returns a result.
Change the host in the tnsnames.ora and let us know what happens.
Regards,
Mike -
Error : ORA-28545: error diagnosed by Net8 when connecting to an agent
I try to connect my Oracle 11.2 database to SQL server 2012. I installed Oracle Gateway on a window 2012 R2 and followed Oracle Gateway configure instruction.
Here is the initdg4msql.ora
# HS init parameters
HS_FDS_CONNECT_INFO=ctmcsql2012.dot.state.co.us:1433/CTMCSQLSVR12/external
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_DB_NAME=external
HS_DB_DOMAIN=ITS.DOT.STATE.CO.US
LISTENER.ORA
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=PLSExtProc)
(ORACLE_HOME=D:\product\11.2.0\tg_1)
(PROGRAM=extproc)
(SID_DESC =
(SID_NAME=dg4msql)
(ORACLE_HOME=D:\product\11.2.0\tg_1)
(PROGRAM=dg4msql)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = CTMCSQL2012.dot.state.co.us)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER = D:\product\11.2.0\tg_1
TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
dg4msql.its.dot.state.co.us =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=ctmcsql2012.dot.state.co.us)(PORT=1521))
(CONNECT_DATA=
(SID=dg4msql))
(HS=OK)
lsnrctl status output:
PS D:\product\11.2.0\tg_1\bin> lsnrctl status LISTENER
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 23-APR-2015 14:26:54
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CTMCSQL2012.dot.state.co.us)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 21-APR-2015 16:00:11
Uptime 1 days 22 hr. 26 min. 42 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\product\11.2.0\tg_1\network\admin\listener.ora
Listener Log File d:\product\11.2.0\tg_1\diag\tnslsnr\CTMCSQL2012\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CTMCSQL2012.dot.state.co.us)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I copied TNS entry to the database TNSNAMES.ora and created a DB link and get error:
CREATE DATABASE LINK "EXTERNAL.ITS.DOT.STATE.CO.US@CODOT"
CONNECT TO "CoDOT"
IDENTIFIED BY <PWD>
USING 'dg4msql.its.dot.state.co.us';
Link : "EXTERNAL.ITS.DOT.STATE.CO.US@CODOT"
Error : 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 EXTERNAL@CODOTCheck if this helps you - https://community.oracle.com/thread/466786
Pradeep -
ORA-28545: error diagnosed by Net8 for DG4ODBC for link with SQL Server
Database: 11.2.0 Windows 32-bit (on WindowsXP SP3)
ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
odbc : sqlserver (working... i can import table's data in MS Excel) its ok...
D:\Oracle\Product\11.2.0\dbhome\hs\admin\initsqlserver.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = sqlserver
HS_FDS_TRACE_LEVEL = 0
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\listener.ora
# listener.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\Oracle\Product\11.2.0\dbhome\bin\oraclr11.dll")
(SID_DESC=
(SID_NAME=sqlserver)
(ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
(PROGRAM = dg4odbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
ADR_BASE_LISTENER = D:\Oracle\Product\11.2.0\dbhome
Listener Status
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.20.0.32)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 30-SEP-2011 11:13:53
Uptime 0 days 0 hr. 0 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\Oracle\Product\11.2.0\dbhome\network\admin\listener
.ora
Listener Log File d:\oracle\product\11.2.0\dbhome\diag\tnslsnr\stylo-dba
\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Service "sqlserver" has 1 instance(s).
Instance "sqlserver", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\tnsnames.ora
# tnsnames.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
sqlserver =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521))
(CONNECT_DATA =
(SID=sqlserver))
(HS = OK)
TNS PING Restult
C:\Documents and Settings\Administrator>tnsping sqlserver
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-SEP-2
011 11:15:47
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\Oracle\Product\11.2.0\dbhome\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PO
RT=1521)) (CONNECT_DATA = (SID=sqlserver)) (HS = OK))
OK (50 msec)
C:\Documents and Settings\Administrator>
Database Link
create database link sqlserver connect to uoracle identified by uoracle using 'sqlserver';
SQL>
SQL> select from sysobjects@sqlserver*
ERROR:
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 DG4ODBC
SQL>
Waiting for help. What thing im missing.....Hi Naeem,
You have said the install setup is -
ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
but in the listener.ora you have set ORACLE_HOME for the gateway as -
(ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
To use DG4ODBC installed in the 'tg' ORACLE_HOME then you should configure a listener in the gateway OH -
D:\Oracle\Product\11.2.0\tg\network\admin
and start this listener. This listener will need to use a different port from the RDBMS listener in the other OH.
Change the gateway tnsnames.ora entry used by the RDBMS to reflect this port change.
One other point - SQL*Server is case sensitive so you may need to create the database link as -
create database link sqlserver connect to "uoracle" identified by "uoracle" using 'sqlserver';
if the user/password are defined in lower case in SQL*Server.
Also, the same for object names depending on the SQL*Server configuration -
select "column_name" from "owner"."table_name"@sqlserver ;
Regards,
Mike
Edited by: mkirtley on Sep 30, 2011 8:12 AM -
Ora-28545 : Net8 problem :::Plz Help me :)
Hi to all,
I try to setup HSODBC (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit on Linux) to MySQL on Linux.
fo this I correctly setup :
1- Setting up Grant Tables in MySQL
2- Setting up ODBC Driver Manager for Linux
3-Setting up MySQL ODBC Driver for Linux
4- Configure Environment Variables for the oracle User ID
5-Testing the MySQL ODBC Driver and it works
then I configure these files below :
1-Oracle TNS listener
2- tnsnames.ora file
3- init<SID>.ora of the HS subsystem (the HS Gateway)
After doing these changes I restart the listener and tnsping command works fine and returns OK.
After I create a public database link using the hs connection added in tnsnames.ora file and then when I execute a query on this DBlink i get this error :
ora-28545 : error diagnosed by Net8 when connecting to an agent
Unadble to retrive text of NETWORK/NCR message 65535
ORA-02063 : proceding 2 lines from TESTDB
any idea please?
thans a lotHello,
thanks for your replay;
* yum install unixODBC.x86_64
* yum install MyODBC.x86_64
* vim /etc/odbc.ini :
======================
[offer_client]
Trace = Off
TraceFile= stderr
Driver = /usr/lib64/libmyodbc.so
DSN = offer_client
SERVER = x04.d15.lan
USER = root
PASSWORD = AdkunsOot
PORT = 3306
#OPTIONS = 1
#DATABASE= test
#SOCKET = /tmp/mysql.sock
[oracle@devxen03 bin]$ echo $ORACLE_HOME
/u01/app/oracle/oracle/product/10.2.0/devxen03
[oracle@devxen03 bin]$ ll $ORACLE_HOME/bin/hsodbc
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 /u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc
[oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
(PROGRAM = extproc)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
(SID_NAME = offer_client)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = devxen03.es.egwn.lan)(PORT = 1521))
[oracle@devxen03 bin]$
[oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/tnsnames.ora
HSODBC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = devxen03.es.egwn.lan)
(PORT = 1521)
(CONNECT_DATA =
(SID= offer_client)
(HS=OK)
[oracle@devxen03 bin]$
[oracle@devxen03 bin]$ echo $LD_LIBRARY_PATH
/u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32
[oracle@devxen03 bin]$
[oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/hs/admin/initoffer_client.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = offer_client
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc.so
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
[oracle@devxen03 bin]$
CREATE PUBLIC DATABASE LINK testdb CONNECT TO "root" IDENTIFIED BY "AdkunsOot" USING 'HSODBC';
SELECT * FROM "EMP"@"testdb.es.egwn.lan"
here I get the error : ora-28545
Edited by: OracleJavaLinux on Dec 2, 2009 3:45 PM
Edited by: OracleJavaLinux on Dec 2, 2009 3:47 PM
Maybe you are looking for
-
Just got 4 new iPads, Do I need separate Apple IDs for each one?
Right now I have 3 iPods and 2 iPhones connected to my PC using 1 Apple ID. Question: I just purchased 4 new iPads. One of the iPads is for me and the 3 others are for my children. Should I setup the 4 new iPads under my existing Apple ID or should s
-
Our company deals with audio/video media provided by content providers and per MPAA guidelines we need our macs configured where no media content can be copied/transferred out of Macs via External Drives, Wireless, Bluetooth etc. I was able to config
-
How do I set redirect to a specific target
response.setStatus(301); response.setHeader("Location", "http://www.google.com"); response.setHeader("Connection", "close");is the code I use to set a redirection from my jsp page. This page resides in an iframe in the main page and I would like to s
-
Zen microphoto : firmware erased, not connected now
I decided to flash new firmware to my microphoto. This was the biggest mistake. I have entered into recovery menu.Select load firmware and bang ! It erased it immediately, no confirmation no choice..Just erased it without asking. This is awful ! So,
-
Where can I download Photoshop and Premiere Elements 12?
I just purchased Photoshop and premiere elements 12, order number AD010421682 and the download process was confusing and I couldn't start it. I operate windows 7 64 bit. Please contact me and help. Brian McAdam <Removed by Moderator>