Perl and apache error after rt installation

Hi,

I’m sure I messed up perl in my FC4 box when I tried to update . I tried yum remove perl, but it looks like it’s going to be a complete re-install of my FC4.

I don’t want to re-install entire FC4. Is there a way to bring back perl ok? Here is what you can see in apache logs after the RT installation.

[Tue Sep 20 11:01:23 2005] [notice] caught SIGTERM, shutting down
[Tue Sep 20 11:01:24 2005] [error] Can’t locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /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.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /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.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 . /etc/httpd) at /opt/rt3/lib/RT/I18N.pm line 57.\nBEGIN failed–compilation aborted at /opt/rt3/lib/RT/I18N.pm line 57.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 48.\nBEGIN failed–compilation aborted at /opt/rt3/lib/RT.pm line 48.\nCompilation failed in require at /opt/rt3/bin/webmux.pl line 66.\nBEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 66.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Sep 20 11:01:24 2005] [error] Can’t load Perl file: /opt/rt3/bin/webmux.pl for server

Please also note that I did not do any force installs. I installed RT only after make testdeps gave me “Everything was found”

perl -v gives This is perl, v5.8.7 built for i686-linux

which perl

/usr/local/bin/perl

Sorry about the long email. I’m having this problem for the past few days and I’m unable to sort it out.

Can I please ask someone out here to help me?? If you need more details, please let me know.

kind regards,
Praveen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings!

Abilash Praveen M wrote:

I don’t want to re-install entire FC4. Is there a way to bring back perl
ok? Here is what you can see in apache logs after the RT installation.

[Tue Sep 20 11:01:23 2005] [notice] caught SIGTERM, shutting down
[Tue Sep 20 11:01:24 2005] [error] Can’t locate
Locale/Maketext/Lexicon.pm in @INC (@INC contains: /opt/rt3/local/lib
[skip]
Please also note that I did not do any force installs. I installed RT
only after make testdeps gave me “Everything was found”

At least Locale::Maketext::Lexicon is missing.
Try make testdeps and look for
Core dependencies/Locale::Maketext::Lexicon.

If it is “missing” just do make fixdeps.
If “found”… something broken, try:
$> perl -MCPAN -e ‘install Locale::Maketext::Lexicon’

I hope this will help.

SY, Danial.


Danial Klimkin,
Falk eSolutions AG Russia
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDL/tg2ce6OqXQ52QRAhksAKCeISTYQKR43HKuYC4O8tHS0YDiQgCgmZH/
1FwBMcVGPz8SOS00z8k7Hts=
=2Y66
-----END PGP SIGNATURE-----

You have two perl installations: with /usr/local/ prefix and with /usr
prefix. First looks like build from sources, second is from FC RPMs.

Errors you see shows that FCGI or apache uses perl from /usr.
Try to reinstall RT3 sources, but run PERL=/usr/local/bin/perl ./configure --... before make install. This should help.On 9/20/05, Abilash Praveen M abilashpraveen82@hotmail.com wrote:

Hi,

I’m sure I messed up perl in my FC4 box when I tried to update . I tried yum
remove perl, but it looks like it’s going to be a complete re-install of my
FC4.

I don’t want to re-install entire FC4. Is there a way to bring back perl ok?
Here is what you can see in apache logs after the RT installation.

[Tue Sep 20 11:01:23 2005] [notice] caught SIGTERM, shutting down
[Tue Sep 20 11:01:24 2005] [error] Can’t locate Locale/Maketext/Lexicon.pm
in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib
/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.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/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.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/5.8.6 . /etc/httpd) at /opt/rt3/lib/RT/I18N.pm line
57.\nBEGIN failed–compilation aborted at /opt/rt3/lib/RT/I18N.pm line
57.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 48.\nBEGIN
failed–compilation aborted at /opt/rt3/lib/RT.pm line 48.\nCompilation
failed in require at /opt/rt3/bin/webmux.pl line 66.\nBEGIN
failed–compilation aborted at /opt/rt3/bin/webmux.pl line 66.\nCompilation
failed in require at (eval 2) line 1.\n
[Tue Sep 20 11:01:24 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server

Please also note that I did not do any force installs. I installed RT only
after make testdeps gave me “Everything was found”

perl -v gives This is perl, v5.8.7 built for i686-linux

which perl

/usr/local/bin/perl

Sorry about the long email. I’m having this problem for the past few days
and I’m unable to sort it out.

Can I please ask someone out here to help me?? If you need more details,
please let me know.

kind regards,
Praveen


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from
http://rtbook.bestpractical.com

Best regards, Ruslan.

You have two perl installations: with /usr/local/ prefix and with /usr
prefix. First looks like build from sources, second is from FC RPMs.

Errors you see shows that FCGI or apache uses perl from /usr.
Oh, sorry, looks like you are using mod_perl, but MP can be compiled
against particular perl build and as I understand you have MP
installed from RPMs or it’s built from sources against perl that is in
/usr. AFAIK you can’t build two MP modules for one apache agaist two
different perls so may be it would be easier for you to go with FCGI.

But anyway you have to do next steps to be sure all RT scripts use
perl installation you want:

Try to reinstall RT3 sources, but run PERL=/usr/local/bin/perl ./configure --... before make install. This should help.

Hi,

I’m sure I messed up perl in my FC4 box when I tried to update . I tried yum
remove perl, but it looks like it’s going to be a complete re-install of my
FC4.

I don’t want to re-install entire FC4. Is there a way to bring back perl ok?
Here is what you can see in apache logs after the RT installation.

[Tue Sep 20 11:01:23 2005] [notice] caught SIGTERM, shutting down
[Tue Sep 20 11:01:24 2005] [error] Can’t locate Locale/Maketext/Lexicon.pm
in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib
/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.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/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.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/5.8.6 . /etc/httpd) at /opt/rt3/lib/RT/I18N.pm line
57.\nBEGIN failed–compilation aborted at /opt/rt3/lib/RT/I18N.pm line
57.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 48.\nBEGIN
failed–compilation aborted at /opt/rt3/lib/RT.pm line 48.\nCompilation
failed in require at /opt/rt3/bin/webmux.pl line 66.\nBEGIN
failed–compilation aborted at /opt/rt3/bin/webmux.pl line 66.\nCompilation
failed in require at (eval 2) line 1.\n
[Tue Sep 20 11:01:24 2005] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server

Please also note that I did not do any force installs. I installed RT only
after make testdeps gave me “Everything was found”

perl -v gives This is perl, v5.8.7 built for i686-linux

which perl

/usr/local/bin/perl

Sorry about the long email. I’m having this problem for the past few days
and I’m unable to sort it out.

Can I please ask someone out here to help me?? If you need more details,
please let me know.

kind regards,
Praveen


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from
http://rtbook.bestpractical.com


Best regards, Ruslan.

Best regards, Ruslan.