[rt-users] Error RT 3.8 / Perl 5.16 / FreeBSD 9: Anybody has seen this?

barainty-rtusers at citytwist.com barainty-rtusers at citytwist.com
Mon Oct 1 13:29:57 EDT 2012


I have a webserver running RT 3.8.7. It has been in production for over a
year. I'm migrating to a new server (FreeBSD 9.0-RELEASE-p3) using the same
RT configuration and database, but I get an http error when I try to launch
the web interface. I collected the following log, right after restarting
Apache.

[Thu Sep 27 17:26:13 2012] [notice] caught SIGTERM, shutting down [Thu Sep
27 17:26:37 2012] [notice] Digest: generating secret for digest
authentication ...
[Thu Sep 27 17:26:37 2012] [notice] Digest: done [Thu Sep 27 17:26:38 2012]
[notice] Apache/2.2.22 (FreeBSD) PHP/5.4.6 mod_ssl/2.2.22 OpenSSL/0.9.8q
DAV/2 mod_perl/2.0.7 Perl/v5.16.0 configured -- resuming normal operations
[Thu Sep 27 21:27:30 2012] [warning]: [Mason] Cannot resolve file to
component: /usr/local/share/html/index.html (is file outside component
root?) at
/usr/local/lib/perl5/site_perl/5.16.0/HTML/Macal/lib/perl5/site_perl/5.16.0/
HTML/Mason/ApacheHandler.pm:853)

On the browser page I simply get this error:

	Not Found
	The requested URL / was not found on this server.

I googled around and did not found a conclusive fix or solution.

Following is the httpd-vhosts.conf, which with the exception of the IP
address, it's identical to the one in the production site:

LoadModule perl_module libexec/apache22/mod_perl.so <VirtualHost
192.168.165.99:80>
        ServerName newtickets.int.visionamics.com
        ServerAlias newtickets
        DocumentRoot /usr/local/share/html
        AddDefaultCharset UTF-8
        PerlRequire "/usr/local/bin/webmux.pl"

        <Directory />
                order allow,deny
                allow from all
        </Directory>

        <Location /NoAuth/images>
                SetHandler default
        </Location>

        <Location />
                SetHandler perl-script
                PerlHandler RT::Mason
        </Location>
</VirtualHost>
<VirtualHost 192.168.165.99:80>
        ServerName admnp004-new.int.visionamics.com
        ServerAlias admnp004-new
        DocumentRoot /usr/local/www/apache22/data/
        <Directory />
                order allow,deny
                allow from all
        </Directory>
</VirtualHost>
<VirtualHost 192.168.165.99:80>
        ServerName support.int.visionamics.com
        ServerAlias support
        DocumentRoot /usr/local/www/apache22/support/
        <Directory />
                order allow,deny
                allow from all
        </Directory>
</VirtualHost>
<VirtualHost 192.168.165.99:8080>
        ServerName vistesting.selfmailsystem.com
        DocumentRoot /usr/local/www/apache22/sploit/
        <Directory />
                order allow,deny
                allow from all
        </Directory>
</VirtualHost>


Please, advise.

- Bernardo
  x2211






More information about the rt-users mailing list