Re: Is mod_perl installed
Cfaust, What does your httpd.conf file say after the modules listing? If it says something like: # #load configfiles from the config directory /etc/httpd.conf.d # Include conf.d/*.conf # Then check there for your: perl.conf file. Within the perl.conf file you will find: LoadModule perl_module modules/mod_perl.so Then look for the perl_module in /etc/httpd/modules. This is standard placement for Redhat Linux RPMs. I have found that I can edit this perl.conf to customize my modPerl and directories and script aliases On Thu, 2005-05-19 at 14:49 -0400, cfaust-dougot wrote: Hey Stas, I know this has been asked a ton of time and I have read everything on the site to check if MP is installed - my problem now is I have a client who has told me over and over again that mod_perl is installed - every method documented on the site says it is not (string doesn't appear in the error log, via telnet to apache or via the lwp-request method, it also doesn't appear via httpd -l. All method above report only Apache/2.0.46 (Red Hat) configured The box is RH enterprise and Apache and MP2 were installed via RPM - the client called RH (to prove me wrong) and RH told him if you installed MP2 via the RH RPM then that MP2 line shouldn't appear anyplace... I find that really hard to believe BEFORE I wasn't able find anything documented about it.. Is that true? So I guess my question is, can it be said with 100% certainty that the mod_perl 1.99 should show up in the error log (or those other documented methods) if its installed and configured properly? Is there any other ways to prove its installed or not installed? Thanks -Chris
RE: Is mod_perl installed
Title: Re: Is mod_perl installed Thanks Perrin, that makes more sense. Although I agree the RPM is ancient, I've been telling them that the real problem is they installed from RPM and now think nothing could possibly be wrong as the RPM installed without an error :).. -Chris From: Perrin Harkins [mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 5:06 PMTo: modperl@perl.apache.orgSubject: Re: Is mod_perl installed On Thursday 19 May 2005 2:49 pm, cfaust-dougot wrote: The box is RH enterprise and Apache and MP2 were installed via RPMWell, you know that's going to be a problem, right? That RPM is ancient andthat version of mod_perl is no longer supported. So I guess my question is, can it be said with 100% certainty that the "mod_perl 1.99" should show up in the error log (or those other documented methods) if its installed and configured properly?It's always possible to change things in the source, but it seems veryunlikely they would have done this for the error log message. More likely itis installed but not configured to actually be loaded when the server startsup.- Perrin
Re: Is mod_perl installed
cfaust-dougot wrote: Hey Stas, I know this has been asked a ton of time and I have read everything on the site to check if MP is installed - my problem now is I have a client who has told me over and over again that mod_perl is installed - every method documented on the site says it is not (string doesn't appear in the error log, via telnet to apache or via the lwp-request method, it also doesn't appear via httpd -l. All method above report only Apache/2.0.46 (Red Hat) configured The box is RH enterprise and Apache and MP2 were installed via RPM - the client called RH (to prove me wrong) and RH told him if you installed MP2 via the RH RPM then that MP2 line shouldn't appear anyplace... I find that really hard to believe BEFORE I wasn't able find anything documented about it.. Is that true? So I guess my question is, can it be said with 100% certainty that the mod_perl 1.99 should show up in the error log (or those other documented methods) if its installed and configured properly? Is there any other ways to prove its installed or not installed? Is the LoadModule perl_module modules/mod_perl.so line in the config ? Try looking at /server-status and /server-info if they are configured on. Thanks -Chris -- END --- What doesn't kill us can only make us stronger. Philip M. Gollucci [EMAIL PROTECTED] 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Developer - Liquidity Services Inc. http://liquidityservicesinc.com
RE: Is mod_perl installed
Title: Re: Is mod_perl installed Hey Jay, Yes, all that is true.. the perl.conf is pulled into the httpd.conf and the first line is loading the mod_perl.so and the file does exist in the modules directory.. So by that your saying that mp2 is OK even though it doesn't appear any of those methods to check if its installed or not? I wouldn't think the existence of the conf and so file would be enough to say everything was correct. Thanks -Chris From: Jay Scherrer [mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 5:17 PMTo: cfaust-dougotCc: mod_perlSubject: Re: Is mod_perl installed Cfaust,What does your httpd.conf file say after the modules listing?If it says something like:##load configfiles from the config directory "/etc/httpd.conf.d"#Include conf.d/*.conf#Then check there for your: perl.conf file.Within the perl.conf file you will find:LoadModule perl_module modules/mod_perl.soThen look for the perl_module in /etc/httpd/modules.This is standard placement for Redhat Linux RPMs.I have found that I can edit this perl.conf to customize my modPerl anddirectories and script aliasesOn Thu, 2005-05-19 at 14:49 -0400, cfaust-dougot wrote: Hey Stas, I know this has been asked a ton of time and I have read everything on the site to check if MP is installed - my problem now is I have a client who has told me over and over again that mod_perl is installed - every method documented on the site says it is not (string doesn't appear in the error log, via telnet to apache or via the lwp-request method, it also doesn't appear via httpd -l. All method above report only "Apache/2.0.46 (Red Hat) configured" The box is RH enterprise and Apache and MP2 were installed via RPM - the client called RH (to prove me wrong) and RH told him if you installed MP2 via the RH RPM then that MP2 line shouldn't appear anyplace... I find that really hard to believe BEFORE I wasn't able find anything documented about it.. Is that true? So I guess my question is, can it be said with 100% certainty that the "mod_perl 1.99" should show up in the error log (or those other documented methods) if its installed and configured properly? Is there any other ways to prove its installed or not installed? Thanks -Chris
Re: Is mod_perl installed
cfaust-dougot wrote: Hey Jay, Yes, all that is true.. the perl.conf is pulled into the httpd.conf and the first line is loading the mod_perl.so and the file does exist in the modules directory.. So by that your saying that mp2 is OK even though it doesn't appear any of those methods to check if its installed or not? I wouldn't think the existence of the conf and so file would be enough to say everything was correct. If it quacks like a duck. if it walks like a duck. it must be a duck. If you don't see that mod_perl is running, that means that it doesn't. It might be installed, but if it's not enabled then it's not running. The easy way to check whether the .conf file is actually loaded is to add some garbage in it. if it's loaded httpd will fail to start. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: Is mod_perl installed
Title: Re: Is mod_perl installed Thanks Stas, as always - you da man!!! -Chris From: Stas Bekman [mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 7:18 PMTo: cfaust-dougotCc: [EMAIL PROTECTED]; mod_perlSubject: Re: Is mod_perl installed cfaust-dougot wrote: Hey Jay, Yes, all that is true.. the perl.conf is pulled into the httpd.conf and the first line is loading the mod_perl.so and the file does exist in the modules directory.. So by that your saying that mp2 is OK even though it doesn't appear any of those methods to check if its installed or not? I wouldn't think the existence of the conf and so file would be enough to say everything was correct.If it quacks like a duck. if it walks like a duck. it must be a duck.If you don't see that mod_perl is running, that means that it doesn't.It might be installed, but if it's not enabled then it's not running.The easy way to check whether the .conf file is actually loaded is to addsome garbage in it. if it's loaded httpd will fail to start.--__Stas Bekman JAm_pH -- Just Another mod_perl Hackerhttp://stason.org/ mod_perl Guide --- http://perl.apache.orgmailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.comhttp://modperlbook.org http://apache.org http://ticketmaster.com