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: Re: ct_param problem
Date: Mar 19 2004 5:34PM

On Fri, 2004-03-19 at 09:19, Kiriakos Georgiou (Contractor) wrote:
> I recently upgraded from DBD-Sybase-0.91 and DBI-1.14 to
> DBD-Sybase-1.02 and DBI-1.40
> I tried to use 12.5.1 open client to connect to a 12.0 ASE server (we 
> are in transition from 12.0 to 12.5.1) but that was giving me the error 
> below.
> -----------------
> [Fri Mar 19 11:05:42 2004] [notice] Accept mutex: fcntl (Default: fcntl)
> ct_param() failed! at 
> /usr/local/nrl/lib/perl5/site_perl/5.8.3/Apache/Session/Store/ 
> line 122.
> DBD::Sybase::st execute failed: OpenClient message: LAYER = (1) ORIGIN = 
> (1) SEVERITY = (1) NUMBER = (46)
> Server production, database
> Message String: ct_param(): user api layer: external error: An illegal 
> value of 0 was placed in the status field of the CS_DATAFMT structure.
> -----------------

I seem to remember a similar error reported before, though after
searching both the mailing list archive and the bug database I don't
seem to find an exact match.

This shouldn't be an OpenClient version issue - certainly you should be
able to use the 12.5.1 OC to access a 12.0 or 11.x database server, so
you may be hitting some other bug.

Would it be possible to run Session::Store::Sybase with DBI->trace(3)

Michael Peppler                              Data Migrations, Inc.             
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions -