PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Neil Ratzlaff <Neil dot Ratzlaff at ucop dot edu>
Subject: Re: 1003 to 1111
Date: May 24 1999 5:12PM

At 09:06 05/24/99 -0700, Michael Peppler wrote:
>Neil Ratzlaff writes:
> > We are trying to switch from Sybase OpenClient 1003 to 1111 and perl
> > scripts break.  The old versions of perl 5.004 and sybperl 2.09  were not
> > touched.
> > 
> > This message appears:
> > Message number: LAYER = (5)  ORIGIN = (3)   SEVERITY = (4)   NUMBER = (3)
> > Message string:  ct_connect(): network packet layer:  internal net library
> > error:  Specified server name attribute could not be found
> > Died at line 43
> > 
> > The lines of code are:
> > Line 42  $pwaDbh = new Sybase::CTlib $USR, $PASSWD, $SRVR, pwa;
> > LIne 43   if (!(defined(pwaDbh))) ( die; )
> > 
> > The first part of the program defines which version of OpenClient to
use by
> > specifying the directory.  We must be missing something simple, but
what is
> > it?
>
>My guess is that the interfaces file in the directory where the new
>OpenClient libs are installed has not been updated, and does not
>include the server name that you're trying to connect to.
>
>Michael
>-- 
>Michael Peppler         -||-  Data Migrations Inc.
>mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
>Int. Sybase User Group  -||-  http://www.isug.com
>Sybase on Linux mailing list: ase-linux-list@isug.com
> 

Paul Rivers beat you to it, and you are both quite right.  The person who
installed the new OpenClient also installed a very different interfaces file,
and when he gets back from vacation I hope to find out why.
Thanks to both of you.
Neil