Fw: perl and apache error after rt installation

ok, how can i remove one of those MP and one of those perls? I’m sure it’s
going to be a mess to keep two of the twos…

please advice.

thanks again
abilash praveen
----- Original Message -----
From: “Ruslan Zakirov” ruslan.zakirov@gmail.com
To: “Abilash Praveen M” abilashpraveen82@hotmail.com
Cc: rt-users@lists.bestpractical.com
Sent: Tuesday, September 20, 2005 5:57 PM
Subject: Re: [rt-users] perl and apache error after rt installation

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.

okay. I think you figured out my problem. Cuz,

perl -MCPAN -e ‘install Locale::Maketext::Lexicon’

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 20 Sep 2005 03:09:00 GMT
Locale::Maketext::Lexicon is up to date.

So, now I have one question. Should I not have two perls? Yes, and /usr is
FC4 rpm’s. /usr/local is the one I built from sources. Is it alright to
remove one perl? Maybe the one I built from source? If so, how can I
remove(uninstall) it? I want to keep the FC4 rpm, cuz thats where I can do
a yum update easily. I would preffer rt install with the default perl…

please advice.

thanks again,
abilash praveen
----- Original Message -----
From: “Ruslan Zakirov” ruslan.zakirov@gmail.com
To: “Abilash Praveen M” abilashpraveen82@hotmail.com
Cc: rt-users@lists.bestpractical.com
Sent: Tuesday, September 20, 2005 5:40 PM
Subject: Re: [rt-users] perl and apache error after rt installation

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.

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.