Thanks to all of those helped me!
My script runs normally.
regards,
--ahmed.
----- Original Message -----
From: Alexander Farber (EED) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 5:41 PM
Subject: Re: ct-connect() Error 111
> Ahmed Shaikh wrote:
> > DBI->connect failed: OpenClient message: LAYER = (5) ORIGIN = (3)
SEVERITY = (5)
> > NUMBER = (4)
> > Message String: ct_connect(): network packet layer: internal net library
error:
> > Net-Lib protocol driver call to connect two endpoints failed
> > Operating System Error: Socket connect failed - errno 111
> > at /home/httpd/cgi-bin/test.pl line 22
> >
>
> Is the SYBASE env. variable pointing to the dir conatining "interfaces"
file?
>
> BEGIN
> {
> $ENV{PATH} = '';
> #$ENV{LD_LIBRARY_PATH} = '/opt/local/sybase/lib';
> $ENV{SYBASE} = '/opt/local/sybase';
> $SIG{ALRM} = sub {die "$0 timed out"};
> alarm 900;
> }