Up Prev Next
From: Michael Burstin <mikeb at concerto dot com>
Subject: Re: 'Sybase error: Unknown network type found in interface file'
Date: Oct 10 2003 3:44PM
On Fri, Oct 10, 2003 at 04:31:10PM +0100, Avis, Ed wrote:
> Michael Peppler wrote:
> >Michael Burstin is correct - the TLI format is only supported
> >on Solaris and DEC/Tru-64 (IIRC). Client Library is capable of
> >reading both formats (on both platforms), but DB-Library only
> >reads the platform specific format, so for Linux you need to
> >create a "normal" interfaces file:
> > query tcp ether 220.127.116.11 1400
> > master tcp ether 18.104.22.168 1400
> Could you explain that again? I didn't quite understand.
> Are you saying that ctlib reads the interfaces file, sees 'tli'
> but decides to use 'ether' instead since it knows TLI is not
> available? Whereas dblib is not so clever and needs to be told
> the correct format to start with?
> Or do you mean that TLI format does work with ctlib on Linux,
> but does not work with dblib on Linux?
> What would be the effect on ctlib applications if I changed the
> interfaces file as you suggest above?
I think it means that Sybase coded CTLib to handle TLI format on other
platforms, even if it isn't 'supported', but DBLib only handles
'normal' format (TLI is the strange combination of hex which encodes
the port, IP address, etc).