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: "Stepan, Jamison" <Jamison dot Stepan at state dot mn dot us>
Subject: RE: CGI with Apache and Sybperl on Red Hat 5.0/5.1
Date: Jun 9 1998 5:24PM

FYI: On RedHat 5 httpd runs as the nobody account by default.

Jamison


On Tuesday, June 09, 1998 12:00 PM, Michael Peppler
[SMTP:mpeppler@MBAY.NET] wrote:
> Leigh Moncher writes:
> 
> [ try to fix your mail reader to insert proper carriage returns... ]
> 
>  > Nope this is a Sybperl problem (or at least a sybperl with CGI
problem). I've
>  > duplicated the issue under Redhat 5.0. Here's the debug output:
[root@gromit
> 
>  > The context allocation routine failed when it
>  > tried to load localization files!!One or more following problems
may caused
>  > the failure
>  > Cannot access the sybase home directory, please check
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  > environment variable SYBASE or ~sybaseSybase::CTlib initialize:
>  > cs_ctx_alloc() failed at /usr/lib/perl5/site_perl/Sybase/CTlib.pm
>  > line
> 
> OK - now we have a clue. cs_ctx_alloc() failed, because $ENV{SYBASE}
> seems to be wrong, or can't be interpreted correctly. This could be a
> problem inside glibc somewhere, or really in the
> environment. Sybase::CTlib needs $ENV{SYBASE} set to where the Sybase
> libraries are installed. It needs access to the locale files in
> particular. 
> 
> This could also be a stupid permission problem where httpd runs as a
> user that does not have read-access to the Sybase home directoy....
> 
> Michael
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com