You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Roy Souther <ro...@silicontao.com> on 2002/08/01 00:42:00 UTC
Mandrake defalut mod_perl dose not seem to be working.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Trying to get HTML::Mason going and I have been told that my problem is that
mod_perl is not running. I was told to test the value of $ENV{MOD_PERL} in a
cgi script and if it return true then it was working properly but it did not.
I have gone over the apache conf files many times all day today and they seem
to be correct with the mod_perl documentation but it does not work. The
system is Mandrake 8.2.
Reading the log files there does not seem to be any error but their are
entries for the starting and stopping of apache.
I am at a loss. I have installed all the Mandrake rpms and checked the conf
files.
Does anyone have mod_perl working on a Mandrake system?
Any ideas for things that could be wrong?
- --
Roy Souther <ro...@SiliconTao.com>
http://www.SiliconTao.com
Nine out of ten sysadmins recommend
Linux for your servers longevity!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj1IZ7kACgkQCbnxcmEBt41/EACgzoMjLbvN1bQF+wEm6R2dlbdj
nzAAnRDGJezx0ul9HQXp5Z+7JILsaM/j
=YTqG
-----END PGP SIGNATURE-----
Re: Mandrake default mod_perl dose not seem to be working.
Posted by Roy Souther <ro...@silicontao.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Some how the mod_perl was missing some files. A --force reinstall of the RPM
file fixed it. mod_perl is working now and I understand it much better.
Though my goal is to get Mason working and it still does not.
Thanks everyone for the help.
- --
Roy Souther <ro...@SiliconTao.com>
http://www.SiliconTao.com
Linux, resisting tyranny.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj1JRHIACgkQCbnxcmEBt41p7ACg2Xm6wHdxBjK7kWqzPLobGWAy
gd0AoMLMHFQr1Jm6/e9i1bXdC9GYInv3
=x0w1
-----END PGP SIGNATURE-----
Re: Mandrake defalut mod_perl dose not seem to be working.
Posted by Stas Bekman <st...@stason.org>.
Roy Souther wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 31 July 2002 08:40 pm, Stas Bekman wrote:
>
>>What do you mean by "doesn't work"? Try:
>>http://perl.apache.org/docs/1.0/guide/install.html#How_can_I_tell_whether_m
>>od_perl_is_running_
>
> The two tests they recommend give conflicting results. The log file says that
> mod_perl was started. The command line test "httpd -l" says it is not
> compiled in. The problem here is that mod_perl and apache doc recommend that
> you disable httpd and run httpd_modperl in it's place but Mandrake runs both
> httpd and httpd-perl that is the binary they ship with mod_perl. They must
> have renamed it. They both of them and each has it's own set of configuration
> files. So I did wget -S 127.0.0.1 and the mod_perl does not show there. So I
> can not confirm that mod_perl is running or not.
I use Mandrake but I never use apache/mod_perl rpms but build my own, so
I don't know. But it seems that you test the wrong binary 'httpd -l', if
error_log says that you are running mod_perl you are running mod_perl.
> Is there a simple test file I could use to see if it is running? Or some other
> test I could do?
Configure a registry section
http://perl.apache.org/docs/1.0/guide/getwet.html#Configuring_and_Starting_the_mod_perl_Server
and run a simple script:
http://perl.apache.org/docs/1.0/guide/install.html#Testing_via_a_CGI_script
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: Mandrake defalut mod_perl dose not seem to be working.
Posted by Roy Souther <ro...@silicontao.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 31 July 2002 08:40 pm, Stas Bekman wrote:
> What do you mean by "doesn't work"? Try:
> http://perl.apache.org/docs/1.0/guide/install.html#How_can_I_tell_whether_m
>od_perl_is_running_
The two tests they recommend give conflicting results. The log file says that
mod_perl was started. The command line test "httpd -l" says it is not
compiled in. The problem here is that mod_perl and apache doc recommend that
you disable httpd and run httpd_modperl in it's place but Mandrake runs both
httpd and httpd-perl that is the binary they ship with mod_perl. They must
have renamed it. They both of them and each has it's own set of configuration
files. So I did wget -S 127.0.0.1 and the mod_perl does not show there. So I
can not confirm that mod_perl is running or not.
Is there a simple test file I could use to see if it is running? Or some other
test I could do?
- --
Roy Souther <ro...@SiliconTao.com>
http://www.SiliconTao.com
"the future of supercomputers is all Linux, and nothing but Linux."
- www.it-director.com Feb 2002
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj1IruMACgkQCbnxcmEBt41dqgCguE2KsggkciZ0TPl5pHYkaWgL
1ooAn2IbzDhvUsum3zB95qVDGsQyyI5L
=nxHS
-----END PGP SIGNATURE-----
Re: Mandrake defalut mod_perl dose not seem to be working.
Posted by Stas Bekman <st...@stason.org>.
Roy Souther wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Trying to get HTML::Mason going and I have been told that my problem is that
> mod_perl is not running. I was told to test the value of $ENV{MOD_PERL} in a
> cgi script and if it return true then it was working properly but it did not.
>
> I have gone over the apache conf files many times all day today and they seem
> to be correct with the mod_perl documentation but it does not work. The
> system is Mandrake 8.2.
>
> Reading the log files there does not seem to be any error but their are
> entries for the starting and stopping of apache.
>
> I am at a loss. I have installed all the Mandrake rpms and checked the conf
> files.
>
> Does anyone have mod_perl working on a Mandrake system?
> Any ideas for things that could be wrong?
What do you mean by "doesn't work"? Try:
http://perl.apache.org/docs/1.0/guide/install.html#How_can_I_tell_whether_mod_perl_is_running_
If it's not, then check that you've enabled mod_perl (you have to
actually change httpd.conf to enable mod_perl). This short doc should
get you up to speed:
http://perl.apache.org/docs/1.0/guide/getwet.html
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com