PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: CGI Problem
Date: Feb 18 1998 6:51PM

Hugh Caley wrote:
> 
> I am attempting to access a Sybase 11 database using CGI.  The server is
> 
> the latest non-beta Apache, Perl is 5.004_04, platform is Solaris 2.5.1,
> 
> Sybperl is 2.09.
> 
> I can run the script from the command line, and it works fine.  When I
> try to access it from the web, I get a #500 error, and the httpd log
> reads:
> 
> 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 /sybase. Check the environment variable
> SYBASE if it is not the one you want!
> Cannot access file /sybase/config/objectid.dat

Here's your problem - it's probably a permission problem that
keeps the script from accessing this file when run as a CGI - in
particular if you've set things so that the scripts run
as user 'nobody'.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler