Skip to Content.
Sympa Menu

freetds - Re: connect: Can't assign requested address

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris Wood <cwood AT wencor.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: connect: Can't assign requested address
  • Date: Tue, 1 May 2001 21:47:25 -0600 (MDT)



Adding it to the hosts file and referencing it by name worked, rather than
using the IP. Thanks! I wouldn't have figured that one out. :)

On Tue, 1 May 2001, Fabien Roy wrote:

> Try to put the name of the machine in the interface file and an
> entry in your /etc/hosts file or adjust your dns accordingly.
> I will try to download the latest snapshot and do some debugging on
> gethostbyaddr().
>
> Fabien.
>
> > I'm trying to debug the connection between freetds and ms-sql 6.5.
> I am
> > getting the errors below on any attempt to connect to the database with
> > "make check". I have verified that I can use this username/password to
> > connect to this server from my Windows workstation.
> >
> > Any ideas what is causing this error? I saw one other person in the
> > archive with this error, but no solution was given.
> >
> > ---snip---
> > t0001.c: Testing login, logout
> > connect: Can't assign requested address
> > tds_connect() failed
> > try_tds_login() failed
> > FAIL: t0001
> > t0002.c: Test basic submit query, results
> > connect: Can't assign requested address
> > tds_connect() failed
> > try_tds_login() failed
> > FAIL: t0002
> > t0003.c: Testing DB change -- 'use tempdb'
> > connect: Can't assign requested address
> > tds_connect() failed
> > try_tds_login() failed
> > FAIL: t0003
> > ---snip---
> >
> > ---interfaces---
> > DOCUPACT
> > query tcp 4.2 10.101.2.1 1433
> > master tcp ether 10.101.2.1 1433
> >
> > --environment--
> > Marvin# echo $SYBASE
> > /usr/local/freetds
> > Marvin# echo $LD_LIBRARY_PATH
> > /usr/local/freetds/lib
> >
>
> ---
> You are currently subscribed to freetds as: [cwood AT wencor.com]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>

--

-=-=-=-=-=-
Chris Wood Kitco, Inc. Dixie Aerospace
801-489-2097 Wencor West, Inc. Durham Aircraft Serv.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.24.

Top of Page