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: Mark Conover <markc at celtech dot com>
Subject: Re: CGI/Sybperl in Linux, how?
Date: Nov 5 1997 4:55PM

I had a very similar symptom a few weeks ago when first attempting CGI
scripts with sybperl.  It turned out that some directories in my Sybase
tree were not accessible to world.  In my case, I had to set the
read/search bits on  /usr/local/sybase/locales (chmod a+rx locales). 


Jeffrey Yu wrote:
> Michael,
> Thanks for the info.  I just tried and it still doesn't work.
> My environment is RedHat 4.2 and CDE runs at top of it.
> I put the BEGIN block at the beginning of the file but
> follow #!/usr/bin/perl.  I continue to get ...
> The server encountered an internal error or
> misconfiguration and was unable to complete your request.
> Please contact the server administrator,
> root@localhost and inform them of the time the error occurred,
> and anything you might have done that may have caused the error.
> But again, when I run the perl script at the command line,
> I am able to access Sybase without having anything like these.
> The CGI I download is 2.36, do you think it has something
> to do with this?
> --Jeff

Mark Conover
Software Engineer
Cellular Technical Services