Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unable to connect: Adaptive Server is unavailable or does not exist

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris Adams <chris.a.adams AT state.or.us>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unable to connect: Adaptive Server is unavailable or does not exist
  • Date: Wed, 9 Jun 2010 15:48:32 +0000

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: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> bounces AT lists.ibiblio.org] 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
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page