[rt-users] RT 3.6.6 - httpd won't start

Ruslan Zakirov ruz at bestpractical.com
Tue May 13 18:42:08 EDT 2008


IMPORTANT:

If you are using mod_perl 2.x and Apache2 then there is NO NEED in
Apache2::compat !!!

If you're using mod_perl 1.9* and Apache2 then you MUST UPGRADE to MP
2.x or forget about mod_perl at all and use FastCGI instead.

If you're using mod_perl1 + apache1 then... then just use it :)

Point me to the doc where you guys find that shitty "compat" thing so
I can rip it out forever!

On Wed, May 14, 2008 at 1:39 AM,  <jmoseley at corp.xanadoo.com> wrote:
> I think there's a typo in the Wiki, at least on the last line:
>
>
>  # this line applies to Apache2+mod_perl2 only
>    # Below line might be incorrect, I had to use:
>    #     PerlModule Apache2::compat
>    # mod_perl 2.0.1 from FC4 Linux
>    PerlModule Apache2 Apache::compat
>
>  Sould be: PerlModule Apache2::compat
>
>  Look at the error logs, it's trying to find an Apache2 perl module that
>  doesn't exist.
>
>
>
>  James Moseley
>
>
>
>
>
>              Shannon Adams
>              <shannon_adams68@
>              yahoo.com>                                                 To
>              Sent by:                  rt-users at lists.bestpractical.com
>              rt-users-bounces@                                          cc
>              lists.bestpractic
>              al.com                                                Subject
>                                        [rt-users] RT 3.6.6 - httpd won't
>                                        start
>              05/13/2008 04:04
>              PM
>
>
>
>
>
>
>
>
>
>
>  I went through the manual installation Wiki and cleaned up my rt3.conf.  I
>  think it should be correct now.  However, httpd won't start.  Here is what
>  I get in the error_log:
>
>  Tue May 13 15:46:51 2008] [error] Can't locate Apache2.pm in @INC (@INC
>  contains: /opt/rt3/local/lib /opt/rt3/lib /usr/lib/perl5/site_perl/5.8.8
>  /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7
>  /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6
>  /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5
>  /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8
>  /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
>  /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
>  /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>  /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>  /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
>  /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>  /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>  /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>  /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
>  /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 209) line
>  3.\n
>  [Tue May 13 15:46:51 2008] [error] Can't load Perl module Apache2 for
>  server itadmin_test.bigrocksports.com:0, exiting...
>
>
>  httpd -v shows:
>  Server version: Apache/2.2.8 (Unix)
>  Server built:   Jan 28 2008 06:24:44
>
>  rt3.conf:
>  <VirtualHost 10.9.10.251>
>    ServerName itadmin_test.bigrocksports.com
>    DocumentRoot /opt/rt3/share/html
>    AddDefaultCharset UTF-8
>
>    # this line applies to Apache2+mod_perl2 only
>    # Below line might be incorrect, I had to use:
>    #     PerlModule Apache2::compat
>    # mod_perl 2.0.1 from FC4 Linux
>    PerlModule Apache2 Apache::compat
>
>   Alias /rt "/opt/rt3/share/html"
>   PerlModule Apache::DBI
>   PerlRequire /opt/rt3/bin/webmux.pl
>
>   <Directory /opt/rt3/share/html>
>     AllowOverride All
>     Options ExecCGI FollowSymLinks
>     <IfModule mod_access.c>
>         Order allow,deny
>       Allow from all
>     </IfModule>
>   </Directory>
>
>   <Location /rt>
>     RewriteEngine On
>     RedirectMatch permanent (.*)/$ $1/index.html
>     AddDefaultCharset UTF-8
>     SetHandler perl-script
>     PerlHandler RT::Mason
>   </Location>
>
>  </VirtualHost>
>
>  Do you see anything that would cause httpd not to start?
>
>  Shannon
>
>
>
>
>  _______________________________________________
>  http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>  Community help: http://wiki.bestpractical.com
>  Commercial support: sales at bestpractical.com
>
>
>  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>  Buy a copy at http://rtbook.bestpractical.com
>
>
>  _______________________________________________
>  http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>  Community help: http://wiki.bestpractical.com
>  Commercial support: sales at bestpractical.com
>
>
>  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>  Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list