I was trying to reinstall RT so that it can run on apache2 with mod_perl 2 on a FreeBSD machine. I am getting the following error on restarting the apache Daemon:
[Tue Apr 18 11:41:14 2006] [error] Can’t locate Apache2.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach
/usr/local/lib/perl5/5.8.6 . /usr/local/apache2) at (eval 197) line 3.\n
I had modified the httpd.conf by adding these lines
<VirtualHost 194.133.122.58>
ServerName coc.telone.co.zw
ServerAdmin sgapu@telone.co.zw
Alias /rt3 “/opt/rt3/share/html”
PerlModule Apache::DBI
PerlModule Apache2 Apache::compat
PerlRequire /opt/rt3/bin/webmux.pl
<Directory /opt/rt3/share/html>
AllowOverride All
Options ExecCGI FollowSymLinks
Order allow,deny
Allow from all
<Location /rt3>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
ErrorLog logs/coc.telone.co.zw-errors
CustomLog logs/dummy-host.example.com-access_log common
Can anyone assist?????????Kind regards,
Sternford GapuFrom: Steffen Poulsen
To: Thomas Knoezinger
Cc: rt-users@lists.bestpractical.com
Sent: Thursday, April 06, 2006 3:49 PM
Subject: Re: [rt-users] Problem creating initial rt3 database in mysql,DBD::mysql::db prepare warning:
Installing an earlier version of DBD-mysql got me past the login screen
- hope this issue won’t cause any surprises later on!
emerge -p --oneshot =DBD-mysql-3.0002
// Steffen
Thomas Knoezinger wrote:
Hello Steffen,
have the same issue. Tested with debian with out this issue. Seems to be a
gentoo only issue. You can find some email about this issue. I have no idea
till now.
Even last comment to try running apache with mpm_worker is not solving the
issue.Thanks,
Thomas
Thomas Knoezinger wrote:
P.S: Please let me know if you installation of rt is eating a lot of
memory even for prompting login page.Seems like it’s finally getting to run, after mason was compiled for
modperl supportBut you’re right, it only managed to show the login-page once -
subsequent requests just puts this in apache error log:Out of memory!
Callback called exit.Any ideas?
// Steffen, Denmark
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions