[rt-users] Problem initializing postgres DB with 3.4.0
Lee, Kevin
kdlee at qualcomm.com
Tue Feb 1 16:24:39 EST 2005
I never heard back from anyone and I did not have time to track down the
problem earlier, but now I tried with the official 3.4.0 release and I
came across the exact same problem. The only difference is I had to
upgrade DBIx::SearchBuilder from 1.19 to 1.22.
I dropped the previous rt3 database and tried to re-initialize the
database when I came across the same infinite loop problem.
Anyone have a clue what might be wrong?
Thanks! Kevin
________________________________
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Lee,
Kevin
Sent: Monday, January 17, 2005 4:34 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Problem initializing postgres DB with 3.4.0 rc5
I have a test system that I use to pre-test RT (and other tools). I
tried installing 3.4.0 rc5 and ran into a problem when initializing the
database. It looks like it goes into an infinite loop.
I get this message in /var/log/messages:
Jan 14 16:19:55 or-testdeploy RT: Deep recursion on subroutine
"RT::CurrentUser::_Init" at
/opt/or-buildtools/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Record.p
m line 362, <DATA> line 331. (/opt/or-buildtools/lib/RT.pm:277)
When I was running this command:
# /opt/or-buildtools/sbin/rt-setup-database --action init --dba postgres
--prompt-for-dba-password
In order to create a new database and grant RT access to that database,
this script needs to connect to your Pg instance on localhost as
postgres.
Please specify that user's database password below. If the user has no
database
password, just press return.
Password: Now creating a database for RT.
Creating Pg database rt3.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user...not found. This appears to be a new
installation.
Creating system user...done.
Now inserting RT data <-- Was stuck on this line for a very long
time...
Out of memory!
I'm running on RH Enterprise Linux ES 3 with postgres and apache2 and
mod_perl. I have the same machine configuration running 3.2.2 in my
production environment without any problems.
Here is the rt3.4rc5 configuration:
/opt/or-buildtools/bin/perl ./sbin/rt-test-dependencies --verbose
--with-Pg
perl:
5.8.3...found
users:
rt group (or-rt)...found
bin owner (root)...found
libs owner (root)...found
libs group (bin)...found
web owner (apache)...found
web group (apache)...found
MASON dependencies:
Params::Validate 0.02...found
Cache::Cache ...found
Exception::Class 1.14...found
HTML::Mason 1.23...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
XML::RSS ...found
MAILGATE dependencies:
HTML::TreeBuilder ...found
HTML::FormatText ...found
Getopt::Long ...found
LWP::UserAgent ...found
POSTGRESQL dependencies:
DBD::Pg ...found
CLI dependencies:
Getopt::Long 2.24...found
CORE dependencies:
Digest::base ...found
Digest::MD5 2.27...found
DBI 1.37...found
Test::Inline ...found
Class::ReturnValue 0.40...found
DBIx::SearchBuilder 1.19...found
Text::Template ...found
File::Spec 0.8...found
HTML::Entities ...found
HTML::Scrubber 0.08...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
Time::HiRes ...found
File::Temp ...found
Term::ReadKey ...found
Text::Autoformat ...found
Text::Quoted 1.3...found
Tree::Simple 1.04...found
Scalar::Util ...found
Module::Versions::Report ...found
Cache::Simple::TimedExpiry ...found
XML::Simple ...found
DEV dependencies:
Regexp::Common ...found
Test::Inline ...found
Apache::Test ...found
HTML::Form ...found
HTML::TokeParser ...found
WWW::Mechanize ...found
Test::WWW::Mechanize ...found
Module::Refresh 0.03...found
Did I forget to do something when I upgraded my test system from 3.2.2
to 3.4.0rc5?
Thanks! Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050201/e3f6894b/attachment.htm>
More information about the rt-users
mailing list