[freetds] Issue connecting to SQL Server from Linux Host with newer versions of FreeTDS...

Glenn, Chris Glenn at addsys.com
Mon Nov 27 09:06:22 EST 2006


Hi all-

I'm having an issue to connecting from a Red Hat Linux host to a SQL
Server.  I have older copies of FreeTDS that can connect (the 'newest'
that I have that works is the freetds-0.65.dev.20060224 build).  I have
been downloading and trying nightly builds since October without any
success.

Below is the 'logging' excerpt when executing a 'tsql' command to
connect to the server;

		util.c:292:Starting log file for FreeTDS
0.65.dev.20061127
		        on 2006-11-27 08:36:43 with debug flags 0x4fff.
		iconv.c:195:names for ISO-8859-1: ISO-8859-1
		iconv.c:195:names for UTF-8: UTF-8
		iconv.c:195:names for UCS-2LE: UCS-2LE
		iconv.c:195:names for UCS-2BE: UCS-2BE
		iconv.c:361:iconv to convert client-side data to the
"ANSI_X3.4-1968" character set
		iconv.c:514:tds_iconv_info_init: converting
"US-ASCII"->"UCS-2LE"
		iconv.c:514:tds_iconv_info_init: converting
"ISO-8859-1"->"UCS-2LE"
		net.c:184:Connecting to 10.3.2.40 port 1433 (TDS version
7.0)
		net.c:257:tds_open_socket: 10.3.2.40:1433: Invalid
argument
		util.c:120:Changing query state from IDLE to DEAD
		token.c:2221:tds_client_msg: #20003: "SQL Server
connection timed out.".  Connection state is now 4.
		mem.c:565:tds_free_all_results()


Thanks in advance for your assistance.



More information about the FreeTDS mailing list