<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Apache user environment</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Apologies if this has been asked before, and its more an environment problem as it pertains to RT.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">After installing all requisite perl modules, rpms, etc, making install, configuring files, I am having issues with apache keeping mason_handler.fcgi running. It crashes out as it cannot locate Locale::Maketext::Lexicon with the Can't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: ……</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I installed all the modules from CPAN which placed most of them in /usr/lib/perl5/site_perl. I copied the Lexicon module as well as the other requisite modules in Locale/Maketext to /usr/lib/perl5/5.8.5/ which quelled that error, but then it could not find DBIx::SearchBuilder. I tried the same trick with copying it down a level, but this did not soothe the savage beast.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Upon looking at the issue, I noticed that running it as root or some other user, that I had no compilation errors:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">root # perl</FONT>
<BR><FONT SIZE=2 FACE="Arial">use Locale::Maketext::Lexicon;</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">However, running it as apache:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">root# sudo -u apache perl</FONT>
<BR><FONT SIZE=2 FACE="Arial">use Locale::Maketext::Lexicon;</FONT>
<BR><FONT SIZE=2 FACE="Arial">Can't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /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/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /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.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /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/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at - line 1.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">BEGIN failed--compilation aborted at - line 1.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The apache user seems to have the proper perl include paths, pointing out the designated location of the aforementioned cpan installation point:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">root # sudo -u apache perl</FONT>
<BR><FONT SIZE=2 FACE="Arial">foreach $i (@INC) {</FONT>
<BR><FONT SIZE=2 FACE="Arial">print $i;</FONT>
<BR><FONT SIZE=2 FACE="Arial">print "\n";</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/5.8.5/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/5.8.5</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">|---> /usr/lib/perl5/site_perl/5.8.5 <---|</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.4</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.3</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.1</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl/5.8.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/site_perl</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.5</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.4</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.3</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.1</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl/5.8.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">/usr/lib/perl5/vendor_perl</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Has anyone had this type of problem before?</FONT>
<BR><FONT SIZE=2 FACE="Arial">Thanks in advance for any help</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Times New Roman">Peter Musolino</FONT>
<BR><FONT SIZE=1 FACE="Times New Roman">peter.musolino@dbzco.com</FONT>
</P>
<BR>
<pre>
This e-mail message is intended only for the named recipient(s) above. It may contain confidential information. If you are not the intended recipient, you are hereby noti
fied that any use, dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. D.B. Zwirn & Co., L.P. reserves the right to archive
and monitor all e-mail communications through its networks. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and
delete the message and any attachment(s) from your system. Thank you.
</pre></BODY>
</HTML>