[rt-users] Installation Problem

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Fri Apr 28 13:55:39 EDT 2006


On Fri, Apr 21, 2006 at 05:00:09PM +0400, Ruslan Zakirov wrote:
> On 4/21/06, Lutz Jaenicke <Lutz.Jaenicke at aet.tu-cottbus.de> wrote:
> > Hi!
> >
> > we are trying to install rt-3.4.5 on a FreeBSD system under OpenPKG.
> > So far it seems that all dependencies have been satisfied, nevertheless
> > connecting to RT fails with
> What exactly fails? Does it blow up your monitor?
> 
> >    Assert_Defined failed: Cache::BaseCache line 194
> Paste whole errors!
> 
> > The environment is Apache with mod_perl, Perl version is 5.8.7.
> > Any idea what may be causing the problem?
> No, unless you provide details.

Ok, I have hacked up perl deep enough to not just "throw Error::Simple"
but to provide me with a stacktrace. (Long original lines preserved intentionally)

[Fri Apr 28 19:00:32 2006] [error] Assert_Defined for p_key at /v/openssl/sw/lib/perl/vendor_perl/5.8.7/Cache/BaseCache.pm line 194
	Cache::BaseCache::get('Cache::MemoryCache=HASH(0x99bc0fc)', 'Name=RT_System') called at /v/openssl/sw/lib/perl/vendor_perl/5.8.7/DBIx/SearchBuilder/Record/Cachable.pm line 311
	DBIx::SearchBuilder::Record::Cachable::_lookup_primary_RecordCache_key('RT::CurrentUser=HASH(0x9989bd0)', 'Name=RT_System') called at /v/openssl/sw/lib/perl/vendor_perl/5.8.7/DBIx/SearchBuilder/Record/Cachable.pm line 131
	DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x9989bd0)', 'Name', 'RT_System') called at /v/openssl/sw/libexec/rt/RT/Record.pm line 392
	RT::Record::LoadByCols('RT::CurrentUser=HASH(0x9989bd0)', 'Name', 'RT_System') called at /v/openssl/sw/lib/perl/vendor_perl/5.8.7/DBIx/SearchBuilder/Record.pm line 1078
	DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x9989bd0)', 'Name', 'RT_System') called at /v/openssl/sw/libexec/rt/RT/CurrentUser.pm line 254
	RT::CurrentUser::LoadByName('RT::CurrentUser=HASH(0x9989bd0)', 'RT_System') called at /v/openssl/sw/libexec/rt/RT.pm line 152
	RT::Init() called at /v/openssl/sw/cgi/rt/webmux.pl line 122
	RT::Mason::handler('Apache=SCALAR(0x98a1c54)') called at /dev/null line 0
	eval {...} called at /dev/null line 0\n

Having seen this I found that there was no RT_System user in the database and
a drop of the database with re-init resulted in:
...
Now creating a database for RT.
Creating mysql database rt.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
Checking for existing system user...[Fri Apr 28 17:52:21 2006] [crit]:  (/v/openssl/sw/libexec/rt/RT.pm:295)

So quite obviously something odd is going on here. How to continue
to debug???

Best regards,
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus



More information about the rt-users mailing list