[rt-users] Problems with RT 3.8.2 - Apache

Eric Chatham echatham at broadvox.net
Mon May 18 15:27:31 EDT 2009


Hello,

I completely started over with a fresh installation of RT using the latest version 3.8.2.  Following the README file that is packed with the new installation, I'm stuck at the Apache configuration.  I added the lines for Apache 2.x.x:


<VirtualHost your.ip.address>

    ServerName your.rt.server.hostname



    DocumentRoot /opt/rt3/share/html

    AddDefaultCharset UTF-8



    # optional apache logs for RT

    # ErrorLog /opt/rt3/var/log/apache2.error

    # TransferLog /opt/rt3/var/log/apache2.access



    PerlRequire "/opt/rt3/bin/webmux.pl"



    <Location /NoAuth/images>

        SetHandler default

    </Location>

    <Location />

        SetHandler perl-script

        PerlResponseHandler RT::Mason

    </Location>

</VirtualHost>

Here is my rt3.conf file settings:

Alias /rt3 "/usr/share/rt3/html"

# PerlRequire /usr/sbin/webmux.pl

<Directory "/usr/share/rt3/html">
  AllowOverride All
  Options ExecCGI FollowSymLinks

  RewriteEngine On
  RedirectMatch permanent (.*)/$ $1/index.html
  AddDefaultCharset UTF-8
  SetHandler perl-script
  PerlHandler RT::Mason
</Directory>
<VirtualHost 172.16.5.163>
        ServerName clehbrtsrv01.broadvox.local

        DocumentRoot /opt/rt3/share/html
        AddDefaultCharset UTF-8

        # optional apache logs for RT
        # ErrorLog /opt/rt3/var/log/apache.error
        # TransferLog /opt/rt3/var/log/apache.error

        PerlModule Apache::DBI
        PerlRequire /opt/rt3/bin/webmux.pl
        <Location /NoAuth/images>
                SetHandler default
        </Location>
        <Location />
                SetHandler perl-script
                PerlHandler RT::Mason
        </Location>
</VirtualHost>

When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3).  I get an "Internal Server Error" due to a misconfiguration.  Here is my error_log file for Apache:


[Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down
[Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ...
[Mon May 18 15:16:19 2009] [notice] Digest: done
[Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n
DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
[Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n

Eric Chatham
MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echatham at broadvox.net
[cid:image001.gif at 01C9D7CC.691A95E0]


________________________________
CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090518/c6900465/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2381 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090518/c6900465/attachment.gif>


More information about the rt-users mailing list