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: Fabien Roy <froy AT austin.rr.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Cc: sclark AT nyroc.rr.com
  • Subject: RE: so has anyone seen this?
  • Date: Thu, 3 May 2001 15:58:37 -0500


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
>




Archive powered by MHonArc 2.6.24.

Top of Page