Skip to Content.
Sympa Menu

freetds - RE: so has anyone seen this?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Sean R. Clark" <sclark AT nyroc.rr.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: so has anyone seen this?
  • Date: Thu, 3 May 2001 18:26:13 -0400


hmm

reverse DNS is set for the IP, and it matches the forward


still fails with same "255.255.255.255 port 0" error in log

changed the interfaces file to say

bgmsmssql1

query tcp tds5.0 bgmsmssql1.my.domain.com 1433
master tcp tds5.0 bgmsmssql1.my.domain.com 1433




-----Original Message-----
From: bounce-freetds-130437 AT franklin.oit.unc.edu
[mailto:bounce-freetds-130437 AT franklin.oit.unc.edu]On Behalf Of Fabien
Roy
Sent: Thursday, May 03, 2001 4:59 PM
To: TDS Development Group
Cc: sclark AT nyroc.rr.com
Subject: [freetds] RE: so has anyone seen this?


If you do not have a reverse DNS, the code in freetds will break
(gethostbyaddr() rely on reverse DNS).
Try to add this address with a machine name in your /etc/hosts (or
NIS, NetInfo etc...)
and replace 10.0.0.1 by the name in /etc/hosts in your interface.
/etc/host:
10.0.0.1 mymssqlserver

interface file:
bgmsmssql1
query tcp tds5.0 mymssqlserver 1433
master tcp tds5.0 mymssqlserver 1433

Hope that helps.

Fabien.

P.S. I will try to issue a patch for this in the next week.


> here is the error:
>
> 2001-05-03 13:34:31 Connecting addr 255.255.255.255 port 0
>
>
> here is the interfaces file:
>
> bgmsmssql1
> query tcp tds5.0 10.0.0.1 1433
> master tcp tds5.0 10.0.0.67 1433
>
>
> i am simply trying to use the t0001 program that comes with it to
check if i
> can login
>
> here is my modifed PWD file from the distribution
>
> UID="sa"
> PWD="thepassword"
> SRV="bgmsmssql1"
> DB="thedatabase"
>
>
>
>
> it is on a Solaris 2.6 machine
>
> $SYBASE is set to /usr/local/freedts
> $TDSVER is set to 50 [have tried not setting, setting to 42,50,70]
>
>
> everythig compiled and installed correctly, but it seems to be really
> sucking at actually connecting
>
>
> -Sean
>

---
You are currently subscribed to freetds as: [sclark AT nyroc.rr.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page