10.2.0.4 to Informix with dg4odbc Oracle connection error

We have Oracle 10.2.0.4 in RHEL 4 (x86_64). We have installed Oracle Gateway (11.1.0.6.0) in an another ORACLE_HOME to connect to databases via ODBC.

We have successfully installed and configured an ODBC connection to the SQL Server through Oracle Gateway with UnixODBC + FreeTDS. The dblinks works very well.

We are now trying to set up another connection to a server, Informix (32-bit), but we get this error:

-----
SQL > select * from tabla1@test_informix;
Select * from tabla1@test_informix
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Informix] [Informix ODBC Driver] Driver is not capable.
ORA-02063: preceding 2 lines of TEST_INFORMIX
-----

However, we are able to connect with isql
-----
Oracle@host $ isql - v test_informix
---------------------------------------
| Connected!
| |
| SQL query |
| help [tablename] |
| quit smoking |
| |
---------------------------------------
SQL > select * from tabla1;
------------
| Cola |
------------
| 10.
| 11.
------------
SQLRowCount Returns-1
2 lines read

-----


We have set up the 3.50.FC4DE of the Informix CSDK for Linux with UnixODBC like this:

-----
odbcinst.ini
-----
[Informix]
Description = Informix ODBC Driver
Driver=/usr/share/Informix/lib/CLI/libifcli.so
APILevel = 1
ConnectFunctions = YYY
DriverODBCVer = 03.51
FileUsage = 0
SQLLevel = 1
smProcessPerConnect = Y
-----

-----
HS Oracle newspaper
-----
Oracle Corporation - Monday 10 August 2009 12:40:00.373


Heterogeneous Agent release
11.1.0.6.0




Oracle Corporation - Monday 10 August 2009 12:40:00.372

Version 11.1.0.6.0

Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '4 '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
layout HS_FDS_TRANSACTION_LOG or "HS_TRANSACTION_LOG".
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout by default «AL32UTF8» HS_NLS_NCHAR
parameter HS_FDS_TIMESTAMP_AS_DATE if there is no 'TRUE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HS_FDS_FETCH_ROWS layout without '100 '.
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. "gtw$: SQLStatistics.
Release of hgosdip, rc = 0
ORACLE_SID is 'test_informix '.
Product information:
Port RLS / Upd:6 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.1.0.6.0_0006, Instance: test_informix
Release of hgogprd, rc = 0
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 31
HOCXU_DRV_NCHAR = 873
HOCXU_DB_CSET = 31
HOCXU_SEM_VER = 102000
Entry hgolofn to 2009/08/10-12:40:00
HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/local/lib/libodbc.so '.
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLAllocHandle
symbol_peflctx = 0x9893b70d
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindCol
symbol_peflctx = 0x9893b873
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindParameter
symbol_peflctx = 0x9893c2e4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLCancel
symbol_peflctx = 0x9893dc84
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeParam
symbol_peflctx = 0x98948f10
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDisconnect
symbol_peflctx = 0x989495c8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLEndTran
symbol_peflctx = 0x9894c4d4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecute
symbol_peflctx = 0x9894e17c
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFetch
symbol_peflctx = 0x9894ed04
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeHandle
symbol_peflctx = 0x98950fc9
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeStmt
symbol_peflctx = 0x98950fec
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetData
symbol_peflctx = 0x989531dc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetEnvAttr
symbol_peflctx = 0x98956fa8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetFunctions
symbol_peflctx = 0x989573c4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLMoreResults
symbol_peflctx = 0x98959b28
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLNumResultCols
symbol_peflctx = 0x9895aad8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLParamData
symbol_peflctx = 0x9895aedc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPutData
symbol_peflctx = 0x9895d908
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLRowCount
symbol_peflctx = 0x9895de78
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetEnvAttr
symbol_peflctx = 0 x 98960458
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescRec
symbol_peflctx = 0 x 98960230
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColAttribute
symbol_peflctx = 0x9893e4ec
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColumns
symbol_peflctx = 0x989406e4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLConnect
symbol_peflctx = 0 x 98946014
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeCol
symbol_peflctx = 0x989484f0
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDriverConnect
symbol_peflctx = 0x9894a337
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecDirect
symbol_peflctx = 0x9894d9e2
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLForeignKeys
symbol_peflctx = 0x9894fbdc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetConnectAttr
symbol_peflctx = 0x989514ab
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagField
symbol_peflctx = 0x989557f3
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagRec
symbol_peflctx = 0x989566e5
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetInfo
symbol_peflctx = 0 x 98958083
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetStmtAttr
symbol_peflctx = 0x989583e3
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetTypeInfo
symbol_peflctx = 0 x 98959548
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrepare
symbol_peflctx = 0x9895b9c6
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrimaryKeys
symbol_peflctx = 0x9895c13e
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedureColumns
symbol_peflctx = 0x9895c938
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedures
symbol_peflctx = 0x9895d19a
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetConnectAttr
symbol_peflctx = 0x9895e1fc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetStmtAttr
symbol_peflctx = 0x989624a8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescField
symbol_peflctx = 0x9895fe5a
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLStatistics
symbol_peflctx = 0x98964ed6
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLTables
symbol_peflctx = 0 x 98966014
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Out of hgolofn, rc = 0 to 2009/08/10-12:40:00
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
Out of hgoinit, rc = 0 to 2009/08/10-12:40:00
Entry hgolgon to 2009/08/10-12:40:00
Reco:0, name: informix, tflag:0
Entry hgosuec to 2009/08/10-12:40:00
Out of hgosuec, rc = 0 to 2009/08/10-12:40:00
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP to 'HS_FDS_TRANSACTION_LOG' returns ""HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returns 'TRUE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULT_SET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using informix as a default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
Entry hgocont to 2009/08/10-12:40:00
HS_FDS_CONNECT_INFO = "test_informix".
RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
Entry hgogenconstr to 2009/08/10-12:40:00
DSN:test_informix, name: informix
OPTN:
# > (len = 42) connection settings < #.
# DSN = test_informix;
#! UID = informix;
#! PWD = *.
Out of hgogenconstr, rc = 0 to 2009/08/10-12:40:00
DriverName:iclis09b.so, DriverVer: 3.50.0000 3.50.U
DBMS name: Informix, DBMS Version: 07.31.0000 UD5
Out of hgocont, rc = 0 to 2009/08/10-12:40:00
SQLGetInfo Returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
Out of hgolgon, rc = 0 to 2009/08/10-12:40:00
Entry hgoulcp to 2009/08/10-12:40:00
Entry hgowlst to 2009/08/10-12:40:00
Out of hgowlst, rc = 0 to 2009/08/10-12:40:00
SQLGetInfo returns for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
Out of hgoulcp, rc = 0 to 2009/08/10-12:40:00
Entry hgouldt to 2009/08/10-12:40:00
Out of hgouldt, rc = 0 to 2009/08/10-12:40:00
Entry hgobegn to 2009/08/10-12:40:00
tflag:0, original: 1
Hoi:0xbfffe728, ttid (len 24) is...
00: 54534554 3135352E 36616133 31312E37 [TEST.5513aa67.11]
10: 2E35332E 38303131 [. 35.1108]
tbid (len 10) is...
0: 0023000B 00000454 0104 [.. #.] T.....]
Entry hgopoer to 2009/08/10-12:40:00
hgopoer, line 159: got error native-11092 and sqlstate HYC00; message follows...
[Informix] [Informix ODBC Driver] Driver is not capable.
Out of hgopoer, rc = 0 to 2009/08/10-12:40:00
hgobegn, line 176: calling SQLEndTran obtained sqlstate HYC00
Out of hgobegn, rc = 28500 to 2009/08/10-12:40:00 with error ptr FILE: hgobegn.c LINE: 176 FUNCTION: hgobegn() call ID:SqlEndTran
Entry hgolgof to 2009/08/10-12: 40:51
tflag:1
Out of hgolgof, rc = 0 to 2009/08/10-12: 40:51
Entry hgoexit to 2009/08/10-12: 40:51
Out of hgoexit, rc = 0 to 2009/08/10-12: 40:51
-----

Any ideas?

Thank you!

DataDirect offered in the past a driver suitable for Informix 7.3. Maybe you should get in touch with their support on a driver.

Now for the problem of the Transaction:
DG4ODBC usually opens a transaction because it allows to the commit or rollback, a update/insert/delete. When the Informix database is nolog mode the open transaction fails. You can enable logging on the Informix database, but it might cause reduced performance on the Informix db.
Another approach is a patch generated for DG4IFMX (7417128), which can also be used for DG4ODBC well after the re-establishment of links then customer and the DG4ODBC:
genagtsh $ORACLE_HOME/lib/libagtsh.so 1.0
do idg4odbc $ORACLE_HOME/rdbms/lib/ins_rdbms.mk f

Check out Metalink if she is available for your platform and set the parameter as described in the readme file.
He has worked in the past with of Datadirect ODBC drivers. Unfortunately it failed for some Informix drivers.
Rather than buy the Datadirect ODBC driver, you may also think of the use of the DG4IFMX. He is certified with 7.31 Informix.

Tags: Database

Similar Questions

  • error with DG4ODBC implementing connectivity to oracle for IBM iSeries AS400 version V7R1

    Hello

    I have linux Enterprise 64-bit database hosting Oracle 11 GR 2 64-bit (11.2.0.1).  I have access to IBM iSeries AS400 version V7R1.  I'm trying to connect to IBM iSeries of Oracle database with ODBC connectivity using the database link.  Here's what I did.

    Host (Linux) database installed iSeriesAccess - 7.1.0 - 1.0.x86_64.rpm provided by IBM.

    My odbcinst.ini file has the following entries:

    [PostgreSQL]

    Description = ODBC for PostgreSQL

    Driver = /usr/lib/libodbcpsql.so

    Setup = /usr/lib/libodbcpsqlS.so

    FileUsage = 1

    [iSeries Access ODBC Driver]

    Description = iSeries Access for Linux ODBC Driver

    Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so

    Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so

    Note 1 = if you use unixODBC-2.2.11 or later and you want ODBC 32 and 64-bit DSN, pilots to share

    Note 2 = the following Driver64/Setup64 keywords provide which support.

    Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so

    Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so

    Thread = 2

    DontDLClose = 1

    UsageCount = 1

    [iSeries Access ODBC Driver 64-bit]

    Description = iSeries Access for Linux 64 - bit ODBC Driver

    Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so

    Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so

    Thread = 2

    DontDLClose = 1

    UsageCount = 1

    The odbc.ini contains the following entries:

    [ODBC data sources]

    dg4odbc = connection to db2

    [dg4odbc]

    Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so

    Description = iSeries Access for Linux ODBC Driver

    LogonID =

    Password =

    Address = (IBM host, IP address)

    location = Vm520

    noprompt = true

    System = (IBM host, IP address)

    UNICODE = UTF-8

    Naming = 0

    ConnectionType = 0

    CommitMode = 2

    ExtendedDynamic = 0

    AllowDataCompression = 1

    LibraryView = 0

    AllowUnsupportedChar = 0

    ForceTranslation = 0

    Trace = 0

    made sure I was able to connect via ODBC and DSN using the following command:

    isql dg4odbc oracle oracle1 - v

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

    | Connected!                            |

    |                                       |

    | SQL query |

    | help [tablename] |

    | quit                                  |

    |                                       |

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

    SQL >

    SQLRowCount Returns-1

    600 lines read

    SQL >

    could query the table in a library on AS400.

    The $ORACLE_HOME/hs/admin/initdg4odbc.ora includes the following:

    # 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 = dg4odbc

    HS_FDS_TRACE_LEVEL = off

    HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_SUPPORT_STATISTICS = FALSE

    #

    # ODBC specific environment variables

    #

    Set ODBCINI=/etc/odbc.ini

    #

    # Required for the non-Oracle system environment variables

    #

    The listener entries are as follows:

    (SID_DESC =

    (SID_NAME = dg4odbc)

    (ORACLE_HOME = opt/oracle/dbs/product/11.2.0/dbhome_1)

    (PROGRAM = dg4odbc)

    )

    Stopped and started the listener.

    The TNS entry is as follows:

    armcdb2 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = vmw - dev - rmsdb.xxx.vmc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = dg4odbc)

    )

    (HS = OK)

    )

    Pourriez tnsping:

    Tnsping armcdb2 Oracle@rmsdev[/opt/Oracle/DBs/product/11.2.0/dbhome_1/network/admin]$

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on July 11, 2013 16:01:23

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

    Use settings files:

    /opt/Oracle/DBs/product/11.2.0/dbhome_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = vmw - dev - rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID = dg4odbc)) (HS = OK))

    OK (0 msec)

    create a link from public database as follows:

    SQL > create database link samplink connect to 'oracle' identified by 'oracle1' with 'armcdb2 ';

    Database link created.

    When I run a select query I get as follows:

    SQL > select * from mdiaz. AREMAIL@SampLink;

    Select * from mdiaz. AREMAIL@SampLink

    *

    ERROR on line 1:

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

    408

    Here is a sample track of dg4odbc:

    Oracle Corporation - Thursday 11 July 2013 16:06:03.627

    Heterogeneous Agent release

    11.2.0.1.0

    Oracle Corporation - Thursday 11 July 2013 16:06:03.627

    Version 11.2.0.1.0

    Hgogprd entries

    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '255 '.

    Hgosdip entries

    default assignment of 50 HS_OPEN_CURSORS

    setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.

    HS_FDS_RECOVERY_PWD layout to the default

    default HS_FDS_TRANSACTION_LOG of HS_TRANSACTION_LOG layout

    HS_IDLE_TIMEOUT layout to the default 0 value

    layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".

    layout by default «AL32UTF8» HS_NLS_NCHAR

    layout HS_FDS_TIMESTAMP_MAPPING default 'DATE '.

    layout HS_FDS_DATE_MAPPING default 'DATE '.

    layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.

    HS_FDS_FETCH_ROWS layout without '100 '.

    parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.

    parameter HS_FDS_RSET_RETURN_ROWCOUNT default 'FALSE '.

    parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.

    parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.

    parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.

    setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".

    parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.

    HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".

    parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.

    parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.

    HOSGIP returned the value 'FALSE' to HS_FDS_SUPPORT_STATISTICS

    The HS_FDS_QUOTE_IDENTIFIER parameter is not defined

    setting in HS_KEEP_REMOTE_COLUMN_SIZE if 'OFF '.

    parameter HS_FDS_GRAPHIC_TO_MBCS default 'FALSE '.

    parameter HS_FDS_MBCS_TO_GRAPHIC default 'FALSE '.

    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION

    HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQLStatistics; "gtw$: SQLGetInfo.

    parameter HS_FDS_DELAYED_OPEN if there is no 'TRUE '.

    HS_FDS_WORKAROUNDS layout by default "0".

    Release of hgosdip, rc = 0

    ORACLE_SID is "dg4odbc.

    Product information:

    Port RLS / Upd:1 / 0 PrdStat:0

    Agent: Oracle Database Gateway for ODBC

    : Installation

    Class: ODBC, ClassVsn:11.2.0.1.0_0008, Instance: dg4odbc

    Release of hgogprd, rc = 0

    hostmstr: 0: HOA after hoagprd

    hostmstr: 0: HOA before hoainit

    Hgoinit entries

    HOCXU_COMP_CSET = 1

    HOCXU_DRV_CSET = 871

    HOCXU_DRV_NCHAR = 873

    HOCXU_DB_CSET = 871

    HOCXU_SEM_VER = 112000

    Entry hgolofn to 2013/07/11-16: 06:03

    HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / etc/newlib/libodbc.so '.

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLAllocHandle

    symbol_peflctx = 0xaab7c2f0

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLBindCol

    symbol_peflctx = 0xaab7c9d0

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLBindParameter

    symbol_peflctx = 0xaab7cb6c

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLCancel

    symbol_peflctx = 0xaab7d416

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDescribeParam

    symbol_peflctx = 0xaab7f7dc

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDisconnect

    symbol_peflctx = 0xaab7f978

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLEndTran

    symbol_peflctx = 0xaab7fe42

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLExecute

    symbol_peflctx = 0xaab808ac

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFetch

    symbol_peflctx = 0xaab80b5c

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFreeHandle

    symbol_peflctx = 0xaab816aa

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFreeStmt

    symbol_peflctx = 0xaab82144

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetData

    symbol_peflctx = 0xaab83ad8

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetEnvAttr

    symbol_peflctx = 0xaab84e42

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetFunctions

    symbol_peflctx = 0xaab84fce

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLMoreResults

    symbol_peflctx = 0xaab85a0a

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLNumResultCols

    symbol_peflctx = 0xaab85fba

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLParamData

    symbol_peflctx = 0xaab86102

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPutData

    symbol_peflctx = 0xaab871fc

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLRowCount

    symbol_peflctx = 0xaab87364

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetEnvAttr

    symbol_peflctx = 0xaab89054

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetDescRec

    symbol_peflctx = 0xaab88e20

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLColAttributeW

    symbol_peflctx = 0xaab7d6ba

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLColumnsW

    symbol_peflctx = 0xaab7e264

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLConnectW

    symbol_peflctx = 0xaab7e6b4

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDescribeColW

    symbol_peflctx = 0xaab7f39e

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDriverConnectW

    symbol_peflctx = 0xaab7fa9a

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLExecDirectW

    symbol_peflctx = 0xaab805e6

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLForeignKeysW

    symbol_peflctx = 0xaab80de6

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetConnectAttrW

    symbol_peflctx = 0xaab82714

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDescFieldW

    symbol_peflctx = 0xaab83c76

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDescRecW

    symbol_peflctx = 0xaab83fbe

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDiagFieldW

    symbol_peflctx = 0xaab8448a

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDiagRecW

    symbol_peflctx = 0xaab84916

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetInfoW

    symbol_peflctx = 0xaab85136

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetStmtAttrW

    symbol_peflctx = 0xaab85456

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetTypeInfoW

    symbol_peflctx = 0xaab8576e

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPrepareW

    symbol_peflctx = 0xaab863b0

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPrimaryKeysW

    symbol_peflctx = 0xaab8667c

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLProcedureColumnsW

    symbol_peflctx = 0xaab86a14

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLProceduresW

    symbol_peflctx = 0xaab86e64

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetConnectAttrW

    symbol_peflctx = 0xaab874ac

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetStmtAttrW

    symbol_peflctx = 0xaab896c8

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetDescFieldW

    symbol_peflctx = 0xaab88b00

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLStatisticsW

    symbol_peflctx = 0xaab89e64

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Entry hgolofns to 2013/07/11-16: 06:03

    LIBNAME=/etc/newlib/libodbc.so, funcname is SQLTablesW

    symbol_peflctx = 0xaab8a668

    hoaerr:0

    Out of hgolofns to 2013/07/11-16: 06:03

    Release of hgolofn, rc = 0 to 2013/07/11-16: 06:03

    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.

    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.

    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".

    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "

    HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.

    HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.

    HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.

    HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.

    Invalid value of 64 for HS_FDS_SQLLEN_INTERPRETATION

    treat_SQLLEN_as_compiled = 1

    Release of hgoinit, rc = 0 to 2013/07/11-16: 06:03

    hostmstr: 0: HOA after hoainit

    hostmstr: 0: HOA before hoalgon

    Entry hgolgon to 2013/07/11-16: 06:03

    name: oracle, reco:0, tflag:0

    Entry hgosuec to 2013/07/11-16: 06:03

    Release of hgosuec, rc = 0 to 2013/07/11-16: 06:03

    Entry hgopoer to 2013/07/11-16: 06:03

    hgopoer, line 233: had native error 408 and sqlstate 410; message follows...

    408

    Release of hgopoer, rc = 0 to 2013/07/11-16: 06:03

    hgolgon, line 193: calling SQLSetConnectAttr obtained sqlstate 410

    Out of hgolgon, rc = 28500 to 2013/07/11-16: 06:03 with the ptr error FILE: hgolgon.c LINE: 193 FUNCTION: hgolgon() ID:Connection attribute: TRACE

    hostmstr: 0: HOA after hoalgon

    The RPC nscontrol (0), rc = 0

    hostmstr: 0: CPP before release Agent

    hostmstr: 0: HOA before hoaexit

    Entry hgoexit to 2013/07/11-16: 06:03

    Release of hgoexit, rc = 0

    hostmstr: 0: HOA after hoaexit

    hostmstr: 0: CPP after release Agent

    I have looked up on the forums of Oracle errors and could not do any help anywhere.

    Can someone kindly help where I'm wrong?

    Thank you

    RAM.

    You have activated the gateway trace level 255 (HS_FDS_TRACE_LEVEL = 255) which includes also ODBC calls but there is no reference in your file odbc.ini to trace odbc library and it seems that the trace ODBC lib is not found in the ODBC driver manager lib directory.

    Test without bridge tracing turned on (just remove the parameter HS_FDS_TRACE_LEVEL = 255).

    In addition, I recommend to add to your gateway init file:

    HS_FDS_FETCH_ROWS = 1 (as the iSeries ODBC is not supported in bulk pick)

    and

    HS_NLS_NCHAR = UCS2

    -Klaus

  • Create a postgres with dg4odbc oracle dblink

    Hello

    I am creating a dblink from an Oracle (10.2.0.3) database to PostgreSQL (8.3.11) database with DG4ODBC (11.2.0.1.0).

    I installed the 64-bit driver postgres:
    file /usr/lib64/psqlodbc.so
    /usr/lib64/psqlodbc.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
    I am the /oracle/.odbc.ini configuration:
    [record]
    Driver=/usr/lib64/psqlodbc.so
    Description  = PostgreSQL ODBC
    Servername       = cdxlan035
    Port         = 5435
    Username         = rec_lct
    Password     = rec_lct
    Database     = REC_TEST
    I am setting up the /oracle/product/DG4ODBC/hs/admin/initrecord.ora like this:
    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = record
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME = /oracle/product/DG4ODBC/hs/log/hsodbc.trc
    HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so
    
    #
    # ODBC specific environment variables
    #
    set ODBCINI=/oracle/.odbc.ini
    I'm the /oracle/product/DG4ODBC/network/admin/listener.ora configuration
    LISTENER_HS =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036.douane)(PORT = 1525))
        )
      )
    
    ADR_BASE_LISTENER_HS = /oracle/product/DG4ODBC
    
    SID_LIST_LISTENER_HS =
      (SID_LIST =
        (SID_DESC =
          (PROGRAM = dg4odbc)
          (ORACLE_HOME = /oracle/product/DG4ODBC)
          (SID_NAME = record)
          (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/product/DG4ODBC/lib:/oracle/product/10.2.0/lib)
        )
      )
    I update my /oracle/product/10.2.0/network/admin/tnsnames.ora:
    RECORD2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036)(PORT = 1525))
        )
        (CONNECT_DATA =
          (SID = record)
        )
        (HS=OK)
       )
    Last I created the dblink:
    CREATE  DATABASE LINK "RECORD"  CONNECT TO "rec_lct" IDENTIFIED BY "rec_lct"  USING 'RECORD2';
    When I'm trying to choose my postgres database, it does not. Here's the /oracle/product/DG4ODBC/hs/log/record.log:
    [oracle@cdxlan036 log]$ cat record_agt_30445.trc
    
    
    Oracle Corporation --- MONDAY    FEB 27 2012 17:11:31.204
    
    
    Heterogeneous Agent Release
    11.2.0.1.0
    
    
    
    
    Oracle Corporation --- MONDAY    FEB 27 2012 17:11:31.204
    
        Version 11.2.0.1.0
    
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
    Entered hgosdip
     setting HS_OPEN_CURSORS to default of 50
     setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
     setting HS_FDS_RECOVERY_PWD to default value
     setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
     setting HS_IDLE_TIMEOUT to default of 0
     setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
     setting HS_NLS_NCHAR to default of "AL32UTF8"
     setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
     setting HS_FDS_DATE_MAPPING to default of "DATE"
     setting HS_RPC_FETCH_REBLOCKING to default of "ON"
     setting HS_FDS_FETCH_ROWS to default of "100"
     setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
     setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
     setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
     setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
     setting HS_FDS_MAP_NCHAR to default of "TRUE"
     setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
     setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
     setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
     setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
     setting HS_FDS_QUERY_DRIVER to default of "TRUE"
     setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
     Parameter HS_FDS_QUOTE_IDENTIFIER is not set
     setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
     setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
     setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
     setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
     setting HS_FDS_DELAYED_OPEN to default of "TRUE"
     setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
     ORACLE_SID is "record"
     Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:record
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=31
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2012/02/27-17:11:31
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/psqlodbc.so"
    Entered hgolofns at 2012/02/27-17:11:31
     libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
     peflerr=6521, libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
     hoaerr:28500
    Exiting hgolofns at 2012/02/27-17:11:31
    Failed to load ODBC library symbol: /usr/lib64/psqlodbc.so(SQLAllocHandle)
    Exiting hgolofn, rc=28500 at 2012/02/27-17:11:31
    Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
    Entered hgoexit
    HS Gateway:  NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    What wrong with my setup?

    Thanks for your help

    Kind regards

    Mathieu

    Yes, you need to have a (psqlodbc.so) ODBC driver and the ODBC Driver Manager (very common name is libodbc.so). If you are absent Manager ODBC drivers that you find for example the unixodbc.org and once you have it installed you need to fix HS_FDS_SHAREABLE_NAME to refer to the driver manager. The driver manager will check the file odbc.ini and according to the specified DSN, it will load your ODBC driver.

  • With bitcomet Internet connection error

    BitComet download correctly. It again me, I am having inter Explorer connection error. pretty much your standard internet explore cannot display the Web page. What can I do to fix this?

    See if the information below helps you solve the problem/s you have with Internet Explorer:

    http://support.Microsoft.com/default.aspx/KB/936213/?p=1

    "How to optimize Internet Explorer"

    Configuration in Windows Internet Explorer 7 and Windows Internet Explorer 8 settings can cause one or more of the following problems:

    ·    You experience performance issues in Internet Explorer.

    ·    You receive an error message in Internet Explorer. For example, you receive a message error "Internet Explorer cannot display the webpage".

    ·    Internet Explorer stops responding.

    This article describes how optimize or reset Internet Explorer in Windows Vista to solve these problems.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://support.Microsoft.com/kb/936215

    "How to solve the problems of Internet Explorer in Windows Vista and Windows XP"

    This article explains how to solve any problems that you may experience when you use Windows Internet Explorer 7 or Windows Internet Explorer 8 on a computer that is running Windows Vista.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://support.Microsoft.com/kb/936214/

    "How to solve compatibility problems that affect Internet Explorer 7 in Windows Vista"

    This article describes how to troubleshoot software compatibility affecting Windows Internet Explorer 7. To help determine which program may be the cause of the problem, you can do the following:

    1 use the mode safe mode with networking

    2. perform a clean boot

    3. use another user account

    4 scan your computer against viruses and spyware

    5. run Internet Explorer 7 in "no Add-ons" mode

    Hope the above helps.

    ·                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Also try the Forum from IE:

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/threads

    They will help you with your question IE in Forum Internet Explorer above.

    See you soon.

    Mick Murphy - Microsoft partner

  • dblink oracle to postgres with dg4odbc. ORA-28500: connection between ORACLE and a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC

    My configured for /etc/odbc.ini

    [PostgreSQL]

    Description = Test to Postgres

    Driver = psqlodbc

    Trace = Yes

    Trace file = /tmp/sql.log

    Database = danieldb

    ServerName =

    UserName = SA

    Password = password

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTables = No

    ShowOidColumn = No

    FakeOidIndex = No

    My configured for /etc/odbcinst.ini

    [ODBC]

    CommLog = 1

    Debug = 1

    FileUsage = 1

    Layout common = No

    Trace = 1

    [psqlodbc]

    Description = PostgreSQL ODBC driver

    Driver=/usr/lib64/psqlodbcw.so

    CommLog = 1

    Debug = 0

    FileUsage = 1

    My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora

    HS_FDS_CONNECT_INFO = PostgreSQL

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so

    Set ODBCINI=/etc/odbc.ini

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora

    Listener =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PostgreSQL)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)

    (PROGRAM = dg4odbc)

    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')

    )

    )

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = PostgreSQL)

    )

    (HS = OK)

    )

    I'm trying to created public database link:

    CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';

    When I used tnsping

    [root@oracle-poc admin] # tnsping PostgreSQL

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19

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

    Use settings files:

    /U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))

    OK (0 msec)

    and finally, I try to use the database link:

    "SQL > select * from tabel2"@orapos ".

    2;

    Select * from 'tabel2"@orapos '.

    *

    ERROR on line 1:

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

    ORA-02063: preceding the line of ORAPOS

    What wrong with my setup?

    Thank you and best regards,

    Daniel

    Daniel,

    The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
    Go to the.

    http://www.unixODBC.org/

    Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.

    Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-

    HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so

    Depending on where you install it.

    Kind regards

    Mike

  • Started at Mo and not charging with the charger connected. Charger works. Keyboard not workin except power button / stop. Restarted using ex in car without success. SW

    Started MacBook and not charging with the charger connected. Charger works. Keyboard does not not except the power button / stop. Restarted ex drive no available help hoping that it was a matter of SW. SW and the operating system works very well. Read some info online. Tried to reset the SMC. Now, the MacBook does not start. Can U help me please. Thanks in advance.

    MacBook, 2010, Mac OS X 10.6.8

    Hi Veronica Steward,.

    I understand that you have turned into a series of questions about your MacBook and want help getting the computer to turn on. Here is an article that can help you through the steps to fix this problem:

    If your Mac will not turn on - Apple Support

    Let us know how it goes and thanks for coming to Apple Support communities.

    See you soon.

  • When sharing my project there are some clips that show a red screen with a camera saying error. How can I solve these clips if I can share the project correctly?

    When sharing my project there are some clips that show a red screen with a camera saying error. How can I solve these clips if I can share the project correctly?

    This happens usually when the import process was not completed. If you have the original camera card - or a copy of the computer of the map - you can probably use the re-import command (on the file menu) to fix things. In addition, it is possible that the original media is imported, but this transcoding was not. If you have chosen to optimise upon import, try to select clips in the browser and transcoding to optimized.

    Russ

  • I get a 'Secure connection' error failed with google stating "certificate contains the same serial number.

    When I click on a link to a google search, I get the "Secure connection" error failed in Firefox. He says, "please contact the administrator of the server or email correspondent and give them the following information: your certificate contains the same serial number for another certificate issued by the certification authority."

    I followed the instructions here:
    https://support.Mozilla.org/en-us/KB/certificate%20contains%20The%20Same%20serial%20number%20As%20another%20certificate
    and looked at this article:
    https://support.Mozilla.org/en-us/questions/1028103?ESAB=a & As = AAQ

    I uninstalled and reinstalled Firefox, deleted the entire folder profiles and reset Firefox. I see that the older (orphans) article points to my router. However, I have a new router and have updated their software. There is no button to add an exception (as stated in the article), so I can't just work around it. This problem does not occur with IE, so I have a hard time to believe that it is my router.

    How to solve this problem? I really want to change browser.

    Finally, I tracked the issue. The answer was found here:
    https://support.Mozilla.org/en-us/questions/1028985

    It turns out that Avast has a web shield that passes through its own verification of certificate https. Of course, this feature is not quite right and loses track of the certificates. Disable "https scanning" in the settings of Avast resolved the problem.

  • Once a problem with a mobile connection, whenever I try to open a specific site mozilla redirects me to the support of vodafone page, how can I have access to nooz.gr

    After a problem with a mobile connection, I tried with mozilla to connect to nooz.gr , but I've redirected the page services of vodafone, everytime I try again to open this site specific mozilla still redirects me vodafone support page, how can I regain access to nooz.gr?

    Could clear you cookies and cache and check it out.

    The problem happened when you connect your mobile connection he tries to display the service vodafone page, and it is not updated because of cookie issue.

    Try in safe mode

  • Seeing orange blinking after that stop with the charger connected.

    Hello

    I'm new here and I have the following problem.

    Four months after buying the PC (Satellite-Z930-103) I had a battery problem. Suddenly the orange led blinking and the laptop could not be launched. Toshiba service replaced the battery and everything worked fine for about two months. Then the same thing happened again. Because I was working in China, I opened the laptop and disconnected the battery and can be used with the charger connected.

    The PC was sent to a point of service when I arrived at home, where they still indicated a battery problem and offered to change the battery. Because the warranty was expired, I had to pay for it. I refused, because the price they were charging was 300 euros.

    To the surprise... when I received it from the point of service, they have reconnected the battery and the service report said "computer does work well, no fault found '...

    Since I started my fight with Toshiba support and tried to find me a solution. However, the problem was not resolved until today and I have to disconnect the battery and plug it in again after waiting a day every time I forgot to unplug the charger when the shutdown or when he goes into sleepmode) I became an expert at opening and closing of the laptop...

    In any case, maybe someone has the same problem and found a solution, I suppose that it may be a software problem, but Toshiba has not solved until today.

    To describe the problem even once:

    Orange (power) led starts flashing as soon as the computer is powered down (or "standby mode") with the charger connected.
    If this happens, I opened the laptop and disconnect the battery (so I can work with feeder pugged in)
    Then the next day I open the laptop again and re-connect the battery. It works fine until I still forget to unpug the charger, turn off or restart the laptop.

    I'm guessing it's a problem of software and a few simple arrangements or a re-installation of something, it can be solved.

    Because I travel a lot, I love the little thing but I got frustrated at the moment.

    It would be great if I'm right, and someone already had this thing resolved!
    THX advance for any help!

    Peter

    Satellite Z930 is very nice machine designed for mobile use and I am really sorry to hear that you have such problems. I imagine that you can't find some identical threads on this forum so I hope this isn't a "general problem" with this machine.

    I am not a technician but I can't imagine this problem described has something to do with the settings of the software. In the BIOS, you cannot change a large part and in windows, there is a standard Windows power settings and several Toshiba avancΘs.
    Electronic power placed in the motherboard has a few 'standard' functions and switch automatically between battery and power running.

    I can't say for sure, but I guess there must be some problem with electronic power supply. It is not easy to say what the problem is here, and I really wonder that Toshiba service provider was not able to identify the reason why all this is happening.

    Let's see what the other members of the forum think problem described.

  • Loading slow web page and with Airport Extreme connection speeds

    About 5 days ago, I noticed a significant slow down the loading of web pages. In some cases, I see a blank white screen for up to a minute before the page is loaded. In others, the page never loads at all. And sometimes they load very quickly as expected. This happens with my iMac that is connected to a router via ethernet, as well as my Macbook Air connected via Wifi to Airport Extreme.

    I have a high-speed internet connection by cable Comcast/Xfinity: Blast 250Mbps.

    I tried to connect my iMac directly on the model of cable (Arris Surfboard SB6183), and there is no problem. Download speed was 30Mbps 300Mbps and upload.

    Then, I plugged my Airport Extreme router again and connected the iMac to the router via Ethernet. Download speed dropped to 100 Mbps!

    This suggests that the problem may be with the Airport Express. It is not a wireless problem, because as you can see the download speed went from 300Mbp/s connected directly to the model 100 Mbps when connected to the Airport Extreme.

    How do I troubleshoot/fix this?

    One last thing: I did a speed test with my Macbook Air that is connected via Wifi and the Airport Extreme router. Download speed dropped to 35 MB/s.

    Direct connection to the modem is so very fast, suggesting the internet connection Comcast isn't the issue. Speed falls even with ethernet to the Airport Extreme router connection, then decreases even more with the Wifi connection.

  • Satellite A200 - 24 - need help with ad - hoc connection

    Hello

    I have a Toshiba Satellite A200-24 which is connected to the internet via ADSL.

    Also, I have a laptop and I want to share internet between them in my apt.
    In Win XP it should do so through the Connection Wizard, but in vista, it is "ad hoc connection".

    However, when I try to do, I get a message that windows cannot create my new network.
    I have searched all over the net for a solution and those who have the same problem as me.

    Have computers with Satellite...

    Hello

    I think you should check this page:
    http://www.LyteByte.com/2007/02/21/how-to-share-one-Internet-connection-with-another-computer-using-Vista/

    Here you have find some information and details (screenshots) how to share one Internet connection with another computer using Vista?

    This page could also be interesting:
    http://thehiddenguide.com/how-to-share-two-computers-with-one-Internet-connection-on-Vista/

    Please post comments!

  • My Macbook 2012 mid pro with thunderbolt is connected to the tv via a Macally MDHDMI adapter.  Visuals are delivered as planned but no audio.  Can anyone suggest why no noise please?  And maybe a fix?  See you soon...

    My Macbook 2012 mid pro with thunderbolt is connected to the tv via a Macally MDHDMI adapter.  Visuals are delivered as planned but no audio.
    Can anyone suggest why no noise please?  And maybe a fix?
    See you soon...

    Have you checked system-> Sound-> output preferences to see if you can select the HDMI output?

  • Satellite A660-13D - I can't go 65 Mbps with the wireless connection.

    + Sorry for my English is not my mother tongue. +

    Hello

    I expose my problem:

    I can't go to 65 Mbps with the wireless connection. I can't move this connection speed.

    Configuration of the laptop:

    * Windows 7 Ultimate 64-bit (with all updates installed).
    * All the updated drivers correctly.
    * With the latest version of the BIOS.

    Router:

    * Tp-link TL-WR1043ND, installed at 3 metres above the laptop (without obstacles).

    The router configuration:
    * WPA2-PSK AES.
    * 802.11n
    * Maximum output power.
    * Channel: 11 (not automatic, that this channel is relatively free).
    * Width of channel: 40 Mhz.
    * Maximum tx frequency: 300 Mbps.

    Other information:

    The wireless card drivers are correctly then updated (ver. 5.60.48.35).
    * The router has updated the firmware.
    * I tried all the settings of the wireless card.
    * Bluetooth off (without interference).
    * {color: #ff0000} there are other computers on the network that connects 150 and 300 Mbps (with the same network configuration). {color}

    Thanks in advance,
    Greetings.

    Post edited by: Xibalba

    Have you tested using different channels?
    Have you tested speed WIFI connected to another router?

  • Having trouble with my internet connection through wifi. N600 router is what I think.

    I had some problems with my internet connection recently via my wireless router. I get the little triangle yellow and with the connection at different times and I can't call my local internet provider because it still works when they are open, and then it closes when they are closed. I recently bought a Google Chromecast and some think it might interfere with the connection, but I don't see how. When I reset the modem router and cable by unplugging and plug their return they sometimes get the rear connection but it's annoying not knowing when it will go off again, then come back. A few months before the connection out sometimes but not several times a day. If you need additional information such as the type IP DNS stuff I can get it. Also recently I have updated the firmware of the Netgear if that makes a difference. Thank you!

    Thanks to all who responded. I talked to my ISP and discovered that the modem was abandon the connection because he was old and he sold me a new and things work fine now. Thanks again!

Maybe you are looking for

  • Cannot complete the recovery process after replacing HARD drive

    Hello I changed my hard drive it for 15 days because he showed abnormalities, so I bought a new hard drive Seagate Western brand with the same technical characteristics as the existing hard drive (product for the product). I was then on TOSHIBA HDD R

  • Profile of user failed to connect

    Profile of user failed to connect.  Paswor does not work.

  • Access to all computers, Access Restriction stops

    I put the time of access restriction for my son (we have a wireless access for all systems).  I use MAC address on its systems. Xbox, Kindle Fire and his laptop. The MAC address are Correct. Here's the problem: I put the 'allow' and the time from 18:

  • My computer is stuck in the loop "Update Configuration". Boots only in safe mode.

    My computer is stuck in the loop "Update Configuration". Boots only in safe mode. I tried to do a system restore, but an error message appears that says: To perform an offline system restore, you must specify which Windows installation you want to re

  • Monitoring of VPN traffic

    If a user connects using the AnyConnect client, and then connects via RDP to an internal Windows machine, I'd be able to see all traffic via syslog from the RDP session?  I can see the client login, auth, DHCP, then the port 3389 in order to connect