Hi, The admin says he just found out that BI/DBD got built with SYBASE ASE119 by mistake. I guess he found this out by examing the make output. He reinstalled the modules for OCS-12_5.
The message was still showing up. Then he modified the webserver's start script to include the correct values of $SYBASE, $SYBASE_OCS and $LD_LIBRARY_PATH. This corrected the problem. Would be nice if relevant installation information from modules installed after the initial installation were visible via perl -V (or in some other way). This might have helped me diagnois the problem. Pete ----- Original Message ---- From: Michael Peppler <[EMAIL PROTECTED]> To: Peter Levine <[EMAIL PROTECTED]> Cc: [email protected] Sent: Thursday, February 14, 2008 11:10:22 AM Subject: Re: DBD::Sybase context allocation routine failed Peter Levine wrote: > Hi, > > Is there a way to determine which libraries the DBI/DBD used when it was > installed? This information is not in perl -V. There are several > different SYBASE home directories on this server each with > sub-directories for ASE or OCS versions. (I didn't install it -- I > assume that this can be configured somehow in the makefile or otherwise > when installing.) > > I am now getting a more specific error message when I set SYBASE to OCS. > The dba says that this config file, 'objectid/dat', is used by ASE not OCS. Your DBA is wrong... :-) > > /The context allocation routine failed. The following problem caused the > failure: Invalid context version. The context allocation routine failed > when it tried to load localization files!! One or more following > problems may caused the failure Your sybase home directory is > /home/sybase/OCS-12_5. Check the environment variable SYBASE if it is > not the one you want! Cannot access file > /home/sybase/OCS-12_5/config/objectid.dat/ OK - so now the problem is that your SYBASE env variable points to /home/sybase/OCS-12_5. If that directory does include the Sybase libs then SYBASE should point to /home/sybase, so that it finds /home/sybase/config/objectid.dat. Michael -- Michael Peppler - Peppler Consulting SaRL [EMAIL PROTECTED] - http://www.peppler.org Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html
