Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: 1003 to 1111
Date: May 24 1999 4:06PM

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 Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: