Re: DBD::Sybase context allocation routine failed
- From: mpeppler@xxxxxxxxxxx (Michael Peppler)
- Date: Thu, 14 Feb 2008 20:10:22 +0100
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
mpeppler@xxxxxxxxxxx - http://www.peppler.org
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html
.
- Follow-Ups:
- Re: DBD::Sybase context allocation routine failed
- From: David Goodman
- Re: DBD::Sybase context allocation routine failed
- References:
- Re: DBD::Sybase context allocation routine failed
- From: Peter Levine
- Re: DBD::Sybase context allocation routine failed
- Prev by Date: Re: DBD::Sybase context allocation routine failed
- Next by Date: Re: DBD::Sybase context allocation routine failed
- Previous by thread: Re: DBD::Sybase context allocation routine failed
- Next by thread: Re: DBD::Sybase context allocation routine failed
- Index(es):
Relevant Pages
|
|