[rt-users] Apache problem
David Oberlitner
david.oberlitner at aspidon.net
Thu Mar 24 14:12:05 EST 2005
For what it may be worth:
I believe Apache::DBI should reside in perl_lib_path(@INC)/Apache/DBI.pm
and serves to establish persistent DB connections when loaded in
httpd.conf before any other DBI modules. Other
perl_lib_path/Not_Apache/DBI.pm's serve other functions.
Properly installing Apache::DBI may provide a better solution in
addition to supporting persistent connections.
David Oberlitner
Frank Saxton wrote:
>You're my hero, Jay! :)
>
>Copied DBI.pm to some place in the path and now I have an RT logon screen!
>
>In my case, I did a mkdir /opt/rt3/lib/Apache
>
>Cp DBI.pm into /opt/rt3/lib/Apache
>
>I am on the verge of being able to say that I have RT 3.4.1 running on Redhat
>ES 4.0 using Apache 2.0.52 with mod_perl
>
>So what's the default administrator logon/pw?
>
>On Thursday 24 March 2005 10:12, you wrote:
>
>
>>On Thu, Mar 24, 2005 at 10:07:48AM -0800, Frank Saxton wrote:
>>
>>
>>>So just to review, after following all of the instructions,. tips and so
>>>on that I could find, when I try to start apache with either
>>>
>>>PerlModule Apache::DBI or
>>>PerlRequire /opt/rt3/bin/webmux.pl in httpd.conf
>>>
>>>I get a can't locate Apache/DBI.pm error message
>>>
>>>
>>*Aha*.
>>
>>(It's a detective thing. :-)
>>
>>
>>
>>>The file exists in /usr/lib/perl5/....... but whatever is looking for it
>>>can't find it. I'm guessing this is a very simple thing to fix if I just
>>>knew how to help Apache find this needed file. That's all I really need
>>>help with and I'm guessing I will be very close to good to go once that's
>>>solved.
>>>
>>>
>>I solved it by copying the DBI.pm file I *did* have to the parent of
>>the directory it lived in, wherein mod_perl located it, with the
>>results I've mentioned previously. (Works, apache slow -- apache is
>>slow on standard files, too; it might just be apache).
>>
>>Cheers,
>>-- jra
>>
>>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training at bestpractical.com for details.
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>
More information about the rt-users
mailing list