Installation - mod_perl version

Hi folks,

I’m near to make RT 3.4.4 works on my linux SuSE 9.3 but I’m boried
with a last little problem.
When I try to launch apache, I got an error from webmux.pl :

[Wed Dec 14 14:40:57 2005] [error] RT does not support mod_perl 1.99.
Please upgrade to mod_perl 2.0 at /opt/rt3/bin/webmux.pl line
60.\nBEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line
64.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Dec 14 14:40:57 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server xpgremaudc1:0, exiting…

The responsible code is :
die "RT does not support mod_perl 1.99. Please upgrade to mod_perl 2.0"
if $ENV{‘MOD_PERL’}
and $ENV{‘MOD_PERL’} =~ m{mod_perl/(?:1.9)};

Ok, but my problem is that I’ve mod_perl 2.0 installed !!

jeanmi@xpgremaudc1:~> rpm -qa | grep apache
apache2-prefork-2.0.53-9
apache2-2.0.53-9
apache2-mod_perl-2.0.0-4

If I try to comment the verification, I got these error messages and
apache don’t start also :

[Wed Dec 14 15:40:09 2005] [error] Can’t locate mod_perl2.pm in @INC
(@INC contains: /opt/rt3/local/lib /opt/rt3/lib
/usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/perl5/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .
/srv/www) at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line 23.\nBEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
41.\nCompilation failed in require at
/opt/rt3/lib/RT/Interface/Web/Handler.pm line 146.\nCompilation failed
in require at (eval 2) line 1.\n
[Wed Dec 14 15:40:09 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server xpgremaudc1:0, exiting…

Now I don’t know what to do, do you have any idea?

Thanks.

Jean-Michel Bonnefond
TEAMLOG

Hi folks,

I’m near to make RT 3.4.4 works on my linux SuSE 9.3 but I’m boried
with a last little problem.
When I try to launch apache, I got an error from webmux.pl :

[Wed Dec 14 14:40:57 2005] [error] RT does not support mod_perl 1.99.
Please upgrade to mod_perl 2.0 at /opt/rt3/bin/webmux.pl line
60.\nBEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line
64.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Dec 14 14:40:57 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server xpgremaudc1:0, exiting…

The responsible code is :
die "RT does not support mod_perl 1.99. Please upgrade to mod_perl 2.0"
if $ENV{‘MOD_PERL’}
and $ENV{‘MOD_PERL’} =~ m{mod_perl/(?:1.9)};

Ok, but my problem is that I’ve mod_perl 2.0 installed !!

jeanmi@xpgremaudc1:~> rpm -qa | grep apache
apache2-prefork-2.0.53-9
apache2-2.0.53-9
apache2-mod_perl-2.0.0-4

If I try to comment the verification, I got these error messages and
apache don’t start also :

[Wed Dec 14 15:40:09 2005] [error] Can’t locate mod_perl2.pm in @INC
(@INC contains: /opt/rt3/local/lib /opt/rt3/lib
/usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/perl5/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .
/srv/www) at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line 23.\nBEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
41.\nCompilation failed in require at
/opt/rt3/lib/RT/Interface/Web/Handler.pm line 146.\nCompilation failed
in require at (eval 2) line 1.\n
[Wed Dec 14 15:40:09 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server xpgremaudc1:0, exiting…

Now I don’t know what to do, do you have any idea?

Thanks.
Jean-Michel Bonnefond
TEAMLOG

The responsible code is :
die "RT does not support mod_perl 1.99. Please upgrade to
mod_perl 2.0"
if $ENV{‘MOD_PERL’}
and $ENV{‘MOD_PERL’} =~ m{mod_perl/(?:1.9)};

Ok, but my problem is that I’ve mod_perl 2.0 installed !!

jeanmi@xpgremaudc1:~> rpm -qa | grep apache
apache2-prefork-2.0.53-9
apache2-2.0.53-9
apache2-mod_perl-2.0.0-4

You might have vestiges of the older one still installed. I’d
recommend purging all of perl (and anything depending on perl) and
starting over. After removing the packages, make sure all files are
really gone.

smime.p7s (2.42 KB)

Ok, but my problem is that I’ve mod_perl 2.0 installed !!

jeanmi@xpgremaudc1:~> rpm -qa | grep apache
apache2-prefork-2.0.53-9
apache2-2.0.53-9
apache2-mod_perl-2.0.0-4

Was this an upgrade via RPM, or was apache2-mod_perl-2.0.0-4 the original
version installed on your system? Take a look into your Apache modules
directory to see what version of mod_perl is actually there. Try this:

$ strings /usr/local/httpd/modules/mod_perl.so | grep mod_perl/

(Adjust the directory path as needed for your system – I install my
Apache from source, and I don’t recall where RPM versions put their
modules.)

Also, if you did the mod_perl as an upgrade, did you remember to restart
Apache afterward?

Scott

Scott Courtney | “I don’t mind Microsoft making money. I mind them
scott@4th.com | having a bad operating system.” – Linus Torvalds
http://4th.com/ | (“The Rebel Code,” NY Times, 21 February 1999)
| PGP Public Key at http://4th.com/keys/scott.pubkey