Re: Problems with Apache 2.0, mod_perl2 and perl



Juha Laiho wrote:

"Eric R. Meyers" <ermeyers@xxxxxxxxxxxx> said:
I'm using FC4 Linux, and I'm having some problems with Apache 2.0.
...
2. I can only get a statically linked perl to run.

a) /usr/bin/perl: error while loading shared libraries:
libperl.so:
cannot open shared object file: Permission denied

What are the permissions for libperl.so (and directories above it)?
This could also cause the problems with mod_perl.

3. When I try to run a simple CGI.pm program under Apache, with the static
perl, the perl can't find CGI.pm in the @INC paths. Of course, the
script works just fine from the command line.

Later in thread, you showed that CGI.pm could not be loaded -- again,
what are the permissions fo the file, and directories above it?

Everything is fine, except under Apache. CGI.pm is 444, or a+r.

.



Relevant Pages

  • Re: Problems with Apache 2.0, mod_perl2 and perl
    ... What are the permissions for libperl.so? ... perl, the perl can't find CGI.pm in the @INC paths. ... If you get "cannot open shared object file: ...
    (comp.lang.perl.modules)
  • Re: Problems with Apache 2.0, mod_perl2 and perl
    ... cannot open shared object file: ... What are the permissions for libperl.so? ... perl, the perl can't find CGI.pm in the @INC paths. ...
    (comp.lang.perl.modules)
  • Re: SAP::Rfc
    ... > loaded because a shared object file can't be found. ... > Reasons for the inability to find the file can be that you don't have it, ... there and has permissions 777. ... Prev by Date: ...
    (comp.lang.perl.modules)
  • Re: Executing a transferred perl script without setting permissions...
    ... > set to remove the excecute bit on the permissions when storing it. ... > run it standalone you would need to use chmod to set the execute bit. ... >>perl MyProgramme.pl ... What security problem do you think this could cause? ...
    (comp.security.unix)
  • Re: Executing a transferred perl script without setting permissions...
    ... >I just wrote a perl programme on a M$ Windows Platform, ... set to remove the excecute bit on the permissions when storing it. ... run it standalone you would need to use chmod to set the execute bit. ... >perl MyProgramme.pl ...
    (comp.security.unix)