installing mod_perl.so with OpenSA webserver
[prev]
[thread]
[next]
[Date index for 2005/03/29]
I am running the OpenSA beta 2.0.2 webserver (based off of Apache 2.0.44)
and ActivePerl 5.8.3 build 809. I'm trying to follow the instructions for
installing mod_perl.so at:
http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages
The only red flag is that the instructions say that mod_perl.so 2.0
requires version 2.0.47 or greater of Apache and OpenSA 2.0.2 only comes
with 2.0.44. Could that be the cause of the problem I'm experiencing,
described below?
I ran
ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd
as instructed, and saw
"Install 'mod_perl' version 2.0.0-RC4 in ActivePerl 5.8.3.809"
followed by a list of files being installed.
And I supplied the proper location where mod_perl.so should be copied:
>>>
Fetching http://theoryx5.uwinnipeg.ca/ppms/x86/mod_perl.so ... done!
Where should mod_perl.so be placed? [D:/Apache2/modules]
C:\OpenSA\Apache2\modules
mod_perl.so has been successfully installed to C:/OpenSA/Apache2/modules.
To enable mod_perl, put in the directives
LoadFile "C:/Path/to/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
in httpd.conf, and also either use a directive
'PerlModule Apache2' or add 'use Apache2 ();' in
a startup script. For more information, visit
http://perl.apache.org/
>>>
So, I added the lines
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
to httpd.conf. From the output above, I wasn't sure if I was supposed to
add the line "PerlModule Apache2" to httpd.conf so I put it in as well.
Now when I try starting OpenSA, I get the error:
apache -k start
Syntax error on line 182 of C:/OpenSA/Apache2/conf/httpd.conf:
Cannot load C:/OpenSA/Apache2/modules/mod_perl.so into server: The
specified procedure could not be found.
(Note, "specified procedure could not be found", not "specified module
could not be found" -- the latter is the error that you get if mod_perl.so
cannot be found, but I've verified that mod_perl.so is at the correct path
location.)
I tried Googling that error but could only find a few messages with a list
of things to check such as making sure that mod_perl.so is in the right
place.
Things I have already checked so I know they're not causing the problem:
- my httpd.conf already contains directives such as:
LoadModule userdir_module modules/mod_userdir.so
corresponding to the file mod_userdir.so in the modules directory, and that
doesn't cause an error, so module loading in general is not broken
- the file C:/Perl/bin/perl58.dll definitely does exist at the specified
path
- the file C:/OpenSA/Apache2/modules/mod_perl.so also definitely does exist
at the specified path
Any other ideas for how I could fix this?
Thanks a bunch! :)
-Bennett
bennett@xxxxxxxxx.xxx http://www.peacefire.org
(425) 497 9002
 |
installing mod_perl.so with OpenSA webserver
Bennett Haselton 09:19 on 29 Mar 2005
|