[rt-users] Post Installation problems -- 'Can't localte object method "new" via package "RT::Handle"... Why?

max riz max at ebrary.com
Mon Feb 2 16:19:00 EST 2004


Ruslan U. Zakirov wrote:

> max riz wrote:
>
>>
>> Running Redhat 8, with redhat's Apache (2) and mod_perl (2)
>> and MySQL (Also Redhat's. 3.23.58 ).
>>
>> Same result with rt 3.0.8, 3.0.6 and 3.0.2.
>>
>> I've installed all the necessary modules, verified by test-dependencies,
>> performed a sucessful 'make install' and 'make initialize-database'. 
>> I've
>> set up the Apache's config file to point at RT.
>>
>> And when I try to connect, I get a 500 error.
>>
>> Apache's RT3 error_log file contains naught but:
>>
>> [Tue Jan 27 03:11:48 2004] [error] [client 10.1.100.10] Can't locate 
>> object method "new" via package "RT::Handle" at 
>> /opt/rt/rt-3.0.8/lib/RT.pm line 147.!
>>
>>
>> I've done sucessful RT installations before, but was foolish enough 
>> not to document them. I have no idea how to fix this problem, nor why it
>> occurs.
>>
>> Any ideas?
>
>
> What about DBIx::SearchBuilder? 

 -bash-2.05b$ perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install DBIx::SearchBuilder
CPAN: Storable loaded ok
Going to read /opt/rt/.cpan/Metadata
  Database was generated on Mon, 02 Feb 2004 12:50:59 GMT
DBIx::SearchBuilder is up to date.


 So that's fine.

 

>
> Use latest RT and latest searchbuilder. 

 
 RT at 3.0.8, SearchBuilder at whatever CPAN
thinks is freshest.


>
> Run RT's dependencies test again. 

 Runs fine and reports that everything is there.
-bash-2.05b$ ./rt-3.0.8/sbin/rt-test-dependencies --with-mysql 
--with-apache2
Unknown option: with-apache2
perl:
        5.8.0...found
MASON dependencies:
        Params::Validate 0.02...found
        Cache::Cache ...found
        Exception::Class ...found
        HTML::Mason 1.16...found
        MLDBM ...found
        Errno ...found
        FreezeThaw ...found
        Digest::MD5 2.27...found
        CGI::Cookie 1.20...found
        Storable 2.08...found
        Apache::Session 1.53...found
MAILGATE dependencies:
        HTML::TreeBuilder ...found
        HTML::FormatText ...found
        Getopt::Long ...found
        LWP::UserAgent ...found
CLI dependencies:
        Getopt::Long 2.24...found
CORE dependencies:
        Digest::MD5 2.27...found
        DBI 1.37...found
        Test::Inline ...found
        Class::ReturnValue 0.40...found
        DBIx::SearchBuilder 0.95...found
        Text::Template ...found
        File::Spec 0.8...found
        HTML::Entities ...found
        Net::Domain ...found
        Log::Dispatch 2.0...found
        Locale::Maketext 1.06...found
        Locale::Maketext::Lexicon 0.32...found
        Locale::Maketext::Fuzzy ...found
        MIME::Entity 5.108...found
        Mail::Mailer 1.57...found
        Net::SMTP ...found
        Text::Wrapper ...found
        Time::ParseDate ...found
        File::Temp ...found
        Term::ReadKey ...found
        Text::Autoformat ...found
        Text::Quoted 1.3...found
        Scalar::Util ...found
DEV dependencies:
        Regexp::Common ...found
        Time::HiRes ...found
        Test::Inline ...found
        WWW::Mechanize ...found
MYSQL dependencies:
        DBD::mysql 2.1018...found




 However the error persists.

 For bonus points, I've tried to do a similar setup at home, on a Fedora 
Core 1
machine, and as usual it worked like a charm.

 Which leads me to conclude that something is 'off' about the machien 
I'm using,
 but I don't have a good way to debug this to a reasonable conclusion.
 

>
>         Best regards. Ruslan.
>
>>
>>
>> Thanks!
>>
>
>
>





More information about the rt-users mailing list