HSODBC on 8i

Hello
HSODBC is supported on 8.1.7?
Thank you

Yes, HS or generic connectivity is supported on 8.1.7 Enterprise edition

See the following metalink notes if you try to configure the feature:

The heterogeneous services how to set up generic connectivity 245549.1

Also note 115992.1 generic connectivity: ODBC for MS
#115098.1 quick start guide: UNIX - generic connectivity using ODBC

HTH - Mark D Powell.

Tags: Database

Similar Questions

  • hsodbc freetds unixodbc 10g mssql

    Good afternoon.

    I do not understand how to solve the problem with a connection to mssql.

    Listener.log

    __________________________________

    February 2, 2015 22:26:03 * (CONNECT_DATA = (SID = SQLDB) (CID = (PROGRAM =) (HOST = domain\mashine)(USER=user_name))) * (ADDRESS = (PROTOCOL = tcp (PORT = 33357))(HOST=127.0.0.1)) * establish * SQLDB * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12547: TNS: lost contact

    AMT-12560: TNS:protocol adapter error

    AMT-00517: lost contact

    Linux error: 32: Broken pipe

    February 2, 2015 22:26:21 * (CONNECT_DATA = (SID = SQLDB) (CID = (PROGRAM =) (HOST = CentOS)(USER=oracle))) * (ADDRESS = (PROTOCOL = tcp (PORT = 33360))(HOST=127.0.0.1)) * establish * SQLDB * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12547: TNS: lost contact

    AMT-12560: TNS:protocol adapter error

    AMT-00517: lost contact

    Linux error: 32: Broken pipe

    February 2, 2015 22:26:37 * (CONNECT_DATA = (SID = SQLDB) (CID = (PROGRAM =) (HOST = CentOS)(USER=oracle))) * (ADDRESS = (PROTOCOL = tcp (PORT = 33363))(HOST=127.0.0.1)) * establish * SQLDB * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12547: TNS: lost contact

    AMT-12560: TNS:protocol adapter error

    AMT-00517: lost contact

    Linux error: 32: Broken pipe

    __________________________________


    ________________________________________

    $ tsql - LH kr16

    ServerName KR16

    InstanceName MSSQLSERVER

    IsClustered No.

    Version 8.00.194

    TCP 1433

    NP \\KR16\pipe\sql\query

    __________________________________________

    tnsping $ SQLDB

    AMT Ping utility for Linux: release 10.2.0.4.0 - Production on February 2, 2015 21:59:19

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

    Use settings files:

    /U01/app/Oracle/product/10.2.0/Db_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521)) (CONNECT_DATA = (SID = SQLDB)) (HS = OK))

    OK (0 msec)

    __________________________________________

    $ isql - v SQLDB user pass

    +---------------------------------------+

    | Connected!                            |

    |                                       |

    | SQL query |

    | help [tablename] |

    | quit                                  |

    |                                       |

    +---------------------------------------+

    SQL >

    __________________________________________


    tnsnames.ora

    TNSNAME =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = CentOS)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SID = disputes)

    )

    )

    SQLDB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = tcp)(HOST=CentOS) (PORT = 1521))

    (CONNECT_DATA = (SID = SQLDB))

    (HS = OK)

    )

    __________________________________________

    Listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (= Extproc PROGRAM)

    )

    (SID_DESC =

    (SID_NAME = disputes)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    )

    (SID_DESC =

    (SID_NAME =SQLDB)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (ENVS = LD_LIBRARY_PATH = / usr/lib: / usr/local/lib: $ORACLE_HOME/lib)

    (PROGRAM = hsodbc)

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))

    (ADDRESS = (PROTOCOL = TCP) (HOST = CentOS)(PORT = 1521))

    )

    )

    __________________________________________


    initSQLDB.ora

    HS_FDS_CONNECT_INFO = SQLDB

    HS_FDS_TRACE_LEVEL = debug

    HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so

    Set ODBCINI=/etc/odbc.ini

    ___________________________________________

    /etc/ODBC.ini

    [SQLDB]

    Description = SQLDSN CONNECTION

    Driver = /usr/local/lib/libtdsodbc.so

    #Servername = SQLSERVERADDRESS

    Server = 10.9.3.21

    Port = 1433

    TDS_Version = 8.0

    Database = DSFT

    ___________________________________________

    Service "SQLDB" has 1 instance (s).

    Instance "SQLDB', status UNKNOWN, has 1 operation for this service...

    ___________________________________________

    SQL > CREATE DATABASE LINK testtest USING "sqldb.

    Database link created.

    SQL > SELECT * FROM information_schema.tables@testtest;

    SELECT * from information_schema.tables@testtest

    *

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines TESTTEST

    ___________________________________________

    SQL > create database link dblink2 connect to 'MSSQL_USER' identified by 'MSSQL_PASS' using 'SQLDB.

    Database link created.

    SQL > SELECT * FROM information_schema.tables@dblink2;

    SELECT * from information_schema.tables@dblink2

    *

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of DBLINK2

    Hello

    HSODBC executable must be installed as part of the RDBMS.  However, if you're on Linux 64-bit then HSODBC has never been available on this platform, only 32-bit Linux.

    If you are 64-bit Linux so the only alternative is DG4ODBC.  This is included in your RDBMS license, even if you have only 10.2 RDBMS then Yes, it's free - you need to provide a driver ODBC 64-bit on 64-bit platforms.
    If you are 64-bit Linux take a look at this note on My Oracle Support-

    How to set up DG4ODBC on 64 bit OS Unix (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install (Doc ID 561033.1)

    Kind regards

    Mike

  • Where is hsodbc.exe on 10g 64 bit!

    Where is hsodbc.exe on 10g 64 bit!

    DB: Oracle 10g release 2

    OS: Windows server 64-bit

    Hello

    HSODBC has never been available on Windows 64-bit platforms.  In any case, HSODBC was desupported since 2008.
    The alternative is to use the 11g database for ODBC (DG4ODBC) bridge that must be installed in a completely separate ORACLE_HOME for the installation of 10.2 and then access it from the RDBMS 10.2 using the links in the database.

    If you have access to My Oracle Support, take a look at this note-

    How to set up DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems to connect to Oracle databases Post Install (Doc ID 1266572.1)

    For 64-bit Windows, the latest version is available from My Oracle Support - 11.2.0.4

    -Connect to My Oracle Support

    -Click on "patches and updates".

    -search for patch number 13390677

    -You may need to press the '+' to see the list of platform

    -Scroll down and click on Windows 64-bit

    -on the next screen, click on the option 'download '.

    -the list of download files to choose-

    p13390677_112040_platform_5of7.zip

    -C' is the Gateway media pack and has everything necessary for a stand-alone gateway installation.

    -Unzip the file and run the Setup program and choose the gateway that you want.

    11.2 gateways are certified 10.2.0.4 and 10.2.0.5 RDBMS.

    Kind regards

    Mike

  • nvarchar fields do not come with hsodbc connection under linux

    Hi all

    I want to access the database of MS SQL server oracle database using hsodbc connection under linux.

    I followed following steps to reach higher.

    1. sql server installed easysoft odbc driver
    2 configured odbc.ini with information on sql server.
    3. create initSQLSERVER.ora and placed under < host ora >/hs/admin
    4 created earpiece and tns name
    5 created db link

    I am able to query MS SQl, oracle, but any column defined as nvarchar or ntext server tables are not displayed.

    Everyone has this problem and have the solution?

    Note: I did the same configuration in windows, but works well.

    Thank you

    Mani,
    I think you have misunderstood my last update.
    Patch 5965763 is not a patch to install DG4ODBC in the RDBMS 10.2. It's only a patch that allows to 10.2.0.3, 10.2.0.4 (including 5965763) or + 5965763 to use the gateways of 11 g that are installed in separate directories of ORACLE_HOME.
    You can not just change the program in a listener of 10,2-dg4odbc.
    Have you installed the software DG4ODBC in another new ORACLE_HOME of the 10.2 install?
    If so, you should start the listener of this ORACLE_HOME and not the ORACLE_HOME 10.2 DG4ODBC.
    If you have access to My ORacle Support, take a look at these notes-

    Note.466228.1 how DG4ODBC Setup on Linux x 86 32 bit
    Note.561033.1 how to Setup DG4ODBC on 64 bit OS Unix (Linux, Solaris, AIX, HP - UX)
    Note.466225.1 How to Setup DG4ODBC (database gateway for ODBC Oracle) on 32-bit Windows

    Kind regards
    Mike

  • Help me trooubleshoot hsodbc with SQL Server

    Hello

    I need ideas on how I can find the problem I have with the implementation of a generic connectivity to SQL Server
    via a database link and heterogeneous services.

    Oracle version is 10.2.0.1.0 on Windows Server 2003

    I have create a DSN SYSTEM for SQL Server 2000.
    The DSN tests "with success."

    I used a third party (Assistant SQL) query tool to query the db to SQL Server by using the DSN and it works very well.

    I added this to the tnsnames.ora file

    myConn =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myoracleserv) (PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = myconn))
    (HS = OK)
    )

    I added this to the listerner.ora file:
    (by virtue of the "SID_LIST_LISTENER =" part)

    ...
    (SID_DESC =
    (SID_NAME = myconn)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    )
    ...

    I created a file named initmyconn.ora under/hs/admin.
    with this in it:

    HS_FDS_CONNECT_INFO = myconn
    HS_FDS_TRACE_LEVEL = odbc

    Next, I created the database link

    create the database link myconn
    connect to myuser
    identified by mypass
    using "myconn";

    When I run a simple query, I get

    ORA-28545 error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines MYCONN

    TNSPING works fine.
    I have the newspaper in hs/trace /.

    I installed successfully 3 other HS in SQL Server on the same computer connections, they all work.

    Any help to solve this?

    Thank you

    28545 error is a configuration error in the SQL * Net layer - executable HSODBC is not begotten and so you do not get a tracking log file / of hsodbc.

    Analysis the question, please provide the status of the listener (lsnrctl status).

  • HSODBC on Windows 64

    Hello

    I have a database instance Oracle 11 GR 1 material on a Server «Windows 2003 SP2 64 bit»
    Now my client wants to connect to the Oracle instance directly to MS SQLServer database and call a stored procedure.

    In the MetaLink notes 109730.1 it is described how to install HSODBC for 32-bit Windows and more it I read that "HSODBC is NOT worn to the 64-bit Windows platforms still".

    Does anyone have an idea how to do a work around?

    Thanks in advance.

    Best regards
    Martin

    This thread/s could be useful for you.
    ORA-28545 on a windows 64-bit bit vs Ingres 32 Oracle 10.2.0.4

  • hsodbc oracle 10.2.0.4 under hp - ux - 11.31 ia64 configuration

    Hi all
    I'm trying to configure hsodbc on oracle 10.2.0.4. The platform is HP - UX - 11.31 ia64. After the installation has been completed the hsdobc executable was size zero. I tried to connect with the command 'make-f ins_rdbms.mk ihsodbc' and I have the following:

    $ make-f ins_rdbms.mk ihsodbc
    -Hsodbc liaison officer
    ……………………………………………………….
    LD: can't find library or ABI do not match for lnavhoa-
    Fatal error.
    Error code 1

    $ make-f ins_rdbms.mk.32 ihsodbc32
    -Hsodbc liaison officer
    ……………………
    LD: type of bad machine: 3 in file...
    [hoaapi.o]
    Fatal error.
    Error code 1

    The "libnavhoa.a" is placed in $(ORACLE_HOME) / lib32 and it is the reference in $(ORACLE_HOME) / lib folder.

    All library environmental variables have the following values:

    LD_LIBRARY_PATH = $ORACLE_HOME/lib: $ORACLE_HOME/rdbms/lib: $ORACLE_HOME/network/lib
    SHLIB_PATH = $ORACLE_HOME/lib32: $ORACLE_HOME/rdbms/lib32: $ORACLE_HOME/network/lib32

    Does anyone have ideas, what's not here? I would like to know if it is possible to use hsdobc on oracle 10.2.0.4 under hp - ux ia64.
    Thanks in advance for your answers

    HSODBC was never focused on Itanium.

    DG4ODBC V11 follow-up product was the first generic connectivity based on ODBC that has been ported to the Itanium platform. This version V11 is also certified with the older (as in your case 10.2.0.4) versions of Oracle database.

    DG4ODBC is a 64-bit on 64-bit platfomrs product and therefore, you also need a 64-bit ODBC driver and the ODBC driver manager.
    The software is available through delivery: http://edelivery.oracle.com, and grouped in the Oracle database software. Just look in the CD packaging and look for GATEWAY.

    Install the gateway 11g software in its own, separate Oracle_Home and choode database for ODBC as a gateway.

  • connection mysql and oracle ORA-28545: error diagnosed by Net8 when connecting to an agent

    Hi all

    I have Oracle 10.2.0.5 server and MySQL 5.3 on windows environment. all are 64-bit.

    I want to connect to MySQL. I do the following

    Configure Listner.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (= Extproc PROGRAM)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (SID_NAME = ORCL)

    )

    (SID_DESC =

    (SID_NAME = mysql)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (PROGRAM = HSODBC)

    (ENVS = LD_LIBRARY_PATH = C:\oracle\product\10.2.0\db_2\LIB)

    )

    )

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))

    )

    Tnsnames.ora configuration

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )
    MySQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= 10.153.103.5) (PORT = 1521))
    (CONNECT_DATA =
    (SID = mysql)
    )
    (HS = OK)
    )

    create file initodbc.ora in the folder hs

    HS_FDS_CONNECT_INFO = mysql

    HS_FDS_TRACE_LEVEL = OFF

    Restart the listner

    tnsping

    C:\users\administrator > tnsping mysql

    AMT Ping Utility for 64-bit Windows: Version 10.2.0.5.0 - Production 08-NOV-2
    015 13:02:52

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

    Use settings files:
    C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.153.103.5)
    (PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS=OK))
    OK (0 msec)

    Create the connection odbc for Unicode

    the test is successful

    now, I create the dblink

    create public mysql database link to connect to cssDBTeam identified by oracle using "mysql";

    then try to select from a table inside the MySQL database

    SQL > select * from appeal@mysql;

    Select * from appeal@mysql

    *

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of MYSQL

    How could I solve this problem?

    Thank you.

    Hello

    I realize that your problem is that 10.2 HSODBC was never focused on the Windows 64-bit platform and was only available on 32-bit Windows.  You can not install the 32-bit on WIndows 64-bit HSODBC.

    Your only option is to install 11.2 DG4ODBC on your platform Windows 64 - bit, or if you have a RDBMS 10.2 installed on another platform, then you could use HSODBC as part of this installation and connect from the RDBMS on Windows 64 - bit using the links in the database.  HSODBC 10.2 software could not be installed as a stand-alone product and was only available as part of an RDBMS install.

    Kind regards

    Mike

  • .Mdb MS Access using ODBC connection failed to resolve ORA-12154 connection identifier

    Dear all,

    I am using the MS Access file .mdb as the source of my request for OWB. I need to connect to the ms access .mdb file first using odbc. This is the step that I do:

    1. define the ODBC connectifity

    Control Panel-> admin tools-> data-> system-> add DSN sources

    Select Microsoft Access Driver (*.mdb)-> Finish

    Data source name: msaccess-> database: Select-> location of the file .mdb (C:\MSAccess\att2000.. (MDB)

    2 configure the listener

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    (SID_DESC =

    (SID_NAME = msaccess

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (PROGRAM = hsodbc)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    (SID_DESC =

    (SID_NAME = msaccess

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (PROGRAM = hsodbc)

    )

    )

    ADR_BASE_LISTENER = C:\app\Administrator

    3 Configure Oracle HS

    File name Initmsaccess.ora

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = msaccess

    HS_FDS_TRACE_LEVEL = 1

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    4 edit tnsnames.ora

    Msaccess =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SID = msaccess)

    (SERVICE_NAME = msaccess)

    )

    (HS = OK)

    )

    5. create the database link

    create the link msaccess database using "msaccess";

    6 execute a query to test the connection

    SQL > select * from departments@msaccess;

    ERROR on line 1:

    ORA-12154: TNS: could not resolve the connect identifier specified

    I check the AMT using msaccess tnsping, it returns

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos)

    (t) (PORT = 1521)) (CONNECT_DATA = (SID = msaccess) (SERVICE_NAME = msaccess)) (HS = OK)( )

    OK (120 MS)

    Any body knows how to solve this problem?

    Best regards

    Akhmad H Gumas

    Akhmad,

    just to confirm that I understood:

    You have an Oracle database and the bridge installed on your machine. The database and the bridge are all part of this Oracle_Home: C:\app\Administrator\product\11.2.0\dbhome_1

    Fix?

    When you look at your listener.ora file it lack a right bracket:

    (SID_NAME = msaccess

    => should be (SID_NAME = msaccess)

    Once done, please STOP and START the listener.

    Then open a command line window and type:

    Set ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhome_1

    Status of C:\app\Administrator\product\11.2.0\dbhome_1\bin\lsnrctl

    C:\app\Administrator\product\11.2.0\dbhome_1\bin\dg4odbc

    C:\app\Administrator\product\11.2.0\dbhome_1\bin\tnsping msaccess

    And copy and paste the output of each command.

    -Klaus

  • Problems connecting to the database msaccess 32 bit on 64 bit 11G

    Here's the question:

    I have a database to 9i (32-bit windows) with a connection hsodbc to an old one to an Access database so once the schema can see and copy data from an access database has said, everything works fine.

    I'm about to move the 64 bit 11.2.0.3 on windows 2008 server 64-bit database, database is migrated and tested ok.

    The problem comes from the connection dg4odbc, I created the AS400 database connections and they are ok, but I set up an ODBC for the access database, using the 32-bit ODBC interface as MS recommends, but I always get this error message:

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Microsoft] [ODBC driver manager] The specified DSN contains an architecture

    incompatibility between the driver and the Application {IM014}

    ORA-02063: preceding 2 lines of RADERDB

    According to MS technet, it is do not use the c:\Windows\SysWOW64\odbcad32.exe to set up the ODBC connection, but I used only executable, when I use the ordinary 64-bit ODBC admin I can't even see msaccess drivers first.

    The funny thing is, when I point the tnsnames.ora on the old server 9i entry, it uses the ODBC connection and then the dblink 11G and then works fine. However, it is a band-aid solution and I want to get everything works from the new production database server.

    Any suggestions?

    Thanks in advance...

    The message means you are using a 32-bit with a 64-bit program ODBC driver. It does not work. If you want to connect with the 64-bit DG4ODBC, you must use a 64-bit ODBC driver. A package is available on the Microsoft Technet site (AccessDatabaseEngine_x64 - http://www.microsoft.com/en-gb/download/details.aspx?id=13255 ) that ships the drivers ODBC 64-bit for their Excel/Access programs.

    Please note that product installation gateway 32-bit on Windows 64-bit is NOT supported.

    -Klaus

  • 11g Enterprise Edition Release 11.2.0.1.0 to Microsoft SQL Server 2008 R2 (RTM)


    Good day to all,

    I think that I followed all the correct steps to establish connectivity, still nothing does not. Before launching the "bang-head-against_wall" sequence, I'm reaching for assistance.

    I appreciate all orientations.

    Here are the details:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 32-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X 64)
    April 2, 2010 15:48:46
    Copyright (c) Microsoft Corporation

    Standard Edition (64-bit) on Windows NT 6.1 < X 64 >
    (Build 7601: Service Pack 1)
    (Hypervisor)

    Microsoft SQL Server ODBC Driver Version 06.01.7601

    Data Source name: GMEXCH
    Description of Data Source: GMEXCH
    Server: INFWDCSWNSERD01v
    Database: March
    Language: (default)
    Translate character data: Yes
    Log long-running queries: No.
    Log driver statistics: No.
    Use locale: No.
    Prepared statements option: drop temporary procedures on disconnect
    Use the failover server: No.
    Use ANSI quoted identifiers: Yes
    Use ANSI Null, fillings and warnings: Yes
    Data encryption: No.

    Microsoft SQL Server ODBC Driver Version 06.01.7601

    Running connectivity tests...

    Connection attempt
    Connection established
    Checking the option settings
    Disconnecting from the server

    TESTS COMPLETED SUCCESSFULLY!

    initGMEXCH.ora
    HS_FDS_CONNECT_INFO = GMEXCH
    HS_FDS_TRACE_LEVEL = 0
    HS_AUTOREGISTER = TRUE


    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = GMSERV)
    (ORACLE_HOME=C:\app\LOGIX\product\11.2.0\dbhome_1)
    (PROGRAM = hsodbc)
    )
    )

    tnsnames.ora
    GMOTD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (Address = (PROTOCOL = TCP)
    (HOST = 10.94.34.124)
    (PORT = 1521)))
    (CONNECT_DATA = (SID = GMSERV))
    (HS = OK)
    )

    SQLNET.ora
    SQLNET. AUTHENTICATION_SERVICES = (NONE)

    LSNRCTL > status
    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
    ction
    Start date February 10, 2014 15:40:01
    Uptime 0 days 0 h 18 min 39 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\app\LOGIX\product\11.2.0\dbhome_1\network\admin\lis
    Tener.ora
    C:\app\logix\diag\tnslsnr\WVHUNTID0017\listener\alert\ log listener
    log. XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=WVHUNTID0017) (PORT = 1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=WVHUNTID0017) (PORT = 8080)) (picked
    (on = http)(session=RAW))
    Summary of services...
    Service 'GMSERV' has 1 instance (s).
    Instance of 'GMSERV', status UNKNOWN, has 1 operation for this service...
    Service 'LOGIXFTRXDB' has 1 instance (s).
    'Logixftr' instance, State LOAN, has 1 operation for this service...
    Service 'logixftr' has 1 instance (s).
    'Logixftr' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    C:\Windows\System32 > tnsping GMOTD

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    014 15:48:25

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

    Use settings files:
    C:\app\LOGIX\product\11.2.0\dbhome_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (Address = (PROTOCOL = TCP) (HOST
    = 10.94.34.124) (PORT = 1521))) (CONNECT_DATA = (SID = GMSERV)) (HS = OK))
    OK (20 ms)

    SQL > show parameter global_names;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- -------
    global_names boolean FALSE


    SQL > create database GM link to connect to "agaf_dhdhd", identified by
    2 'xhxhxhxh!' using 'GMOTD ';

    Database link created.


    SQL > select * from wirecenters_web@GM;
    Select * from wirecenters_web@GM
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of GM

    The executable in the listener is called dg4odbc not hsodbc when you use 11.2. Please change: (PROGRAM = hsodbc) (program = dg4odbc). Then stop and restart the listener

    -Klaus

  • ORACLE to POSTGRES db link does not

    cat /home/oracle/temp/psqlodbc-09.02.0100/test/odbc.ini

    [postgresql]

    Description = psqlodbc DSN regression test

    Driver = /home/oracle/temp/psqlodbc-09.02.0100/.libs/psqlodbcw.so

    Trace = Yes

    Trace file = /home/oracle/tmp/sql.log

    Database = postgresdb

    ServerName = postgresdev.office.corp

    Username = postgres

    Password = *.

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTable = No

    ShowOidColumn = No

    FakeOidIndex = No

    ConnSettings =

    cat /home/oracle/temp/psqlodbc-09.02.0100/test/odbcinst.ini

    [psqlodbc]

    Description = driver ODBC PostgreSQL (Unicode version), for regression tests

    Driver =... /.libs/psqlodbcw.so

    Debug = 0

    CommLog = 1

    Cat /oracle/database/11.2.0.3/hs/admin/initdg4odbc.ora

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = postgresql

    HS_FDS_TRACE_LEVEL = off

    HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so

    #

    # ODBC specific environment variables

    #

    Set ODBCINI=/home/oracle/temp/psqlodbc-09.02.0100/test/odbc.ini

    Set odbcinst=/home/oracle/temp/psqlodbc-09.02.0100/test/odbcinst.ini

    Cat /oracle/database/11.2.0.3/network/admin/listener.ora

    LISTENER_POSTGRES =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST = scfsdb.office.corp))

    )

    )

    SID_LIST_LISTENER_POSTGRES =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = postgresql)

    (ORACLE_HOME = oracle/database/11.2.0.3)

    (PROGRAM = hsodbc)

    (ENVS = "LD_LIBRARY_PATH=/oracle/database/11.2.0.3/lib:/oracle/database/11.2.0.3/hs/lib:/usr/lib")

    )

    (SID_DESC =

    (SID_NAME = postgresql)

    (ORACLE_HOME = oracle/database/11.2.0.3)

    (PROGRAM = hsodbc)

    )

    )

    #ADR_BASE_LISTENER_POSTGRES = / oracle/database

    LOGGING_LISTENER_POSTGRES = OFF

    Cat /oracle/database/11.2.0.3/network/admin/tnsnames.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST = xxx.xx.x.xx))

    (CONNECT_DATA =

    (SID = postgresql)

    )(HS = OK)

    )

    This does not work, pourriez please let me know where I should make the change. Thank you very much for your help in advance... !!! Guru, please answer on that.

    Depending on your configuration the Manager unixODBC library has been installed in lib64 - see the location of the file libodbc.so. I guess you used a package to install the driver manager to verify the details of the package where it could have placed all other required files libs/source.

  • Urgent: db link from oracle 10g to sql server 2000

    Hello

    I have an oracle 10g db connection to sql server 2000. It was created a couple of years. This works.

    I have now created another link db of the same oracle on the same sql server server but it does not work.

    But I'm getting ORA-28500 and error IM002

    . Please notify.

    I can't understand what is wrong as I followed the hs odbc set up on this link db in the same way as I did 2 years ago.

    Thank you

    Shailaja

    Just sort the problem.

    Basically, I use HSODBC to connect to SQL Server from Oracle (on windows 2003 64-bit).

    To do this, I need to create a connection ODBC from Oracle to SQL Server.

    HSODBC is a 32-bit application and is why we use the ODBC 32-bit driver when we create the ODBC connection.

    When I created the connection ODBC from Oracle to SQL Server, I used the ODBC 64-bit driver and that's why the system could not find the name of the data source.

    I have now created connection ODBC from Oracle to SQL Server via the ODBC 32-bit driver and everything works fine now.

    No offense to anyone, but as you all works using Oracle software, I was hoping a better answer than some of the answers above. You can say that you did not understand the question or you do not know the reason why it happened.

    I have just listed how the problem was fixed so that in the future one having the same problem can benefit.

  • Need help setting up DB Link from my Oracle 11 g XE to SQL Server.

    Hello

    I am trying to create a link to DB from my Oracle 11 g Express Edition on a Windows XP computer to a SQL Server. Here are the steps I've done so far.

    1. creating and setting up a connection to the DB SQL Server ODBC. Baptized SQLSERVER. Authenticated by Windows.
    2. updated the listener.ora. See below.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (SID_NAME = SQLSERVER)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = hsodbc) 
        ) 
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        )
      )
    
    DEFAULT_SERVICE_LISTENER = (XE)
    3. updated the tnsnames.ora. See below.
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    
    ORACLR_CONNECTION_DATA = 
      (DESCRIPTION = 
        (ADDRESS_LIST = 
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) 
        ) 
        (CONNECT_DATA = 
          (SID = CLRExtProc) 
          (PRESENTATION = RO) 
        ) 
      ) 
    
    SQLSERVER = 
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT=1521))
        )
        (CONNECT_DATA =
          (SID = SQLSERVER)
        ) 
      (HS = OK)
    )
    4. copy C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initdg4odbc.ora to C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initSQLSERVER.ora and has changed. See below.
    # 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 = off
    
    
    #
    # Environment variables required for the non-Oracle system
    #
    #set <envvar>=<value>
    5 restarted listener.
    C:\>lsnrctl stop
    
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :51
    
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    
    C:\>lsnrctl start
    
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :54
    
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    
    Starting tnslsnr: please wait...
    
    TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ad
    min\listener.ora
    Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\list
    ener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
    )))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date                18-SEP-2012 11:33:57
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\li
    stener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521
    )))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", 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
    6. link of database created by using the following command.
    create database link sqlserver using 'SQLSERVER';
    7. test using
    select * from "dbo.mytable"@sqlserver;
    
    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
    
    select * from dbo.mytable@sqlserver;
    
    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
    
    select * from mytable@sqlserver;
    
    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
    I followed the steps in this link but do not know where I was wrong. Someone can help me.

    http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm

    Thank you
    Allen

    HS messages should go here: heterogeneous connectivity

    No problem with this type of installation.

    A glitch in your specific configuration

    >

    (SID_NAME = SQLSERVER)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = hsodbc)

    11 g, the executable file is dg4odbc.exe, so you have read PROGRAM = dg4odbc. (I could reproduce the error with wrong program setting).

  • Teradata Heteregeneous connectivity

    Hello

    I am trying to establish a connection to teradata using oracle HS. I'm running on rhel 5 with DB Oracle 10 g 2.

    I think I did the steps correctly but can't do a query for Teradata:

    I get the following error:

    ORA-28500: connection between ORACLE and a non-Oracle system returned this messa
    [Generic connectivity using ODBC] [H006] The init parameter
    < HS_FDS_SHAREABLE_NAME > is not defined. Please, set it in init < orasid > .ora file.
    ORA-02063: preceding 2 lines of TERA

    Here are the details that seems worth mentioning here:

    TNSNAMES

    TERA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.111.121.39)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = Tera)
    (SID = Tera)
    )
    (HS = OK)
    )

    EARPHONE

    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = app/oracle/product/10.2.0/db_1)
    (= Extproc PROGRAM)
    )

    (SID_DESC =
    (SID_NAME = Tera)
    (ORACLE_HOME = app/oracle/product/10.2.0/db_1)
    (PROGRAM = hsodbc)
    (ENVS = LD_LIBRARY_PATH = / opt/teradata/customer/ODBC_32/lib)
    )
    )


    INITHSODBC. ORA (I think my problem is here)
    HS_FDS_CONNECT_INFO = Tera
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /opt/teradata/client/13.10/odbc_32/lib/libodbc.so

    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/home/oracle/.odbc.ini

    Can someone tell me where I configured it wrong. As I have seen many examples in my own research on the internet, the path to the libodbc.so to odbc that they use what they placed as parameter for the SHAREABLE_NAME.

    I would appreciate your help on this.

    -Tim

    the gateway init file depends on the SID that you use in the listener who begins the process of bridge.
    According to your listener, the SID is: (SID_NAME = Tera)
    If the gateway in your init file is called initTera.ora
    Please make sure the INITHSODBC. ORA file is renamed to initTera.ora

Maybe you are looking for

  • Is it smart to play games like World of Warcraft on a macbook pro 13'

    Hello I'm new to this forum, because I just bought a Macbook Pro 13' of 2015. I used to play games on a computer with windows laptop, but I bought a Macbook Pro for my work and study. I want to play games, but only if its not harmful for my Macbook.

  • T420 motherboard update for Nvidia

    Hello I have a Thinkpad T420 with only the graphics card Intel HD 3000 integrated. Is it possible to install the Nvidia graphics chip/card, or do I need a new motherboard. I found the following 2 on eBay, but they are completely different. http://www

  • Light, next to the stack of DVDs orange blink?

    I have a compaq 5700F desktop computer and the little light next to the pile of DVDs on the front flashes from time to time... does that mean? o.0...

  • Index of physical memory SNMP oid has changed after system reboot

    I asked for a hot - difficulty for windows 2003 server. Server must be restarted after you apply the hotfix to hot. After the reboot, I noticed this index of oid snmp for physical RAM increased from 17 to 16. is this normal behavior for snmp to chang

  • HP LaserJet Pro CM1410: HP LaserJet Pro CM1410 analysis but do not print

    I was printing and scanning of this printer for four years, but now my printer will scan only and don't print (Word or Notepad). I can print from an iPad. I tried the Scan doctor, but it cannot connect to the printer - a few minutes after I scanned a