Bug 85876
| Summary: | Mason doesn't work with the mod+perl provided by Red Hat Lniux 8.0 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jay Emerson <sysadmin> |
| Component: | mod_perl | Assignee: | Gary Benson <gbenson> |
| Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-03-10 09:51:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
"Until some time after mod_perl 2.0 is officially released, Mason will only support mod_perl 1.x, specifically 1.22+. You may be able to use Mason with mod_perl 2.0 if you turn on mod_perl 2.0's 1.x compatibility layer by loading ``Apache::compat'' before you load Mason." -- http://www.masonhq.com/docs/faq/#can_i_use_mason_with_mod_perl_1_ |
Description of problem: After installing the Perl module HTML::Mason and configuring the Apache configuration file as described in the Mason documentation and on the Mason web site (http://www.,asonhq.com) Apache fails to start, issuing the following error. # /etc/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [Sun Mar 09 17:09:54 2003] [error] Can't locate Apache/Constants.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 13. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 13. Compilation failed in require at (eval 1) line 3. [Sun Mar 09 17:09:54 2003] [error] Can't load Perl module HTML::Mason::ApacheHandler for server test:0, exiting... [FAILED] The Mason FAQ suggests removing the mod_perl included with Red Hat Linux and compiling mod_perl from source. (Quoted from http://www.masonhq.com/docs/faq/#installation) >Also, if you are running RedHat Linux, do not use the mod_perl RPMs that ship >with RedHat. They are not reliable (as of RedHat 6.2). I honestly don't know who is right or wrong here but I have been a loyal Red Hat user/sysadmin since 4.2. What ever the problem is, I need to use Mason and would like to use Red Hat. Can this issue please be solved? Version-Release number of selected component (if applicable): mod_perl-1.99_05-3 How reproducible: Attempted serval times on both SMP and single CPU systems. Reporduced every time. 100% Steps to Reproduce: 1. Install HTML::Mason from CPAN 2. Configure Apache to use Mason 3. Restart Apache Actual results: Apache failed to start. Expected results: A working Apache with mod_perl and HTML::Mason. Additional info: