Skip to Content.
Sympa Menu

freetds - [freetds] Getting it to all work on HPUX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Michael Warchut" <mike AT warchut.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Getting it to all work on HPUX
  • Date: Tue, 3 Feb 2009 17:17:24 -0800

My battle continues. I now have a function FreeTDS .82 that passes make
check and I can login via TSQL. My goal is to get UnixODBC to work with
this driver as well as this is all going into Oracle DG4ODBC. When I try
to test from ISQL under unixodbc I get this error.



log.c:190:Starting log file for FreeTDS 0.82

on 2009-02-03 16:11:18 with debug flags 0x4fff.

iconv.c:197:names for ISO-8859-1: ISO8859-1

iconv.c:197:names for UTF-8: UTF-8

iconv.c:197:names for UCS-2LE: UCS-2LE

iconv.c:197:names for UCS-2BE: UCS-2BE

iconv.c:363:iconv to convert client-side data to the "ISO-8859-1" character
set

iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"

iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"

net.c:210:Connecting to 172.16.20.32 port 1433 (TDS version 8.0)

net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"

net.c:295:getsockopt(2) failed: Invalid argument

util.c:334:tdserror(6000000000010550, 6000000000038a40, 20009, 22)

odbc.c:2032:msgno 20009 20003

util.c:368:tdserror: client library returned TDS_INT_CANCEL(2)

util.c:389:tdserror: returning TDS_INT_CANCEL(2)

net.c:310:tds_open_socket() failed

mem.c:563:tds_free_all_results()

error.c:574:SQLError(0000000000000000, 60000000000302c0, 0000000000000000,
9fffffffffffdf5c, 9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

error.c:510:_SQLGetDiagRec(2, 60000000000302c0, 1, 9fffffffffffdf5c,
9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

error.c:574:SQLError(0000000000000000, 60000000000302c0, 0000000000000000,
9fffffffffffdf5c, 9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

error.c:510:_SQLGetDiagRec(2, 60000000000302c0, 1, 9fffffffffffdf5c,
9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

error.c:574:SQLError(0000000000000000, 60000000000302c0, 0000000000000000,
9fffffffffffdf5c, 9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

error.c:510:_SQLGetDiagRec(2, 60000000000302c0, 1, 9fffffffffffdf5c,
9fffffffffffdf58, 9fffffffffffe23b, 513, 9fffffffffffdf50)

odbc.c:3734:SQLFreeConnect(60000000000302c0)

odbc.c:3706:_SQLFreeConnect(60000000000302c0)

odbc.c:3757:SQLFreeEnv(600000000002e370)

odbc.c:3744:_SQLFreeEnv(600000000002e370)

[ISQL]ERROR: Could not SQLConnect





Any idea what might be causing it? When I try to connect with tsql it
looks like this and works fine.



locale is "C C C C C C"

locale charset is "roman8"

17:13:41.489682 11491 (log.c:190):Starting log file for FreeTDS 0.82

on 2009-02-03 17:13:41 with debug flags 0xffff.

17:13:41.530446 11491 (iconv.c:197):names for ISO-8859-1: ISO8859-1

17:13:41.530487 11491 (iconv.c:197):names for UTF-8: UTF-8

17:13:41.530515 11491 (iconv.c:197):names for UCS-2LE: UCS-2LE

17:13:41.530542 11491 (iconv.c:197):names for UCS-2BE: UCS-2BE

17:13:41.530578 11491 (iconv.c:363):iconv to convert client-side data to the
"roman8" character set

17:13:41.547390 11491 (iconv.c:516):tds_iconv_info_init: converting
"ROMAN8"->"UCS-2LE"

17:13:41.550099 11491 (iconv.c:516):tds_iconv_info_init: converting
"ISO-8859-1"->"UCS-2LE"

17:13:41.550241 11491 (net.c:210):Connecting to 172.16.20.32 port 1433 (TDS
version 8.0)

17:13:41.556496 11491 (net.c:264):tds_open_socket: connect(2) returned
"Operation now in progress"

17:13:41.556653 11491 (net.c:303):tds_open_socket() succeeded

17:13:41.556788 11491 (util.c:162):Changed query state from DEAD to IDLE

17:13:41.556912 11491 (login.c:735):quietly sending TDS 7+ login packet

17:13:41.561360 11491 (token.c:312):tds_process_login_tokens()

17:13:41.562516 11491 (net.c:592):Received header







Archive powered by MHonArc 2.6.24.

Top of Page