Problem with DBD-Sybase 1.04 ...
From: Edward Smorodinsky (Edward.Smorodinsky_at_soros.com)
Date: 11/11/04
- Next message: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Previous message: Blake Mitchell: "faied tests installing DBD::ODBC on FreeBSD"
- Next in thread: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Reply: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'dbi-users@perl.org'" <dbi-users@perl.org> Date: Thu, 11 Nov 2004 09:07:12 -0500
I have a problem running my perl application with the new DBD-Sybase 1.04 om
Windows NT Server. But application is running OK on Windows 2000, Windows
2003 Server and Windows XP.
I prepared simple test program:
#! /usr/local/bin/perl
#
# dbi-test.pl
#
use strict;
use DBI;
my ($dbh, $user, $pwd, $sth);
my $ServerName, $DatabaseName, $DSN);
my $rc;
my $data;
$ServerName = "AFSPS";
$DatabaseName = "afs_equity";
$user = "uuu";
$pwd = "pwd";
$DSN =
"DBI:Sybase(RaiseError=>1,PrintError=>0,AutoCommit=>1):database=$DatabaseNam
e;server=$ServerName";
$dbh = DBI->connect($DSN, $user, $pwd) || die $DBI::errstr;
$sth = $dbh->prepare("select * from accttype");
$sth->execute;
while ($data = $sth->fetch)
{
print STDOUT "@$data\n";
}
$sth->finish;
#
# Disconnect
#
$rc = $dbh->disconnect;
On Windows NT Server I have the following:
DBI connect('database=afs_equity;server=AFSPS','uuu',...) failed:
OpenClient
message: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
Server AFSPS, database
Message String: ct_connect(): network packet layer: internal net
library error:
Net-Lib protocol driver call to connect two endpoints failed
at dbi-test.pl line 29
But as I mentioned before it works perfect with othe system. On all system I
am using the latest OpenClient Software which is a network-based in our
environment.
Also I am using perl 5.8.4 (ActiveState build 804, DBI 1.45, DBD-Sybase
1.04.
BTW, my application worked fine on Windows NT Server with DBI 1.14,
DBD-Sybase 0.94
Edward Smorodinsky
Senior System Administrator
Soros Fund Management LLC
888 Seventh Avenue
New York, New York 10106
eds@soros.com
- Next message: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Previous message: Blake Mitchell: "faied tests installing DBD::ODBC on FreeBSD"
- Next in thread: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Reply: Michael Peppler: "Re: Problem with DBD-Sybase 1.04 ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|