[CLUE-Tech] Perl/DBD/FreeTDS problem

JOEL COHEN cjabbe at msn.com
Sat Jan 12 12:11:36 MST 2002


You might try backing out to an older version of Perl.  

----- Original Message -----
From: Dan Harris
Sent: Thursday, January 10, 2002 10:30 PM
To: clue-tech at clue.denver.co.us
Subject: [CLUE-Tech] Perl/DBD/FreeTDS problem

Hey all,

I've been fighting this problem for 12 hours straight now and can't seem to
figure it out.  I'm hoping someone else here is a perl programmer and knows
what might be going on here.

The situation:

Using Linux (RH7.2) to run a perl (5.6.1) program that connects to MS
SQLServer2000, using the DBD::Sybase (0.94) API, which in turn calls the
FreeTDS API to talk to SQL Server.

This solution works fine on a RH6.2 box but for some reason on the new box,
whenever I execute a DBI->connect(), I get a segmentation fault and a core
dump.
I have tried downgrading the DBD and FreeTDS versions to older revs just to
see if that helps.  I've uninstalled and reinstalled the FreeTDS libraries
as well as the DBD::Sybase module...

This is a very mission critical system and I'm gonna be up all night on
this, so if anyone has a clue for me I'd be forever grateful.

Here's the line of code that breaks it:

**********************************************
my $dbh = DBI->connect('DBI:Sybase:massive','xxxx','xxxx') || die "Couldn't
open database $DBI::errstr; stopped";
**********************************************

Here's a tidbit of the DBI->trace(3) that may help:

***********************************************
DBI 1.20-nothread dispatch trace level set to 3
    -> DBI->connect(DBI:Sybase:massive, sa, ****)
    -> DBI->install_driver(Sybase) for linux perl=5.006001 pid=25926 ruid=0
euid=0
123    syb_init() -> DBD::Sybase 0.93 initialized
@a  OpenClient version: ¨


_______________________________________________
CLUE-Tech mailing list
CLUE-Tech at clue.denver.co.us
http://clue.denver.co.us/mailman/listinfo/clue-tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20020112/9a8a7c27/attachment.html


More information about the clue-tech mailing list