UnixODBC: Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
I have installed the instant client and am now getting the following error:
unixODBC: Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
I googled a lot but could not find a solution. Could there be something wrong with my ENV variables?
/etc/odbcinst.ini holds:
[Oracle 10g ODBC driver]
Description = Oracle ODBC driver for Oracle 10g
Driver = /presto/instantclient_10_2/libsqora.so.10.1
I looked in Oracle Metalink and there is Bug 5700995 that might or might not be what you experience:
Problem statement:
ORACLE_HOME WITH TRAILING SLASH CRASHES UNIXODBC
They report the exact same error message that you get.
There is no patch yet.
Does your ORACLE_HOME end with a slash? If yes, try without!
Yours,
Laurenz Albe
Similar Messages
-
Hi,
I have installed ODBC driver to connect to MS SQL databas (2008) from oracle database 11gr1 on linux 64-bit. I have downloaded and installed
as per the instructions on microsoft website:
microsoft.com/en-us/download/details.aspx?id=28160
Afte this i have configured the DG4ODBC following note ID 561033.1. Below are the details of the files i have edited to configure.
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=DG4ODBC)
(ORACLE_HOME=/u01/oracle/fakieh/db/tech_st/11.1.0)
(ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib")
(PROGRAM=dg4odbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = testdb.domain.com ) (PORT = 1511))
tnsnames.ora:
DG4ODBC=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST= testdb.domain.com )(PORT=1511))
(CONNECT_DATA=(SID=DG4ODBC))
(HS=OK)
initDG4ODBC.ora ($ORACLE_HOME/hs/admin)
# HS init parameters
HS_FDS_CONNECT_INFO = mssql
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
# ODBC specific environment variables
set ODBCINI=/home/oracle/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
odbc.ini
[ODBC Data Sources]
mssql=MS SQL Server
[mssql]
Driver=/usr/lib64/libodbc.so
Database=FAKIH_ToTestInt
LogonID=user
Password=passwd
Address=SJSQLV01.domain.com
QuotedId=YES
AnsiNPW=YES
HS_FDS_SUPPORT_STATISTICS=FALSE
[ODBC]
IANAAppCodePage=4
Trace=0
UseCursorLib=0
UseCursorLib=0
Tnsping is successful, but when i try to connect the remote db it give me below message.
SQL> select * from "systables"@mssqltest;
select * from "systables"@mssqltest
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
ORA-02063: preceding 2 lines from MSSQLTEST
please suggest how to resolve this.Hi Kgronau,
Again i received below error:
SQL> select * from "emptest"@mssqltest;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][SQL Server Native Client 11.0]String data, right
truncation[Microsoft][SQL Server Native Client 11.0]String data, right
truncation
ORA-02063: preceding 2 lines from MSSQLTEST
no rows selected
Trace file:
Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- FRIDAY DEC 07 2012 16:36:01.648
Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
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_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
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_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"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "DG4ODBC"
Product-Info:
Port Rls/Upd:7/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:DG4ODBC
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=560
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=560
HOCXU_SEM_VER=110000
Entered hgolofn at 2012/12/07-16:36:01
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaaafa2f0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaaafa430
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaaafac10
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaaafbe40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab03c30
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab04070
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab06870
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab07ee0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab08650
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab0a0e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab0a100
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab0b6e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab0e810
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab0eb80
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab105b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab11110
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab11410
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab131b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab135d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab154e0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab152c0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xaaafc6d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xaaafdf80
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xaab017b0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xaab03500
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xaab04b40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xaab07990
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xaab08f20
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xaab0a430
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xaab0d490
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xaab0e090
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xaab0f570
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xaab0f810
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xaab10210
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xaab11b60
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xaab12040
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xaab125f0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xaab12c40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xaab13870
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xaab16830
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xaab14f40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xaab180d0
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Entered hgolofns at 2012/12/07-16:36:01
libname=/usr/lib64/libodbc.so, funcname=SQLTables
symbol_peflctx=0xaab18d40
hoaerr:0
Exiting hgolofns at 2012/12/07-16:36:01
Exiting hgolofn, rc=0 at 2012/12/07-16:36:01
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/12/07-16:36:01
reco:0, name:OracleUser, tflag:0
Entered hgosuec at 2012/12/07-16:36:01
Exiting hgosuec, rc=0 at 2012/12/07-16:36:01
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using OracleUser as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/12/07-16:36:01
HS_FDS_CONNECT_INFO = "mssql"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/12/07-16:36:01
dsn:mssql, name:OracleUser
optn:
##>Connect Parameters (len=38)<##
## DSN=mssql;
#! UID=OracleUser;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/12/07-16:36:01
DriverName:libsqlncli-11.0.so.1790.0, DriverVer:11.00.1790
DBMS Name:Microsoft SQL Server, DBMS Version:10.50.1617
Exiting hgocont, rc=0 at 2012/12/07-16:36:01
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoalgon
hostmstr: 0: RPC Before Upload Caps
hostmstr: 0: HOA Before hoaulcp
Entered hgoulcp at 2012/12/07-16:36:01
Entered hgowlst at 2012/12/07-16:36:01
Exiting hgowlst, rc=0 at 2012/12/07-16:36:01
SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
3 instance capabilities will be uploaded
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoaulcp
hostmstr: 0: RPC After Upload Caps
hostmstr: 0: RPC Before Upload DDTR
hostmstr: 0: HOA Before hoauldt
Entered hgouldt at 2012/12/07-16:36:01
0 instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoauldt
hostmstr: 0: RPC After Upload DDTR
hostmstr: 0: RPC Before Begin Trans
hostmstr: 0: HOA Before hoabegn
Entered hgobegn at 2012/12/07-16:36:01
tflag:0 , initial:1
hoi:0xc8b24548, ttid (len 42) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
20: 2E32342E 32343030 3532 [.24.240052]
tbid (len 39) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
20: 325D5B31 2E345D [2][1.4]]
TXN Capable:2, Isolation Option:0x2f
Exiting hgobegn, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2012/12/07-16:36:01
count:1
table: emptest
Entered hgopdsc at 2012/12/07-16:36:01
Describing procedure OracleUser.emptest
Output hoada
hgopdsc, line 1298: NO hoada to print
Exiting hgopdsc, rc=942 at 2012/12/07-16:36:01
The hoada for table emptest follows...
hgodtab, line 651: NO hoada to print
Exiting hgodtab, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoadtab
hostmstr: 0: RPC After Describe Table
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
type:0
SQL text from hgopars, id=1, len=23 ...
00: 53454C45 4354202A 2046524F 4D202265 [SELECT * FROM "e]
10: 6D707465 737422 [mptest"]
Exiting hgopars, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxpars
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
hgodscr, line 506: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before SQL Bundling
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2012/12/07-16:36:01
Exiting hgoclse, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2012/12/07-16:36:01
Exiting hgodafr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/12/07-16:36:01
type:0
SQL text from hgopars, id=1, len=67 ...
00: 53454C45 43542041 312E2265 6D706E75 [SELECT A1."empnu]
10: 6D626572 222C4131 2E22656D 706E616D [mber",A1."empnam]
20: 65222C41 312E2274 656C6570 686F6E65 [e",A1."telephone]
30: 22204652 4F4D2022 656D7074 65737422 [" FROM "emptest"]
40: 204131 [ A1]
Exiting hgopars, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxpars
hostmstr: 0: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2012/12/07-16:36:01
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxopen
hostmstr: 0: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:1(empnumber): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:2(empname): dtype:-8 (WCHAR), prc/scl:10/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
Entered hgopcda at 2012/12/07-16:36:01
Column:3(telephone): dtype:2 (NUMERIC), prc/scl:18/0, nullbl:1, octet:20, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/07-16:36:01
hgodscr, line 506: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
Exiting hgodscr, rc=0 at 2012/12/07-16:36:01
hostmstr: 0: HOA After hoxdscr
hostmstr: 0: RPC After SQL Bundling
hostmstr: 0: RPC Before Fetch Row
hostmstr: 0: HOA Before hoaftch
Entered hgoftch, cursor id 1 at 2012/12/07-16:36:01
hgoftch, line 117: Printing hoada @ 0x9c29d38
MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR Y 20 20 128/ 10 873 0 40 empnumber
1 CHAR Y 20 20 128/ 10 873 0 40 empname
3 DECIMAL Y 20 20 18/ 0 0 0 0 telephone
SQLBindCol: column 1, cdatatype: -8, bflsz: 21
SQLBindCol: column 2, cdatatype: -8, bflsz: 21
SQLBindCol: column 3, cdatatype: 1, bflsz: 20
Entered hgopoer at 2012/12/07-16:36:01
hgopoer, line 159: got native error 0 and sqlstate 01004; message follows...
[Microsoft][SQL Server Native Client 11.0]String data, right truncation[Microsoft][SQL Server Native Client 11.0]String data, right truncation
Exiting hgopoer, rc=0 at 2012/12/07-16:36:01
hgoftch, line 699: calling SQLGetData got sqlstate 01004
1 rows fetched
Exiting hgoftch, rc=28500 at 2012/12/07-16:36:01 with error ptr FILE:hgoftch.c LINE:699 FUNCTION:hgoftch() ID:Row error while doing array fetch
hostmstr: 0: HOA After hoaftch
hostmstr: 0: RPC After Fetch Row
hostmstr: 0: RPC Before Commit Trans
hostmstr: 0: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2012/12/07-16:36:06
Exiting hgoclse, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoxclse
hostmstr: 0: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2012/12/07-16:36:06
Exiting hgodafr, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoadafr
hostmstr: 0: HOA Before hoacomm
Entered hgocomm at 2012/12/07-16:36:06
keepinfo:0, tflag:1
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D2E6365 63356661 38322E38 [P.COM.cec5fa82.8]
20: 2E32342E 32343030 3532 [.24.240052]
tbid (len 39) is ...
00: 46544553 542E4641 4B494548 47524F55 [FTEST.FAKIEHGROU]
10: 502E434F 4D5B382E 32342E32 34303035 [P.COM[8.24.24005]
20: 325D5B31 2E345D [2][1.4]]
cmt(0):
Entered hgocpctx at 2012/12/07-16:36:06
Exiting hgocpctx, rc=0 at 2012/12/07-16:36:06
Exiting hgocomm, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoacomm
hostmstr: 0: RPC After Commit Trans
hostmstr: 0: RPC Before Logoff
hostmstr: 0: HOA Before hoalgof
Entered hgolgof at 2012/12/07-16:36:06
tflag:1
Exiting hgolgof, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoalgof
hostmstr: 0: RPC After Logoff
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2012/12/07-16:36:06
Exiting hgoexit, rc=0 at 2012/12/07-16:36:06
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
This is just an additional information that this oracle database is E-business database and "FTEST" is the SID.
Thank You. -
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I have an excel file which would connect to an Oracle database and run queries. It was working fine somet times back until i uninstalled/reintalled the oracle client. I have windows 7 running oracle client 11gR2. Below are the errors i am getting.
"The Orale(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client installation."
"Error - 2147467259: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed."
I have double check the path variable and the ORACLE_HOME.Can someone help?
-
EIS Error: ODBC Error driver's SQLAllochandle on SQL_HANDLE_ENV failed
HI guys,
I had Oracle 10g(Run time Client) installed, but to create a catalog i need to create an ODBC connection first so I went ahead and tried to do it but i didnt find the ODBC driver for 10g so I installed Oracle 11g(Run time Client) over 10g. Then, I created a ODBC DSN and tried to create OLAP catalog using the ODBC DSN but it says the following error.
ODBC Error driver's SQLAllochandle on SQL_HANDLE_ENV failed
I researched a bit and found that its an environment variable issue so uninstalled the Oracle 10g, now I've got only 11g but still the same error.
When I test the connection while creating the DSN it says Connection Successfull, its only on EIS front I am getting this error
Can any of you plz help me out of this error.
Thanks!!!!
Edited by: mjunaid on Oct 7, 2009 2:26 PM
Edited by: mjunaid on Oct 7, 2009 2:27 PMPlz someone help me with this guys.
It throws this error when i use Oracle 10g driver for ODBC. When i used an alternate odbc connection with MERANT for Oracle the EIS got stuck and the aplication doesn't respond.
Edited by: mjunaid on Oct 8, 2009 8:28 AM -
SQLAllocHandle on SQL_HANDLE_ENV failed - JDBC-ODBC Error
Hai,
i am connecting the Oracle 8i by using the JDBC-ODBC Driver. When i get connection by using the DriverManager, it throws the following Error.
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Please advise me
Thanks in Advance
Regards
sankarjune14Respected Sir/Madam,
i am connecting the Oracle 8i by using the JDBC-ODBC
Driver. When i get connection by using the
DriverManager, it throws the following Error.
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
the dsn name already created succeesfully. then also i am
getting this run time error
plz give me a solution. -
SQLAllocHandle on SQL_HANDLE_ENV failed-2147467259
I have installed oracle 9.2.01.0 on win2k advanced server. I have an asp which was working fine, all of a sudden i started getting error "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed-2147467259", i reckon this would be due to some changes in settings. I downloaded ora9202.exe to updated odbc drivers, with no result. I tried uninstalling oracle,win2k and reinstalling the same, nothing has helped so far.
Add info: I have an entry in System DSN with Microsoft Odbc for Oracle Driver, am able to connect to oracle with sql plus. please help.Configuration has not changed since things were working earlier, i reckon that some changes in settings have some effect on this(am sorry i don't remember what were the changes in settings, am sure changes in settings were not related to odbc).
Now i changed to Oracle in Orahome92 driver, now i get message 'Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).-2147467259'
My asp calls an ini which has entry
MAIN=DRIVER=Oracle in OraHome92;UID=qlm;PWD=qlm;server=demi;
Prior, while using Microsoft odbc for oracle, ini entry was, MAIN=DRIVER=Microsoft ODBC for Oracle;UID=qlm;PWD=qlm;SERVER=demi; -
Driver's SQLAllocHandle on SQL_HANDLE_ENV
why some times oracle and DSN give error
"[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"
Listener work fine and other thing work fine
but still give this error
and when i restart it again work fine for few days
and same problme aina after 2-4 days
what is the reason ?
plz helpHi,
TNS_ADMIN is one thing and PATH is another one.
TNS_ADMIN is a variable which specified where your TNSNAMES.ORA would be read to find and solve the alias name to connect to the Oracle database.
PATH is important to find the right libraries to use correctly the Oracle ODBC driver.
That's why the ORACLE_HOME where the ODBC libraries are installed must be specified at first position in PATH.
Even if you have multiple ORACLE_HOMEs, you must use the one where libraries match with the version of ODBC driver you want to use.
So it can be different from the TNS_ADMIN, that doesn't mind.
Regards,
Mireille -
Driver's SQLAllocHandle on SQL_HANDLE_ENV error, but nothing fixes it
Unable to connect
SQLState=IM004
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV
failed
That is the error I am receiving in ODBC manager when i try to test my connection. I can resolve it by giving the user local admin rights. This tells me it is obviously a permissions issue. Here is what I have tried and has failed:
1) I tried giving Authenticated Users Read, Read & Execute, applied to the WHOLE oracle home directory and restarted. Still has the same issue.
2) I checked the PATH and ORACLE_HOME environment variables and all are set right.
3) Using the universal installer's environment TAB I unchecked my only home hit apply, rechecked it, hit apply then rebooted. This resets the environment vairables and so forth.
4) Went to the BIN directory for Oracle and individually checked each DLL's security (took forever) and ensured I had rights.
5) I even tried giving EVERYONE read, read & execute as well.
6) Using FileMon and Regmon I looked for Access Denied or other errors when trying to test the connection. Nothing showed up.
This is a real problem because these users CAN NOT have local admin rights, so that is not an option. Anyone have any ideas?I vaguely remember running into similar issue, can you folks try the following and reply back if this solved the problem so that I can make a note
SQLSetEnvAttr (henv, SQL_ATTR_ODBC_VERSION, (void *) SQL_OV_ODBC3, SQL_IS_INTEGER); -
SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Trying to configure Lotus Notes ODBC driver (NotesSQL) with DG4ODBC 11gr2.
The database from which I initiate a Select statement is 10g, and I receive an error message : SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Here is an extract of the Trace file :
Entered hgopoer at 2010/11/11-15:18:06
hgopoer, line 233: got native error 0 and sqlstate IM005; message follows...
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed {IM005}
Exiting hgopoer, rc=0 at 2010/11/11-15:18:06
hgocont, line 2753: calling SqlDriverConnect got sqlstate IM005
Exiting hgocont, rc=28500 at 2010/11/11-15:18:06 with error ptr FILE:hgocont.c LINE:2773 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2010/11/11-15:18:06 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
Entered hgoexit at 2010/11/11-15:18:06
Exiting hgoexit, rc=0Looks like you are calling it on a windows platform. Could you please provide an ODBC trace file?
ODBC tracing is enabled in the MS ODBC Admin -> Trace and here please make sure to enable MACHINE WIDE TRACING. The Log for DG4ODBC is commonly found in Windows/temp and it is called sql.log.
Also please post your gateway config file. -
I have three computers backing up onto the same Time Machine. The Hard drive of one has now failed, and I'd like to restore certain items (principally photographs) to one of the other two computers. How can I do this?
"You can also browse the original backup disk for past backups by using "Browse other Time Machine Disks"--to see this choice, hold the Option key then click the Time Machine menu in the Finder (to see the menu, "Show Time Machine status in the menu bar" must be selected in Time Machine preferences."
Mac 101: Time Machine -
Hello,
I start from the end and details show below - this error message i got in sql session:
SQL> select count(*) from EnergyType@ENERGOPLAN;
select count(*) from EnergyType@ENERGOPLAN
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver does not support this function {IM001}
ORA-02063: preceding 2 lines from ENERGOPLAN
SQL>
First question - is Oracle Heterogeneous Services are licensed for standard edition ? I cant find this information, and my database - is SE 11.2.0.3.0 - 64bit.
If its ok and HS are licensed for SE, then please see details of my problem:
----OS and packages version
[oracle@aris_sv_db log]$ uname -a
Linux aris_sv_db 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:43:34 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[oracle@aris_sv_db log]$
[oracle@aris_sv_db log]$ rpm -qa | grep odbc
[oracle@aris_sv_db log]$ rpm -qa | grep unixodbc
[oracle@aris_sv_db log]$ rpm -qa | grep unixODBC
unixODBC-libs-2.2.11-10.el5
unixODBC-libs-2.2.11-10.el5
unixODBC-devel-2.2.11-10.el5
unixODBC-2.2.11-10.el5
unixODBC-devel-2.2.11-10.el5
[oracle@aris_sv_db log]$ rpm -qa | grep freetds
freetds-0.91-1.el5.rf
[oracle@aris_sv_db log]$
-----ODBC.INI, ODBCINST.INI and FREETDS.CONF
[oracle@aris_sv_db log]$ more /home/oracle/.odbc.ini
[ENERGOPLAN]
Driver = FreeTDS
Servername = ENERGOPLAN
Database = ess2
[oracle@aris_sv_db log]$
[oracle@aris_sv_db log]$ more /etc/odbcinst.ini
# Example driver definitions
[FreeTDS]
Description = MSSQL Driver
Driver = /usr/lib64/libtdsodbc.so.0
#Setup = /usr/lib64/libtdsodbc.so.0
#Driver = /usr/lib64/libodbc.so
#Driver = /usr/lib/libodbc.so
UsageCount = 1
Trace = Yes
TraceFile = /tmp/freetds.log
[ODBC]
DEBUG = 1
TraceFile = /tmp/sqltrace.log
Trace = Yes
[oracle@aris_sv_db log]$
[oracle@aris_sv_db log]$ more /etc/freetds.conf
# A typical Microsoft server
[ENERGOPLAN]
host = 192.168.10.64
port = 1433
tds version = 8.0
# client charset = UTF-8
client charset = cp1251
[oracle@aris_sv_db log]$
----CHECK CONNECT from ODBC
[oracle@aris_sv_db log]$ isql -v ENERGOPLAN user pass
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL> select count(*) from EnergyType;
| |
| 8 |
SQLRowCount returns 1
1 rows fetched
SQL> [oracle@aris_sv_db log]$ tsql -S ENERGOPLAN -U user -P pass
locale is "en_US.UTF-8"
locale charset is "UTF-8"
using default charset "cp1251"
1> select count(*) from EnergyType;
2> go
8
(1 row affected)
1> [oracle@aris_sv_db log]$
----LISTENER.ORA, TNSNAMES and initENERGOPLAN.ora
[oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_ENERGOPLAN =
(SID_LIST =
(SID_DESC=
(SID_NAME=ENERGOPLAN)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM=dg4odbc)
(ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib")
ENERGOPLAN =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.72)(PORT = 1523))
ADR_BASE_LISTENER = /u01/app/oracle
[oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ENERGOPLAN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.72)(PORT=1523))
(CONNECT_DATA=(SID=ENERGOPLAN))
(HS=OK)
[oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/initENERGOPLAN.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = ENERGOPLAN
#HS_FDS_CONNECT_INFO = 192.168.0.199:1433//test
HS_FDS_TRACE_LEVEL = DEBUG
#HS_FDS_TRACE_FILE_NAME = /tmp/hs1.log
HS_FDS_TRACE_FILE_NAME = /u01/app/oracle/product/11.2.0/dbhome_1/hs/log/mytrace.log
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so #/usr/lib64/libtdsodbc.so.0
#HS_FDS_SHAREABLE_NAME = /usr/lib64/libtdsodbc.so.0
#HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
#HS_LANGUAGE=american_america.we8iso8859p1
#HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
#HS_LANGUAGE=AMERICAN_AMERICA.CL8MSWIN1251
#HS_LANGUAGE=RUSSIAN_RUSSIA.UTF8
#HS_LANGUAGE=Russian_CIS.AL32UTF-8
#HS_FDS_FETCH_ROWS=1
HS_NLS_NCHAR = UCS2
HS_FDS_SQLLEN_INTERPRETATION=32
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
set ODBCINSTINI=/etc/odbcinst.ini
#HS_KEEP_REMOTE_COLUMN_SIZE=ALL
#HS_NLS_LENGTH_SEMANTICS=CHAR
#HS_FDS_SUPPORT_STATISTICS=FALSE
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
[oracle@aris_sv_db log]$
[oracle@aris_sv_db log]$ tnsping ENERGOPLAN
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 01-APR-2013 16:27:49
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.72)(PORT=1523)) (CONNECT_DATA=(SID=ENERGOPLAN)) (HS=OK))
OK (0 msec)
[oracle@aris_sv_db log]$
----CREATE DBLINK and test from sqlplus
CREATE DATABASE LINK "ENERGOPLAN" CONNECT TO "user" IDENTIFIED BY "pass" USING 'ENERGOPLAN';
[oracle@aris_sv_db log]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 1 16:30:14 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
SQL> select count(*) from EnergyType@ENERGOPLAN;
select count(*) from EnergyType@ENERGOPLAN
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver does not support this function {IM001}
ORA-02063: preceding 2 lines from ENERGOPLAN
SQL>
----logs from hs and odbc
[oracle@aris_sv_db log]$ tail -50 ENERGOPLAN_agt_12117.trc
12 VARCHAR N 100 100 0/ 0 1000 0 200 ConsumptionYearCostUOM
3 DECIMAL N 24 24 9/ 3 0 0 0 ConsumptionYearFactorAmount
-7 BIT N 1 1 0/ 0 0 0 20 NeedToBeApprovedByREK
Exiting hgodtab, rc=0 at 2013/04/01-16:30:42
Entered hgodafr, cursor id 0 at 2013/04/01-16:30:42
Free hoada @ 0x14e5fd20
Exiting hgodafr, rc=0 at 2013/04/01-16:30:42
Entered hgopars, cursor id 1 at 2013/04/01-16:30:42
type:0
SQL text from hgopars, id=1, len=36 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 2022454E 45524759 54595045 [FROM "ENERGYTYPE]
20: 22204131 [" A1]
Exiting hgopars, rc=0 at 2013/04/01-16:30:42
Entered hgoopen, cursor id 1 at 2013/04/01-16:30:42
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2013/04/01-16:30:42
Entered hgodscr, cursor id 1 at 2013/04/01-16:30:42
Allocate hoada @ 0x14e5fd80
Entered hgodscr_process_sellist_description at 2013/04/01-16:30:42
Entered hgopcda at 2013/04/01-16:30:42
Column:1(): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/04/01-16:30:42
Entered hgopoer at 2013/04/01-16:30:42
hgopoer, line 231: got native error 0 and sqlstate IM001; message follows...
[unixODBC][Driver Manager]Driver does not support this function {IM001}
Exiting hgopoer, rc=0 at 2013/04/01-16:30:42
hgodscr, line 407: calling SQLSetStmtAttr got sqlstate IM001
Free hoada @ 0x14e5fd80
hgodscr, line 464: NO hoada to print
Exiting hgodscr, rc=28500 at 2013/04/01-16:30:42 with error ptr FILE:hgodscr.c LINE:407 FUNCTION:hgodscr() ID:Set array fetch size
Entered hgoclse, cursor id 1 at 2013/04/01-16:31:24
Exiting hgoclse, rc=0 at 2013/04/01-16:31:24
Entered hgocomm at 2013/04/01-16:31:24
keepinfo:0, tflag:1
00: 4F52434C 2E343535 32623466 342E362E [ORCL.4552b4f4.6.]
10: 32322E37 363237 [22.7627]
tbid (len 20) is ...
00: 4F52434C 5B362E32 322E3736 32375D5B [ORCL[6.22.7627][]
10: 312E345D [1.4]]
cmt(0):
Entered hgocpctx at 2013/04/01-16:31:24
Exiting hgocpctx, rc=0 at 2013/04/01-16:31:24
Exiting hgocomm, rc=0 at 2013/04/01-16:31:24
Entered hgolgof at 2013/04/01-16:31:24
tflag:1
Exiting hgolgof, rc=0 at 2013/04/01-16:31:24
Entered hgoexit at 2013/04/01-16:31:24
Exiting hgoexit, rc=0
[oracle@aris_sv_db log]$
[oracle@aris_sv_db log]$ tail -50 /tmp/sqltrace.log
Native = 0x7fff6ca974f4
Message Text = 0x14e5f968
Buffer Length = 510
Text Len Ptr = 0x7fff6ca97750
[ODBC][12117][SQLGetDiagRecW.c][582]
Exit:[SQL_SUCCESS]
SQLState = IM001
Native = 0x7fff6ca974f4 -> 0
Message Text = [[unixODBC][Driver Manager]Driver does not support this function]
[ODBC][12117][SQLGetDiagRecW.c][540]
Entry:
Statement = 0x14e399f0
Rec Number = 2
SQLState = 0x7fff6ca97700
Native = 0x7fff6ca974f4
Message Text = 0x14e5f908
Buffer Length = 510
Text Len Ptr = 0x7fff6ca97750
[ODBC][12117][SQLGetDiagRecW.c][582]
Exit:[SQL_NO_DATA]
[ODBC][12117][SQLEndTran.c][315]
Entry:
Connection = 0x14dbd4b0
Completion Type = 0
[ODBC][12117][SQLGetInfo.c][214]
Entry:
Connection = 0x14dbd4b0
Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
Info Value = 0x7fff6ca9781e
Buffer Length = 8
StrLen = 0x7fff6ca9781c
[ODBC][12117][SQLGetInfo.c][528]
Exit:[SQL_SUCCESS]
[ODBC][12117][SQLEndTran.c][488]
Exit:[SQL_SUCCESS]
[ODBC][12117][SQLDisconnect.c][204]
Entry:
Connection = 0x14dbd4b0
[ODBC][12117][SQLDisconnect.c][341]
Exit:[SQL_SUCCESS]
[ODBC][12117][SQLFreeHandle.c][268]
Entry:
Handle Type = 2
Input Handle = 0x14dbd4b0
[ODBC][12117][SQLFreeHandle.c][317]
Exit:[SQL_SUCCESS]
[ODBC][12117][SQLFreeHandle.c][203]
Entry:
Handle Type = 1
Input Handle = 0x14dbb0c0
[oracle@aris_sv_db log]$To see which ODBC function DG4ODBC is looking for and unixODBC isn't supporting it would be best to get an ODBC trace file. But as your unixODBC driver (unixODBC-2.2.11-10.el5) is outdated and these old drivers had a lot of issues when being used on 64bit operating systems (for example wrong sizeofint etc). So best would be to update the unixODBC Driver manager to release 2.3.x. More details can be found on the web site: www.unicodbc.org
- Klaus -
After renaming my MAC hard drive, Acrobat, Illustrator and Bridge fail to launch. Acrobat returns the error message "An internal error occurred". I've checked this out and it seems related to user permissions. The version is Acrobat X. My machine has multiple user accounts. Any help would be appreciated. I renamed the drive to its original name but to no effect. RR
I resolved the issue.
The problem is indeed a permissions issue with the Adobe Application Support folder.
First, in MAC OS Lion the ~/Library/ folder is hidden by default. You must unhide it in order to proceed. (if it is already visible in your ~/User/ folder, proceed to Step 4.)
Next launch the Terminal application.
At the command line, paste the following command line: chflags nohidden ~/Library/
Go to /Users/youruserid/Library/Application Support/Adobe
Get info on the ~/Adobe folder and reset your permissions to read/write and apply to all enclosed folders
Problem solved. RR -
Problems using unixODBC Driver for 64-bit Linux
Good morning
We are incurring a problem with the unixODBC Driver via Oracle Heterogeneous Services for connecting from a 64-bit SUSE Linux Server to a Windows PostgreSQL database (8.2). Oracle is 11.2.0.3. We are receiving an error when retrieving SMALLINT data from PostGreSQL. This should "automagically" convert to NUMBER(5) in Oracle but we are receiving a conversion error.
Here is the text of the HS Trace file. Any help in diagnosing this would be much appreciated.
Oracle Corporation --- MONDAY DEC 17 2012 17:14:36.779
Heterogeneous Agent Release
11.2.0.3.0
Oracle Corporation --- MONDAY DEC 17 2012 17:14:36.778
Version 11.2.0.3.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
HOSGIP returned value of "50" for HS_OPEN_CURSORS
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
HOSGIP returned value of "0" for HS_IDLE_TIMEOUT
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"
HOSGIP returned value of "100" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
HOSGIP returned value of "TRUE" for HS_FDS_RSET_RETURN_ROWCOUNT
setting HS_FDS_PROC_IS_FUNC 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"
setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
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"
HOSGIP returned value of "64" 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 "dev"
Product-Info:
Port Rls/Upd:3/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:dev
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is american_america.we8mswin1252
LANG=en_US.UTF-8
HOCXU_SEM_VER=112000
HOSGIP for "HS_FDS_REMOTE_DB_CHARSET" returned "we8mswin1252"
Entered hgolofn at 2012/12/17-17:14:36
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/psqlodbcw.so"
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9530
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f4e70
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f8110
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f4f30
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f6d20
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5610
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f98e0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5790
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5880
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9b20
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5980
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5a60
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9de0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5b20
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f7370
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5d80
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5e00
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5f10
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5fa0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451fa160
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451fa130
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f97c0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f4f60
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f52e0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5530
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f53a0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5680
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f6eb0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9ec0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9bf0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9c60
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9c90
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9d40
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5bc0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f9f60
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5cd0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f5e80
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f74f0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f77a0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f7af0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451fa020
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451fa280
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451fa0b0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f63e0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Entered hgolofns at 2012/12/17-17:14:36
symbol_peflctx=0x451f66d0
hoaerr:0
Exiting hgolofns at 2012/12/17-17:14:36
Exiting hgolofn, rc=0 at 2012/12/17-17:14:36
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/12/17-17:14:36
Entered hgolgon at 2012/12/17-17:14:36
reco:0, name:onstar, tflag:0
Entered hgosuec at 2012/12/17-17:14:36
Exiting hgosuec, rc=0 at 2012/12/17-17:14:36
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "TRUE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using onstar as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/12/17-17:14:36
HS_FDS_CONNECT_INFO = "PecanStreetDB"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/12/17-17:14:36
dsn:PecanStreetDB, name:onstar
optn:
Entered hgocip at 2012/12/17-17:14:36
dsn:PecanStreetDB
Exiting hgocip, rc=0 at 2012/12/17-17:14:36
Exiting hgogenconstr, rc=0 at 2012/12/17-17:14:36
Entered hgolosf at 2012/12/17-17:14:37
Exiting hgolosf, rc=0 at 2012/12/17-17:14:37
DriverName:psqlodbcw.so, DriverVer:08.03.0200
DBMS Name:PostgreSQL, DBMS Version:PostgreSQL 8.2.15 (Greenplum Database 4.1.1.1 build 1 Community Edition) on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC)
Exiting hgocont, rc=0 at 2012/12/17-17:14:37
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2012/12/17-17:14:37
Entered hgoulcp at 2012/12/17-17:14:37
Entered hgowlst at 2012/12/17-17:14:37
Exiting hgowlst, rc=0 at 2012/12/17-17:14:37
SQLGetInfo returns 0x1d for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xa
SQLGetInfo returns 64 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 64 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
2 instance capabilities will be uploaded
capno:1989, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2012/12/17-17:14:37
Entered hgouldt at 2012/12/17-17:14:37
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/12/17-17:14:37
Entered hgobegn at 2012/12/17-17:14:37
tflag:0 , initial:1
hoi:0xcca42008, ttid (len 27) is ...
00: 534D5254 47524444 2E306635 35343862 [SMRTGRDD.0f5548b]
10: 352E392E 392E3732 323038 [5.9.9.72208]
tbid (len 24) is ...
00: 534D5254 47524444 5B392E39 2E373232 [SMRTGRDD[9.9.722]
10: 30385D5B 312E345D [08][1.4]]
Exiting hgobegn, rc=0 at 2012/12/17-17:14:38
Entered hgodtab at 2012/12/17-17:14:38
count:1
table: dev.onstar_view
Allocate hoada[0] @ 0x7794d0
Entered hgopcda at 2012/12/17-17:14:38
Column:1(dataid): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:2(timestamp_localtime): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:3(use): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:4(gen): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:5(grid): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:6(air): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:7(furnace): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
Entered hgopcda at 2012/12/17-17:14:38
Column:8(car): dtype:2 (NUMERIC), prc/scl:28/6, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2012/12/17-17:14:38
The hoada for table dev.onstar_view follows...
hgodtab, line 1092: Printing hoada @ 0x7794d0
MAX:8, ACTUAL:8, BRC:1, WHT=6 (TABLE_DESCRIBE)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
5 SMALLINT Y 2 2 0/ 0 0 0 0 dataid
91 DATE Y 16 16 0/ 0 0 0 0 timestamp_localtime
3 DECIMAL Y 31 31 28/ 6 0 0 0 use
3 DECIMAL Y 31 31 28/ 6 0 0 0 gen
3 DECIMAL Y 31 31 28/ 6 0 0 0 grid
3 DECIMAL Y 31 31 28/ 6 0 0 0 air
3 DECIMAL Y 31 31 28/ 6 0 0 0 furnace
3 DECIMAL Y 31 31 28/ 6 0 0 0 car
Exiting hgodtab, rc=0 at 2012/12/17-17:14:38
Entered hgodafr, cursor id 0 at 2012/12/17-17:14:38
Free hoada @ 0x7794d0
Exiting hgodafr, rc=0 at 2012/12/17-17:14:38
Entered hgopars, cursor id 1 at 2012/12/17-17:14:38
type:0
SQL text from hgopars, id=1, len=40 ...
00: 53454C45 43542022 64617461 69642220 [SELECT "dataid" ]
10: 46524F4D 20226465 76222E22 6F6E7374 [FROM "dev"."onst]
20: 61725F76 69657722 [ar_view"]
Exiting hgopars, rc=0 at 2012/12/17-17:14:40
Entered hgoopen, cursor id 1 at 2012/12/17-17:14:40
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2012/12/17-17:14:40
Entered hgodscr, cursor id 1 at 2012/12/17-17:14:40
Allocate hoada @ 0x779478
Entered hgodscr_process_sellist_description at 2012/12/17-17:14:40
Entered hgopcda at 2012/12/17-17:14:40
Column:1(dataid): dtype:5 (SMALLINT), prc/scl:5/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/12/17-17:14:40
hgodscr, line 464: Printing hoada @ 0x779478
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
5 SMALLINT Y 2 2 0/ 0 0 0 0 dataid
Exiting hgodscr, rc=0 at 2012/12/17-17:14:40
Entered hgoftch, cursor id 1 at 2012/12/17-17:14:40
hgoftch, line 133: Printing hoada @ 0x779478
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
5 SMALLINT Y 2 2 0/ 0 0 0 0 dataid
Performing delayed open.
SQLBindCol: column 1, cdatatype: -15, bflsz: 2
SQLFetch: row: 1, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 1, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 2, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 2, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 3, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 3, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 4, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 4, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 5, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 5, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 6, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 6, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 7, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 7, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 8, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 8, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 9, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 9, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 10, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 10, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 11, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 11, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 12, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 12, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 13, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 13, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 14, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 14, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 15, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 15, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 16, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 16, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 17, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 17, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 18, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 18, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 19, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 19, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 20, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 20, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 21, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 21, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 22, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 22, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 23, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 23, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 24, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 24, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 25, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 25, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 26, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 26, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 27, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 27, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 28, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 28, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 29, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 29, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 30, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 30, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 31, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 31, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 32, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 32, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 33, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 33, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 34, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 34, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 35, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 35, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 36, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 36, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 37, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 37, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 38, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 38, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 39, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 39, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 40, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 40, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 41, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 41, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 42, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 42, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 43, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 43, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 44, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 44, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 45, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 45, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 46, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 46, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 47, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 47, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 48, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 48, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 49, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 49, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 50, column 1, bflsz: 2, bflar: 2
SQLFetch: row: 50, column 1, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 51, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 51, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 52, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 52, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 53, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 53, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 54, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 54, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 55, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 55, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 56, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 56, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 57, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 57, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 58, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 58, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 59, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 59, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 60, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 60, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 61, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 61, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 62, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 62, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 63, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 63, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 64, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 64, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 65, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 65, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 66, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 66, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 67, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 67, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 68, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 68, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 69, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 69, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 70, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 70, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 71, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 71, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 72, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 72, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 73, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 73, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 74, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 74, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 75, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 75, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 76, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 76, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 77, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 77, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 78, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 78, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 79, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 79, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 80, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 80, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 81, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 81, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 82, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 82, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 83, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 83, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 84, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 84, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 85, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 85, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 86, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 86, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 87, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 87, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 88, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 88, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 89, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 89, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 90, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 90, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 91, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 91, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 92, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 92, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 93, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 93, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 94, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 94, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 95, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 95, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 96, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 96, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 97, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 97, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 98, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 98, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 99, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 99, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
SQLFetch: row: 100, column 1, bflsz: 2, bflar: 0
SQLFetch: row: 100, column 1, bflsz: 2, bflar: 0, (bfl: 2, mbl: 2)
100 rows fetched
Exiting hgoftch, rc=0 at 2012/12/17-17:14:40
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Read error.
Entered hgoroll at 2012/12/17-17:15:36
tflag:0 , cmt(38):Unexpected EOF from Oracle - Rollback
hoi:0x756988, ttid (len 27) is ...
00: 534D5254 47524444 2E306635 35343862 [SMRTGRDD.0f5548b]
10: 352E392E 392E3732 323038 [5.9.9.72208]
tbid (len 24) is ...
00: 534D5254 47524444 5B392E39 2E373232 [SMRTGRDD[9.9.722]
10: 30385D5B 312E345D [08][1.4]]
Entered hgocpctx at 2012/12/17-17:15:36
Exiting hgocpctx, rc=0 at 2012/12/17-17:15:36
Exiting hgoroll, rc=0 at 2012/12/17-17:15:36
Entered hgodafr, cursor id 1 at 2012/12/17-17:15:36
Free hoada @ 0x779478
Exiting hgodafr, rc=0 at 2012/12/17-17:15:36
Entered hgolgof at 2012/12/17-17:15:36
tflag:0
Exiting hgolgof, rc=0 at 2012/12/17-17:15:36
Entered hgoexit at 2012/12/17-17:15:36
Exiting hgoexit, rc=0Update
Changed the support flag to 32 bit and all now works.
SPK -
Isql | unixODBC | Driver Manager can't open lib "libsqora.so.12.1"
hi all...
i try to acces oracle from postgre..
i use ODBC..
first i try to acces oracle from isql and i got error that driver manager can't open libsqora.so.12.1
this is my configuration
odbc.ini
[XE]
Description = Oracle ODBC
Driver = XE
Trace = yes
TraceFile = /tmp/odbc_oracle.log
Database = //192.168.102.202:1521/XE
UserID = system
Password = password
Port = 1521
odbcinst.ini
[XE]
Description = Oracle ODBC Connection Driver
Driver = root/download/odbc/instantclient_12_1/libsqora.so.12.1
Debug = 0
CommLog = 1
tnsname.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.102.202)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
then, when i use isql to acces oracle i got that error:
[root@oracle-poc ~]# isql -v XE
[01000][unixODBC][Driver Manager]Can't open lib 'root/download/odbc/instantclient_12_1/libsqora.so.12.1' : file not found
[ISQL]ERROR: Could not SQLConnect
whats wrong with my configuration, can anyone help me??
thanks,
Danieldear kgronau,
this is the result of "ls -al linsqora.so.12.1"
[root@oracle-poc instantclient_12_1]# ls -al libsqora.so.12.1
-rwxrwxrwx 1 root root 3303791 May 27 14:49 libsqora.so.12.1
i tried use ldd for libsqora and had this result
[root@oracle-poc instantclient_12_1]# ldd -v libsqora.so.12.1
linux-gate.so.1 => (0x00b4e000)
libdl.so.2 => /lib/libdl.so.2 (0x006f8000)
libm.so.6 => /lib/libm.so.6 (0x00b1f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00829000)
libnsl.so.1 => /lib/libnsl.so.1 (0x008d4000)
librt.so.1 => /lib/librt.so.1 (0x009cd000)
libclntsh.so.12.1 => /usr/lib/libclntsh.so.12.1 (0xf5628000)
libodbcinst.so.2 => not found
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x00f73000)
libnnz12.so => /usr/lib/libnnz12.so (0x00f93000)
libons.so => /usr/lib/libons.so (0x00484000)
libaio.so.1 => not found
libclntshcore.so.12.1 => not found
libclntshcore.so.12.1 => not found
Version information:
./libsqora.so.12.1:
librt.so.1 (GLIBC_2.2) => /lib/librt.so.1
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
/lib/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
/lib/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libpthread.so.0:
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libnsl.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/librt.so.1:
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_PRIVATE) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/usr/lib/libclntsh.so.12.1:
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.3.3) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libm.so.6 (GLIBC_2.1) => /lib/libm.so.6
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
libc.so.6 (GLIBC_2.1.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libaio.so.1 (LIBAIO_0.4) => not found
libaio.so.1 (LIBAIO_0.1) => not found
libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
/usr/lib/libnnz12.so:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/usr/lib/libons.so:
libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libodbcinst.so.2 => not found (i had copy that to lib but still not found)
libaio.so.1 => not found
libclntshcore.so.12.1 => not found
libclntshcore.so.12.1 => not found
i try to copy many file to lib and still nit found, whats wrong??
thanks,
Daniel -
Hi,
I'm running
Red Hat Linux 5, MySQL and BOXI 3.1
I try and schedule a report in the CMC and the report fails with the error
A database error occured. The database error text is: {Driver Manager} Data source name not found, and no default driver specified. (WIS 10901)
I've went through the steps in the Bus Obj's Documentation outlining how to install the unixODBC (though this doco was for R2 - I'm not certain whether this install is needed for 3.1).
Error WIS 10901 details
Database error: . Contact your administrator or database supplier+
for more information. (WIS 10901)
The database that provides the data to this document has generated an error.
Cause
Details about the error are provided in the section of the message indicated
+by the field code: .
Contact your BusinessObjects administrator with the error message
Action
information or consult the documentation provided by the supplier of the
database.
Any pointers suggestions on how to set up correctly the unixODBC will be looked into.
Thanks for taking the time to view this post.
CheersHi again Aravind,
I hope you're not beginning to wish you had never answered that first question from me since it seems as if I'm now backing up the truck with regard to the entire question. If I'm asking too much from you let me know I don't wanna overstep the line with repect to what should and shouln't be asked in these forums'
anyway I looked in that env.sh script. It was huge (pity I can't attach the file, I've appended it but it makes these threads somewhat lengthy)
DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
export DEFAULT_ODBCFILE
+ODBC_HOME="$odbc"+
export ODBC_HOME
also
# setup the mysql env variables
if [ -d "$BOBJEDIR"/mysql ]; then
# mysql env variables
set up the odbc symlink to work around:*
The DataDirect SQL Server ODBC driver on UNIX will not function properly under a*
locale other than "en_US" due to strong dependencies on their locale files.*
MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
export MYSQL_UNIX_PORT
We want to be able to source the config file multiple times.
fi
if [ -d "$BOBJEDIR"/tomcat ]; then
set the JAVA_OPTS for tomcat
I see what you were referring to earlier with
if [ -d "$ODBC_HOME/locale" ]; then
the javascript files are kept here
The machine name
The user name
MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`The default registry
if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
fi
fi
Again cheers for your help in this matter.
#!/bin/sh
BOBJEDIR="/home/eberwick/BO_3_1/bobje/"
export BOBJEDIR
BODIR="`dirname $BOBJEDIR`/"
export BODIR
DEFAULTFILE="$
check for existence of u flag, if it is there, turn it off.
Set a flag so we don't source the environment more than once
webi config file
ccm.config"
if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
. "${BOBJEDIR?}setup/modify_ko_locale.sh"
SOFTWARE=`uname -s`
OBJECT_MODEL=`grep Platform $BODIR/setup/ProductID.txt | awk '{print $4;}'`
[ -z "$OBJECT_MODEL" ] && OBJECT_MODEL=32
SOFTWAREPATH=`grep SoftwarePath $BODIR/setup/ProductID.txt | awk '{print $3;}'`
U_FLAG=0
if [ X"$SOFTWARE" = "XHP-UX" ]; then
unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
raise the ulimits to max allowed
undo that bug workaround from above
figure out what architecture we're on
now that we're localized, deal with unknown architecture
we include English, as localization may have failed
set the JDK variable
if [ x`echo $- | grep "u"` != "x" ]; then
set +u
U_FLAG=1
fi
fi
if [ x"$BOBJE_ENV_SOURCED" = x ]; then
if [ -f "$setup/boconfig.cfg" ]; then
HKEY_LOCAL_MACHINE="$setup/boconfig.cfg"
export HKEY_LOCAL_MACHINE
fi
BOBJE_ENV_SOURCED="true"
export BOBJE_ENV_SOURCED
BOBJEVERSION="12.0"
export BOBJEVERSION
LANGWAS="$LANG"
unset LANG
LC_ALLWAS="$LC_ALL"
unset LC_ALL
ulimit -Sn `ulimit -Hn` # max file descriptors
ulimit -S -c `ulimit -H -c` # max core file size
ulimit -S -d `ulimit -H -d` # max data segment size
ulimit -S -f `ulimit -H -f` # max file size
ulimit -S -s `ulimit -H -s` # max stack
ulimit -S -t `ulimit -H -t` # max CPU time
LANG="$LANGWAS"; export LANG
unset LANGWAS
LC_ALL="$LC_ALLWAS"; export LC_ALL
unset LC_ALLWAS
case X"$SOFTWARE" in
XLinux) SOFTWARELC="linux"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12" ;;
XAIX) SOFTWARELC="aix"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX=".12.0${SHAREDLIBSUFFIX?}"; CB1SYMLINKLIBSUFFIX=".12${SHAREDLIBSUFFIX?}";;
XSunOS) SOFTWARELC="solaris"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
XHP-UX)
SOFTWARELC="hpux";
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
SHAREDLIBSUFFIX=".so";
else
SHAREDLIBSUFFIX=".sl";
fi
CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0";
CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
esac
export SOFTWAREPATH
export SOFTWARE
export SHAREDLIBSUFFIX
export CB1LIBSUFFIX
export CB1SYMLINKLIBSUFFIX
if [ "$SOFTWAREPATH" = "" ]; then
echo "$UNKNOWNPLATFORM (unknown platform): $SOFTWARE"
exit 1
fi
if [ -d "$BOBJEDIR"/jdk ]; then
JAVA_HOME="$jdk"
export JAVA_HOME
fi
JAVA_OPTS="-d$OBJECT_MODEL -Dbobj.enterprise.home=$
fi
setting AAHOME here so when CAD starts the value is set
enterprise120 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=false"
if [ "$SOFTWARE" = "AIX" -o "$SOFTWARE" = "SunOS" -o "$SOFTWARE" = "Linux" -o "$SOFTWARE" = "HP-UX" ]; then
JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=256m"
fi
export JAVA_OPTS
if [ -d "$Dashboard_Analytics_120" ]; then
AAHOME="$Dashboard_Analytics_120"
export AAHOME
fi
WCSDIR="$enterprise120/$SOFTWAREPATH/wcs/"
export WCSDIR
WCSBINDIR="$bin/"
export WCSBINDIR
WCSCOMPONENTDIR="$components/"
export WCSCOMPONENTDIR
BINDIR="$enterprise120/$SOFTWAREPATH/"
export BINDIR
LIBDIR="$enterprise120/$SOFTWAREPATH/"
export LIBDIR
PLUGINDIR="$enterprise120/packages/"
export PLUGINDIR
PLUGINDIST="$enterprise120/$SOFTWAREPATH/plugins/"
export PLUGINDIST
LOGDIR="$append the new valuelogging/"
export LOGDIR
if [ x"$BOE_LOGGER_ENVIRONMENT" = x ]; then
BOE_LOGGER_ENVIRONMENT="-loggingPath $LOGDIR"
else
BOE_LOGGER_ENVIRONMENT="$BOE_LOGGER_ENVIRONMENT -loggingPath $LOGDIR"
fi
export BOE_LOGGER_ENVIRONMENT
SCRIPTDIR="$enterprise120/generic/"
export SCRIPTDIR
JAVASCRIPTDIR="$setup/jscripts/"
export JAVASCRIPTDIR
MACHINENAME=`uname -n`
export MACHINENAME
removeUTF8SpecificsForKorean
STRIPPEDMACHINENAME=`hostname | sed -e 's/\..*//'`
export STRIPPEDMACHINENAME
if [ x"$BOBJEUSERNAME" = x ]; then
BOBJEUSERNAME=`id | sed -e "s|).\$||" -e "s|^.(||" `
export BOBJEUSERNAME
fi
restoreUTF8SpecificsForKorean
DEFAULT_REGFILE="$BOBJEDIR"setup/.defaultreg
export DEFAULT_REGFILE
REGFILE="$BOBJEDIR"data/.bobj
export REGFILE
BOE_REGISTRYHOME="$REGFILE/registry"
export BOE_REGISTRYHOME
DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
export DEFAULT_ODBCFILE
ODBC_HOME="$odbc"
export ODBC_HOME
the PID file location
PIDDIR="$BOBJEDIR"serverpids
export PIDDIR
SQLRULEDIRECTORY="$LIBDIR"
export SQLRULEDIRECTORY
PATH="$BINDIR:$crpe/xvfb:$PATH"
export PATH
CRPEPATH="$enterprise120/$SOFTWAREPATH/crpe/"
export CRPEPATH
MWHOME="$mw/"
export MWHOME
BOBJEXVFBPATH="$xvfb/"
export BOBJEXVFBPATH
MWUSER_DIRECTORY="$once the crpe is in, we should exit if this file doesn't exist.
Uncomment this to turn off Xvfb security and allow connections from
everyone.
MW_XVFB_AC="1"
export MW_XVFB_AC
Use a seperate .Xauthority file. Comment out this line if you want
to use the user's .Xauthority file for storing the Xvfb authentication
tokens.
registry/"
export MWUSER_DIRECTORY
MWRT_MODE="professional"
export MWRT_MODE
MWREGISTRY=":$MWUSER_DIRECTORY/hklm_$
Mainwin can deadlock unless this is set
Prevents Mainwin from popping up dialogs in some situations, causing a deadlock
variables merged from RAS
XVFB Manager
Environment Variables:
MW_XVFB_EXE = Name of the Xvfb exe.
Default is 'Xvfb'.
MW_XVFB_DAEMON = Name of the XvfbDaemon exe.
Default is 'XvfbDaemon'.
MW_XVFB_DAEMON_PORT = Port number that Xvfb Daemon will listen too.
Default is 5222.
MW_XVFB_DAEMON_HOST = Host on which the XvfbDeamon is running.
Default is Local host.
MW_XVFB_DAEMON_XVFB = Number of Xvfb to run.
Default is '5'.
MW_XVFB_DAEMON_DISPLAY = Starting display number for Xvfb.
Default is '1'.
MW_XVFB_DAEMON_PROFILE = Path to the Security Profile for Xvfb.
Default is 'SecurityProfile'.
MW_XVFB_DAEMON_TRACE = Set to turn on tracing information.
Default is undefined.
MW_XVFB_DAEMON_DIE = Turn off the exit code if no more connections.
Default is undefined.
MW_XVFB_FONT = Locations from which to load font
By this symbol being defined, the checking for a current set display is disabled.
Set to turn on tracing info when defined. Default is undefined.
MW_XVFB_DAEMON_TRACE=defined
export MW_XVFB_DAEMON_TRACE
RAS Home
.bin"
export MWREGISTRY
MWCORE_PRIVATE_DATA="$MWUSER_DIRECTORY/core_data"
export MWCORE_PRIVATE_DATA
if [ -f "$MWHOME"setmwruntime ]; then
. "$MWHOME"setmwruntime
fi
MWNT_OLE_DOCS=true
export MWNT_OLE_DOCS
MWPRINTER_DPI=600
export MWPRINTER_DPI
MWVISUAL_CLASS="TrueColor"
export MWVISUAL_CLASS
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
MWTHREAD_STACK="200000"
else
MWTHREAD_STACK="FA000"
fi
export MWTHREAD_STACK
MWFONT_DIR_PATH="$fonts/"
export MWFONT_DIR_PATH
MW_XVFB_DAEMON_FONT="$misc/"
export MW_XVFB_DAEMON_FONT
XAUTHORITY="$xvfb/.Xauthority"
export XAUTHORITY
MWDEBUG_LEVEL=0
export MWDEBUG_LEVEL
MWINVISIBLE_DISPLAY=1
export MWINVISIBLE_DISPLAY
MWNO_SIGCHLD_IGNORE=1
export MWNO_SIGCHLD_IGNORE
MWLOOK=motif
export MWLOOK
MW_XVFB_DAEMON_PROFILE="$BOBJEXVFBPATH/SecurityPolicy"
export MW_XVFB_DAEMON_PROFILE
MW_XVFB_DAEMON_IGNORE_DISPLAY="true"
export MW_XVFB_DAEMON_IGNORE_DISPLAY
if [ "$SOFTWARE" = "HP-UX" ]; then
MW_XVFB_DAEMON_XVFB=10
else
MW_XVFB_DAEMON_XVFB=5
fi
export MW_XVFB_DAEMON_XVFB
MWNO_FILE_LOCKING=true
export MWNO_FILE_LOCKING
MWNO_SIGNAL_CATCHING=true
export MWNO_SIGNAL_CATCHING
RASHOME="$enterprise120/$SOFTWAREPATH/ras/"
export RASHOME
LIBRARYPATH="$LIBDIR:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:$enterprise120/$SOFTWAREPATH/crpe:$:$PLUGINDIST/desktop/CrystalEnterprise.Report:$enterprise120/$SOFTWAREPATH/ras:$
May optionally be set to MALLOCMULTIHEAP=heaps:n[,considersize]
where n is scaled to the number of CPUs (usually 2x).
Setting to MALLOCMULTIHEAP=1 enables system defaults.
setting MALLOCMULTIHEAP to 'considersize' fixes an AIX memory leak and significantly reduces the memory footprint.
env variable to fix the default cpu affinity
env variable to fix dlopen/dlclose behaviour to be more like ELF-based systems
aix thread stack overflow guarding : won't catch if overflow is more than 4k, but better than nothing
aix specific ulimit changes
unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
undo that bug workaround from above
set the aix thread scope to system (1:1)
better core naming for aix 5
Check if memory windows is enabled in the kernal parameters
We will support memory windows, either through the "BOE120_HP_MEMWIN_ID" environment variable,
or through the "BusinessObjectsEnterprise120" memory window key in /etc/services.window
Use memory windows if available on HP-UX.
For both HPUX Itanium and PA-RISC
Reduce the number of arenas from 8 (default) to 1 (min) which solves memory blowup issue.
Enable the thread local cache to compensate.
http://www.docs.hp.com/en/B2355-60130/malloc.3C.html
mysql/lib"
if [ "$SOFTWARE" = "AIX" ]; then
LIBPATH="$LIBRARYPATH:$LIBPATH"
export LIBPATH
if [ x"$MALLOCMULTIHEAP" = x ]; then
CRConfig env variable for DCP
MALLOCMULTIHEAP="considersize"
export MALLOCMULTIHEAP
fi
RT_GRQ=ON
export RT_GRQ
LDR_CNTRL=IGNOREUNLOAD
export LDR_CNTRL
AIXTHREAD_GUARDPAGES=1
export AIXTHREAD_GUARDPAGES
LANGWAS="$LANG"
unset LANG
LC_ALLWAS="$LC_ALL"
unset LC_ALL
ulimit -S -m `ulimit -H -m` # max memory
LANG="$LANGWAS"; export LANG
unset LANGWAS
LC_ALL="$LC_ALLWAS"; export LC_ALL
unset LC_ALLWAS
AIXTHREAD_SCOPE="S"
export AIXTHREAD_SCOPE
Version=`uname -v`
Release=`uname -r`
if [ "$Version" -gt 4 ]; then
CORE_NAMING=ON
export CORE_NAMING
fi
AIXTHREAD_MUTEX_DEBUG=OFF
export AIXTHREAD_MUTEX_DEBUG
AIXTHREAD_COND_DEBUG=OFF
export AIXTHREAD_COND_DEBUG
AIXTHREAD_RWLOCK_DEBUG=OFF
export AIXTHREAD_RWLOCK_DEBUG
elif [ "$SOFTWARE" = "HP-UX" ]; then
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/IA64W.0/server"
else
SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/PA_RISC2.0/server"
fi
export SHLIB_PATH
MAX_MEM_WINDOW=`/usr/sbin/kctune | grep max_mem_window | awk '{print $2}'`
if [[ "$MAX_MEM_WINDOW" != "0" ]]; then
if [[ "$BOE120_HP_MEMWIN_ID" = "" && -r "/etc/services.window" && -x "/usr/bin/getmemwindow" ]]; then
BOE120_HP_MEMWIN_ID="`/usr/bin/getmemwindow BusinessObjectsEnterprise120`"
export BOE120_HP_MEMWIN_ID
fi
if [[ -x "/usr/bin/setmemwindow" ]]; then
if [[ "$BOE120_HP_MEMWIN_ID" != "" ]]; then
CE_CMDLINE_PREFIX="/usr/bin/setmemwindow -f -i $BOE120_HP_MEMWIN_ID "
fi
fi
export CE_CMDLINE_PREFIX
fi
export MARENA_OPTS=1:8
export MCACHE_OPTS=100:8:0
elif [ "$SOFTWARE" = "Linux" ]; then
LD_LIBRARY_PATH="$LIBRARYPATH:$perl/lib/5.8.0/i386-linux-thread-multi/CORE:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH="$LIBRARYPATH:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
fi
CRCONFIGFILE="$java/CRConfig.xml"
if [ -f "$CRCONFIGFILE" ]; then
CRConfig11="$CRCONFIGFILE"
export CRConfig11
fi
if [ -d "$ODBC_HOME/locale" ]; then
set up the odbc symlink to work around:
The DataDirect SQL Server ODBC driver on UNIX will not function properly under a
locale other than "en_US" due to strong dependencies on their locale files.
MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`
if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
fi
fi
This was originally called TMPDIR, but now MainWin supports MW_TMPDIR, so we export MW_TMPDIR
ADAPT00506764 tracks the original issue with TMPDIR/Essbase Connectivity
MySQL now sets its TMPDIR in mysqlstartup.sh
set the tmp dir locally, if the value is not already set.
if [ x"$MW_TMPDIR" = x ]; then
if [ ! -d "$BOBJEDIR"/tmp ]; then
mkdir -p "$BOBJEDIR"/tmp
fi
MW_TMPDIR="$BOBJEDIR"/tmp
export MW_TMPDIR
fi
Comment this out to turn off custom Solaris memory allocator
if [ "$SOFTWAREPATH" = "solaris_sparc" ]; then
LD_PRELOAD="libhoard.so.1"
export LD_PRELOAD
Need to set up 64-bit specific library path so that 64-bit processes will
preload the 64-bit version of the memory allocator, and not the 32-bit version
LD_LIBRARY_PATH_64="$enterprise120/solaris_sparcv9"
export LD_LIBRARY_PATH_64
fi
setup the mysql env variables
if [ -d "$BOBJEDIR"/mysql ]; then
mysql env variables
MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
export MYSQL_UNIX_PORT
fi
call env.sh from sub-directories (presumably from add-on installs)
for dir in "${BOBJEDIR?}/setup"/*
do
if [ -r "${dir?}/env.sh" ]; then
. "${dir?}/env.sh"
fi
done
fi
if [ X"$SOFTWARE" = "XHP-UX" ]; then
check for existence of u_flag, if it is, turn it back on.
if [ "$U_FLAG" = 1 ]; then
set -u
fi
fi
Maybe you are looking for
-
Text in Flash Player looks crap only on my computer
Hi there, i have a news section on my website (not yet live) that has been designed in flash. The rest of the text on the site is in HTML. The text in the flash section looks really bad on my screen. Some of the text is thick and blurry and some is t
-
Connecting to a LIVE mySQL database via Dreamweaver (ASP)
Hi All, Have a bit of of an issue with connecting to my live database... I've created several sites in PHP and each time its been really easy to set up a connection to the live database (on a shared server), and work using live data... but I can't fi
-
TS1702 May i purchase products from app store using Debit card
MAY I PURCHASE APPS FROM APP STORE USING DEBIT CARD?
-
Flex motion library in 64 bits
Hello, I'm integrating NI 7342 motion board to control 1 axis drive in a 64 bits application. In my application, there are some sub-systems working in 64 bits. I can't use the WoW principe because of the others sub-systems working in 64 bits and didn
-
I have too much music for one ipod. What's the easiest way to sync half of you library on to one ipod and the other half on to another?