No route to host

Brian Bruns camber at umcc.ais.org
Thu Dec 9 19:18:54 EST 1999



Ok, it might be a good idea to grab 0.50 anyway.  Add the following line
in src/tds/login.c at line 123 in the tds_connect() function (just before
the call to socket())

tdsdump_log("%L Connecting addr %s port %d\n", inet_ntoa(sin.sin_addr),
            ntohs(sin.sin_port));

Then turn on logging (export TDSDUMP=freetds.log or similar) and when the
connect fails see what's in the file.

Brian

On Thu, 9 Dec 1999, Nikos Mouat wrote:

> 
> Hi Brian,
>    I can happily add debugging code to mine, I get those messages all the
> time. Should I try an upgrade to the new version first?
> 
> nm
> 
> On Tue, 7 Dec 1999, Brian Bruns wrote:
> 
> > 
> > You can specify the hostname in $DSQUERY and under 4.2 it will default the
> > port to 1433 (MS SQL's default port).
> > 
> > I'm kinda stumped as far as what is causing the no route message.  Are you
> > game for adding some debug code? (If so I'll send you a patch to apply)
> > 
> > Brian
> > 
> > On Tue, 7 Dec 1999, Allyn Craig wrote:
> > 
> > > By the way, as a side issue...
> > > 
> > > Is there a way to set up FreeTDS so you don't need an interfaces file at 
> > > all? It is nice sometimes to be able to specify an IP address/port number 
> > > for testing purposes without having to modify interfaces.
> > > 
> > > Maybe the functionality is already there and I just don't know about it?
> > > 
> > > Just a thought.
> > > 
> > > Allyn Craig
> > > 
> > > ---
> > > You are currently subscribed to freetds as: camber at ais.org
> > > To unsubscribe, forward this message to $subst('Email.Unsub')
> > > 
> > > 
> > 
> > 
> > ---
> > You are currently subscribed to freetds as: nikm at cyberflunk.com
> > To unsubscribe, forward this message to $subst('Email.Unsub')
> > 
> 
> 
> ---
> You are currently subscribed to freetds as: camber at ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
> 
> 




More information about the FreeTDS mailing list