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

Ruslan Zakirov ruz at bestpractical.com
Tue May 13 22:56:20 EDT 2008


Never drop rt-users@ from list of recipients of your emails. If you
want me or other qualified admins and RT developers help privately
then please contact sales at bestpractical.com otherwise stick with
rt-users@ so other people can help you as well and may be solve their
problems by reading this thread.

We're not distant disk readers :), so we couldn't help you without
additional info and error message suggest you where to look for real
error message: "More information about this error may be available in
the server error log."

On Wed, May 14, 2008 at 5:32 AM, Shannon Adams
<shannon_adams68 at yahoo.com> wrote:
> This is so frustrating.  Now, I am getting this when browsing to rtbak.bigrocksports.com (DNS has rtbak as 10.9.10.251):
>
>
>  Internal Server Error
>  The server encountered an internal error or
>  misconfiguration and was unable to complete
>  your request.
>  Please contact the server administrator, root at localhost and inform them of the time the error occurred,
>  and anything you might have done that may have
>  caused the error.
>  More information about this error may be available
>  in the server error log.
>  ________________________________
>
>  Apache/2.2.8 (Fedora) Server at rtbak.bigrocksports.com Port 80
>  Here is exactly how my rt3.conf looks now:
>
>
>  <VirtualHost 10.9.10.251>
>   ServerName itadmintest.bigrocksports.com
>   DocumentRoot /opt/rt3/share/html
>   AddDefaultCharset UTF-8
>   PerlRequire /opt/rt3/bin/webmux.pl
>   <Directory /opt/rt3/share/html>
>           Order allow,deny
>           Allow from all
>           SetHandler perl-script
>           PerlHandler RT::Mason
>   </Directory>
>  </VirtualHost>
>
>  Thanks again for helping me through this!
>
> Shannon
>
>  ----- Original Message ----
>  From: Ruslan Zakirov <ruz at bestpractical.com>
>  To: Shannon Adams <shannon_adams68 at yahoo.com>
>
>
> Sent: Tuesday, May 13, 2008 9:25:10 PM
>  Subject: Re: [rt-users] RT 3.6.6 - httpd won't start
>
>  I hope you've changed properties of vistual host to something like:
>
>  <VirtualHost 10.9.10.251>
>        ServerName itadmintest.bigrocksports.com
>        DocumentRoot /opt/rt3/share/html
>        AddDefaultCharset UTF-8
>        PerlRequire /opt/rt3/bin/webmux.pl
>        <Directory /opt/rt3/share/html>
>                Order allow,deny
>                Allow from all
>                SetHandler perl-script
>                PerlHandler RT::Mason
>        </Directory>
>  </VirtualHost>
>
>  On Wed, May 14, 2008 at 5:07 AM, Shannon Adams
>  <shannon_adams68 at yahoo.com> wrote:
>  > Okay, getting close.  I got rid of my rt3.conf and used the one you provided below.  Now, I receive the following when I browse to rtbak.bigrocksports.com:
>  >
>  >  "FEDORA TEST PAGE
>  >
>  >  This page is used to test the proper operation of the Apache HTTP server
>  >  after it has been installed. If you can read this page, it means that the web
>  >  server installed at this site is working properly, but has not yet been
>  >  configured."
>  >
>  >  I don't know how to configure FastCGI.  It doesn't matter to me which is used mod_perl of FCGI.  I have been fighting with this for days now and just want to get it to work.
>  >
>  >  Thank you very much for helping me through this.  It looks like it is closer to working now.  Do you know what I need to do next to get the RT login screen to show up instead of the Fedora test page?
>  >
>  >
>  >  Shannon
>  >
>  >  ----- Original Message ----
>  >  From: Ruslan Zakirov <ruz at bestpractical.com>
>  >
>  >
>  > To: Shannon Adams <shannon_adams68 at yahoo.com>
>  >  Sent: Tuesday, May 13, 2008 8:58:38 PM
>  >  Subject: Re: [rt-users] RT 3.6.6 - httpd won't start
>  >
>  >  As far as I can see:
>  >  * mixed all suggestions from that manual in one place
>  >  * as you want to run only RT on a vhost xxx.your-domain.com then you
>  >  don't need any Alias and other things that map RT to "/rt" location on
>  >  that virtual host
>  >  * Here is the minimal config for an IP based virtual host I just
>  >  successfully started after wrting it from scratch:
>  >
>  >  Listen 8080
>  >  <VirtualHost *:8080>
>  >         ServerName localhost:8080
>  >         DocumentRoot /opt/rt3/share/html
>  >         AddDefaultCharset UTF-8
>  >         PerlRequire /opt/rt3/bin/webmux.pl
>  >         <Directory /opt/rt3/share/html>
>  >                 Order allow,deny
>  >                 Allow from all
>  >                 SetHandler perl-script
>  >                 PerlHandler RT::Mason
>  >         </Directory>
>  >  </VirtualHost>
>  >
>  >  That's all. it just works with mod_perl2 on apache2
>  >
>  >  Do you know how to configure FastCGI? Let me help you with mod_perl
>  >  then you'll decide if you want to switch to FCGI or not.
>  >
>  >  On Wed, May 14, 2008 at 3:34 AM, Shannon Adams
>  >  <shannon_adams68 at yahoo.com> wrote:
>  >  > Hi Ruslan,
>  >  >
>  >  >  Thanks for the response.
>  >  >
>  >  >  I am running Apache/2.2.8.  I am not sure how to tell what version of mod_perl I am running.  How can I tell what version I am using or better yet, what do I need to change in the in the following rt3.conf to switch to FastCGI?
>  >  >
>  >  >  Right now, httpd starts - but I get the following when browsing to rtbak.bigrocksports.com:
>  >  >
>  >  >  You're almost there!
>  >  >
>  >  >  You haven't yet configured your webserver to run RT.
>  >  >
>  >  >  You appear to have installed RT's web interface correctly, but haven't yet configured your web server to "run" the RT server which powers the web interface.
>  >  >
>  >  >  The next step is to edit your webserver's configuration file to instruct it to use RT's mod_perl , fastcgi or speedycgi handler.
>  >  >
>  >  >  rt3.conf follows:
>  >  >
>  >  >
>  >  >  <VirtualHost 10.9.10.251>
>  >  >   ServerName itadmintest.bigrocksports.com
>  >  >
>  >  >   DocumentRoot /opt/rt3/share/html
>  >  >   AddDefaultCharset UTF-8
>  >  >
>  >  >   PerlModule Apache2::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>
>  >  >
>  >  >
>  >  >  Thanks for the help,
>  >  >  Shannon
>  >  >
>  >  >
>  >  >
>  >  >  ----- Original Message ----
>  >  >  From: Ruslan Zakirov <ruz at bestpractical.com>
>  >  >  To: jmoseley at corp.xanadoo.com
>  >  >  Cc: Shannon Adams <shannon_adams68 at yahoo.com>; rt-users at lists.bestpractical.com; rt-users-bounces at lists.bestpractical.com
>  >  >  Sent: Tuesday, May 13, 2008 6:42:08 PM
>  >  >  Subject: Re: [rt-users] RT 3.6.6 - httpd won't start
>  >  >
>  >  >  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.
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >
>  >
>  >
>  >  --
>  >  Best regards, Ruslan.
>  >
>  >
>  >
>  >
>  >
>
>
>
>  --
>  Best regards, Ruslan.
>
>
>
>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list