[rt-users] Problem with new install of RT 3.4.4
Bill Sandiford
bill at telnetcommunications.com
Mon Oct 10 12:58:08 EDT 2005
I'm still stuck with this error.
Can't locate object method "connect" via package "DBI" at
/usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm line
108.\n
The other suggestions have been appreciated, but so far not able to resolve
the issues. Does anyone else have any ideas?
Regards,
Bill
----- Original Message -----
From: "Bill Sandiford" <bill at telnetcommunications.com>
To: "Ruslan Zakirov" <ruslan.zakirov at gmail.com>
Cc: <rt-users at lists.bestpractical.com>
Sent: Sunday, October 09, 2005 8:20 AM
Subject: Re: [rt-users] Problem with new install of RT 3.4.4
> Both,
>
> /usr/local/bin/perl -MDBI -e'1'
> and
> sudo -u apache /usr/local/bin/perl -MDBI -e'1'
>
> return back to the shell prompt after giving no output.
>
>
> ----- Original Message -----
> From: "Ruslan Zakirov" <ruslan.zakirov at gmail.com>
> To: "Bill Sandiford" <bill at telnetcommunications.com>
> Cc: <rt-users at lists.bestpractical.com>
> Sent: Sunday, October 09, 2005 4:53 AM
> Subject: Re: [rt-users] Problem with new install of RT 3.4.4
>
>
> On 10/9/05, Bill Sandiford <bill at telnetcommunications.com> wrote:
>> FYI
>>
>> in the Makefile for RT, PERL=/usr/local/bin/perl
>> in the Makefile for mod_perl, PERL=/usr/local/bin/perl
> This is good.
>>
>> output of 'find / -name DBI.pm -print'
>>
>> /root/.cpan/build/Apache-DBI-0.94/DBI.pm
>> /root/.cpan/build/Apache-DBI-0.94/blib/lib/Apache/DBI.pm
>> /root/.cpan/build/DBI-1.48/lib/Bundle/DBI.pm
>> /root/.cpan/build/DBI-1.48/DBI.pm
>> /root/.cpan/build/DBI-1.48/blib/lib/DBI.pm
>> /root/.cpan/build/DBI-1.48/blib/lib/Bundle/DBI.pm
>> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/Bundle/DBI.pm
>> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm
>> /usr/local/lib/perl5/site_perl/5.8.7/Apache/Session/Store/DBI.pm
>> /usr/local/lib/perl5/site_perl/5.8.7/Apache/DBI.pm
> Ok. looks like you really have DBI installed and it's installed in
> correct location.
> File permissions could be reason of your problems.
> First of all try `/usr/local/bin/perl -MDBI -e'1'` as root, then try
> as user of the apache server.
> May be you have too strict umask for root.
>
>>
>>
>>
>> ----- Original Message -----
>> From: "Bill Sandiford" <bill at telnetcommunications.com>
>> To: "Ruslan Zakirov" <ruslan.zakirov at gmail.com>
>> Cc: <rt-users at lists.bestpractical.com>
>> Sent: Saturday, October 08, 2005 11:25 PM
>> Subject: Re: [rt-users] Problem with new install of RT 3.4.4
>>
>>
>> > Hi Ruslan:
>> >
>> > yes you are correct about the distro Perl
>> >
>> > /usr/bin/perl -v --- gives output of 5.8.0
>> > /usr/local/bin/perl -v --- gives output of 5.8.7
>> >
>> > running 'locate DBI' comes back with no response, same thing for
>> > 'locate
>> > DBI.pm' if that matters
>> >
>> > when you are referring to the configure script, what configure script
>> > are
>> > you referring to...for what package.
>> >
>> > I installed DBI and every other perl module from cpan, mostly by using
>> > 'make fixdeps'
>> >
>> > DBI is version 1.48
>> >
>> > Bill
>> >
>> >
>> >
>> > ----- Original Message -----
>> > From: "Ruslan Zakirov" <ruslan.zakirov at gmail.com>
>> > To: "Bill Sandiford" <bill at telnetcommunications.com>
>> > Cc: <rt-users at lists.bestpractical.com>
>> > Sent: Saturday, October 08, 2005 7:18 PM
>> > Subject: Re: [rt-users] Problem with new install of RT 3.4.4
>> >
>> >
>> > On 10/9/05, Bill Sandiford <bill at telnetcommunications.com> wrote:
>> >> Hello All:
>> >>
>> >> I'm having a problem with a new install of RT. I've searched through
>> >> google
>> >> and the list archive and found other people that have had similar
>> >> problems,
>> >> but was unable to put my hand on a solution.
>> >>
>> >> Basically, everything went fine, install of everything was good, there
>> >> were
>> >> some dependencies that were missing but i fixed that with the make
>> >> testdeps,
>> >> make fixdeps procedure.
>> >>
>> >> I added the relevant info to the bottom of my httpd.conf file as per
>> >> the
>> >> ManualInstallation guide, restarted apache, and when I browse to the
>> >> page
>> >> I
>> >> get a 500 Internal server error.
>> >>
>> >> When I look at apache's error_log I get:
>> >>
>> >> [Sat Oct 8 16:28:12 2005] [error] Can't locate object method
>> >> "connect"
>> >> via
>> >> package "DBI" at
>> >> /usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm line
>> >> 108.\n
>> >>
>> >> I have verified that DBI is installed, (make testdeps confirmed). I
>> >> tried
>> >> removing and re-installing DBI with cpan but there was no change...I
>> >> still
>> >> get the same error.
>> > Please run 'locate DBI' from shell.
>> > I think you installed perl and also have distro's perl installed. By
>> > default configure script choose default perl in '/usr/bin/perl'. You
>> > have to run
>> > `PERL=/usr/local/bin/perl ./configure`.
>> > Also you use mod_perl then you have to build it against perl you want
>> > to use with RT.
>> >
>> > Hope this would help you.
>> >
>> >>
>> >> Here are my versions.
>> >>
>> >> RT 3.4.4
>> >> uname -a: Linux localhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT
>> >> 2003
>> >> i686 i686 i386 GNU/Linux
>> >> mysql 4.1.14
>> >> Apache 1.3.33
>> >> mod_perl 1.29
>> >> perl v5.8.7
>> >>
>> >> Any help would be appreciated !!!
>> >>
>> >> Regards,
>> >> Bill
>> >>
>> >> _______________________________________________
>> >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>> >>
>> >> 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.
>> >
>> > _______________________________________________
>> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>> >
>> > 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.
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> 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
More information about the rt-users
mailing list