Ora-28500 Errors Using DG4ODBC on 64-bit Platforms
(Doc ID 782190.1)
Last updated on MAY 11, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.4 [Release 11.1 to 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Solaris on SPARC (64-bit)
Linux x86-64
IBM AIX on POWER Systems (64-bit)
HP-UX Itanium
Symptoms
Running 11g HS Connectivity - Database Gateway for ODBC (DG4ODBC) - on a 64-bit platform, the following error can occur :
ORA-28500 - connection from ORACLE to a non-Oracle system returned this message
1. A DG4ODBC debug trace can show the following errors :
Failed to load ODBC library symbol: /usr/lib/libodbc.so(SQLAllocHandle)
Exiting hgolofn, rc=28500 at 2009/02/11-11:08:17
Exiting hgoinit, rc=28500 at 2009/02/11-11:08:17 with error ptr FILE:hgoinit.c LINE:294
FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
Exiting hgolofn, rc=28500 at 2009/02/11-11:08:17
Exiting hgoinit, rc=28500 at 2009/02/11-11:08:17 with error ptr FILE:hgoinit.c LINE:294
FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
2. A select can give the following errors when trying to connect to DB2 on AIX using the IBM ODBC driver and UnixODBC driver manager :
SQL > select sysdate from dual@DG4ODBC;
select sysdate from dual@DG4ODBC
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed {IM004}
ORA-02063: preceding 2 lines from DG4ODBC
select sysdate from dual@DG4ODBC
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed {IM004}
ORA-02063: preceding 2 lines from DG4ODBC
A select using ISQL and the same ODBC driver works successfully.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |