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: Steve Wechsler <swechsler at marketaxess dot com>
Subject: RE: sybperl questions
Date: May 26 2004 9:31PM

Check to make sure there are no spaces around the server name, and that the
lines beneath the server name are indented with TABs, not spaces.

Also try to connect with the same server using Sybase's isql utility.

STeve

> -----Original Message-----
> From: Don Beethe [mailto:dmbeethe@fedex.com]
> Sent: Wednesday, May 26, 2004 5:28 PM
> To: Steve Wechsler; sybperl-l@peppler.org
> Subject: RE: sybperl questions
> 
> 
> $SYBASE is set to /opt/sybase/sybase32.02 and "ls -l 
> interfaces" reutnrs
> that there's a file with rw for all owned by sybase:sybase... 
> This file has
> the database we are trying to connect to.
> I found a simple script in the archives to test connectivity and when
> running it, it fails also "Server name not found in interface 
> file" but when
> I open the interface file, the server is the first one listed 
> in there.
> 
> 
> -----Original Message-----
> From: owner-sybperl-l@peppler.org 
> [mailto:owner-sybperl-l@peppler.org]On
> Behalf Of Steve Wechsler
> Sent: Wednesday, May 26, 2004 3:20 PM
> To: sybperl-l@peppler.org
> Subject: RE: sybperl questions
> 
> 
> From the command line, type 'echo $SYBASE', then look in that 
> directory to
> see the interfaces file.
> 
> If the script is not being run from the command line, put 
> this statement in
> your Perl script:
> 
> print $ENV{SYBASE};
> 
> and when you run your Perl script it will tell you the 
> directory where the
> interaces file lives.
> 
> Steve
> 
> > -----Original Message-----
> > From: Don Beethe [mailto:dmbeethe@fedex.com]
> > Sent: Wednesday, May 26, 2004 5:09 PM
> > To: sybperl-l@peppler.org
> > Subject: sybperl questions
> >
> >
> > I'm working with a DBA to get some perl scripts using sybperl
> > working and
> > having problems with them. It tells me Server name not found
> > in interface
> > file. How can I determine what interface file it is reading?
> > I'm trying to
> > run the script on an HPUX system running sybase 12.5.
> >
> > Thanks
> >
>