Re: Unable to connect: Adaptive Server is unavailable or does not exist

Chris Adams <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <0B03FE68E0E760478D413F045B39A02822A97F@OSLEXCHANGE.osl.state.or.us.local>
Thank you for your reply. I did a 'make uninstall', then ran these commands:

./configure --prefix=/usr/local --with-tdsver=8.0 (is that correct for SQL 2005?)

Things seemed to go okay. These are the results when I run the tsql command. 


log.c:190:Starting log file for FreeTDS 0.82
   on 2010-06-09 08:47:30 with debug flags 0x4fff.
iconv.c:197:names for ISO-8859-1: ISO-8859-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 "UTF-8" character set
iconv.c:516:tds_iconv_info_init: converting "UTF-8"->"UCS-2LE"
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:210:Connecting to 159.121.122.6 port 1443 (TDS version 8.0)
net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:299:getsockopt(2) reported: Connection refused
util.c:334:tdserror(0x98e50a8, 0x98e5a60, 20009, 115)
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()
Christopher Adams

> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] On Behalf Of Daniel Fazekas
> Sent: Wednesday, June 09, 2010 8:30 AM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Unable to connect: Adaptive Server is
> unavailable or does not exist
> 
> On Jun 9, 2010, at 17:25, Chris Adams wrote:
> 
> > net.c:210:Connecting to 159.121.122.6 port 1443 (TDS version 5.0)
> 
> TDS 5.0 is for Sybase servers only.
> You'll have to configure the correct TDS version.
> 
> http://freetds.org/userguide/freetdsconf.htm
> 
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.