Skip to Content.
Sympa Menu

freetds - Re: Connecting to Sybase on NT

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Connecting to Sybase on NT
  • Date: Wed, 6 Oct 1999 07:42:52 -0700 (PDT)


Jeff Driscoll writes:
> Sorry. Yes I can ping the box so I don't think I have a routing problem.
> $SYBASE is set to /usr/local/freetds.
>
> What is the default TCP port that Sybase listens on? Is it the same as
> MSSQL7?

No. There is no default port. You need to check the interfaces file
(or sql.ini) on the server to see what port it is listening to (or you
could use dsedit on the server)

>
> Should TDS version 4.2 work with Sybase 10?

Yes.

Michael

>
> > > connect: Connection refused
> > ^ Here is the key...This means
> > a) you can't talk to the box. Try ping to make sure all the routes are ok
> > b) your interfaces file is screwed up or its not finding it. Make sure
> > $SYBASE is set properly and the interfaces look ok.
> > c) The port is wrong. Try to 'telnet hostname port#' adn see if
> > you still get the 'connection refused' message, if so Sybase is not
> > listening on that port.
> > d) Sybase is configured to listen on localhost and not the ethernet card,
> > try the step from c to verify this too.
> >
> > There are probably some other possibilies as well, but these are the
> > likely ones.
> >
> > >
> > > $ cat /tmp/freetds.log
> > > 2000-04-19 01:33:41 leaving ct_connect() returning 0
> > > 2000-04-19 01:33:41 inside ct_con_props() action = CS_GET property = 26
> > > 2000-04-19 01:33:41 inside ct_con_drop()
> > >
> > > Any ideas?
> > >
> >
> > Cheers,
> >
> > Brian
>
> ---
> You are currently subscribed to freetds as: mpeppler AT peppler.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>

--
Michael Peppler -||- Data Migrations Inc.
mpeppler AT peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com




Archive powered by MHonArc 2.6.24.

Top of Page