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

Ruslan U. Zakirov cubic at acronis.ru
Mon Feb 2 16:38:28 EST 2004


max riz пишет:
> 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.
> 

[snip]

Really fine.

Ok.
Try next command:
perl -we "use lib '/opt/rt3/lib';require RT::Handle;RT::Handle->new();"

As I think you've forgot to setup $DatabaseType in config or have done 
mistake.

			Best regards. Ruslan.




More information about the rt-users mailing list