Installation Problem

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
Assert_Defined failed: Cache::BaseCache line 194
The environment is Apache with mod_perl, Perl version is 5.8.7.
Any idea what may be causing the problem?

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

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.

Best regards,
Lutz

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


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.

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?

Fortunately not.
It fails just like that. I do have an Apache instance running just
for RT. Apache starts up fine without problems. As soon as I try
to access the first RT page just the one single error message is
shown:

Assert_Defined failed: Cache::BaseCache line 194
Paste whole errors!

No Problem:

[Tue Mar 28 20:10:14 2006] [notice] Apache configured – resuming normal operations
[Tue Mar 28 20:10:14 2006] [notice] suEXEC mechanism enabled (wrapper: /v/openssl/sw/sbin/suexec)
[Tue Mar 28 20:10:14 2006] [notice] Accept mutex: flock (Default: flock)
[Tue Mar 28 20:10:19 2006] [error] Assert_Defined failed: Cache::BaseCache line 194\n

Yes, that was all.

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.

The assertion is thrown inside perl’s basics routines, or so it seems.
As I however did not find any way to obtain a backtrace I just have the
information above. If I would have found more information I probably
would have come furrther mysef.
The main system (and OpenPKG) adminstrator has installed all of the
latest Perl components and guesses that it might be a version
incompatibility of some module – but we did not yet find a clue
where to exactly search…
Google does not list anything useful, so it does not seem to be a
day to day problem usually discussed on mailing lists…

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

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@aet.TU-Cottbus.DE
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus

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)

Ok, please stop any thinking, problem found. I will have a talk to the guy
who messed around by manually editing SearchBuilder’s internals…

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