[rt-users] make initdb dumps core

Roy McMorran mcmorran at mdibl.org
Wed Jul 13 16:58:52 EDT 2005


Hello folks,
I'm building a fresh install of RT 3.4.2 on a new system:
Solaris 9, freshly paved
Perl 5.8.7
MySQL 4.1.2

and I'm hitting a wall at "make initdb" when it tries to "Create templates":

root at testbed# gmake initdb
/usr/local/bin/perl //usr/local/rt3/sbin/rt-setup-database --action init 
--dba root --prompt-for-dba-password
In order to create or update your RT database,this script needs to 
connect to your mysql instance on localhost as root.
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 mysql database rt3.
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...not found.  This appears to be a new 
installation.
Creating system user...done.
Now inserting RT data
Creating Superuser  ACL...done.
Creating groups...3.4.5.6.7.8.9.done.
Creating users...10.12.done.
Creating queues...1.2.done.
Creating ACL...2.3.done.
Creating ScripActions...1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions...1.2.3.4.5.6.7.8.9.10.done.
Creating templates...1.gmake: *** [initialize-database] Bus Error (core 
dumped)

It appears to be dying inside DBIx::SearchBuilder::Handle ...here are 
the last few lines of a perl -d trace
(I can provide the rest if needed):

DBIx::SearchBuilder::Handle::SimpleQuery(/usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm:477):
477:        my $executed;
478:        {
DBIx::SearchBuilder::Handle::SimpleQuery(/usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm:479):
479:            no warnings 'uninitialized' ; # undef in bind_values 
makes DBI sad
DBIx::SearchBuilder::Handle::SimpleQuery(/usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm:480):
480:            eval { $executed = $sth->execute(@bind_values) };
DBIx::SearchBuilder::Handle::SimpleQuery(/usr/local/lib/perl5/site_perl/5.8.7/DBIx/SearchBuilder/Handle.pm:480):
480:            eval { $executed = $sth->execute(@bind_values) };

Any ideas on what might be wrong?

Thanks and best wishes,
-r

PS: Thanks for RT, it is awesome!

-- 
Roy McMorran
Systems Administrator
MDI Biological Laboratory
Old Bar Harbor Road
P.O. Box 35
Salisbury Cove, ME  04672
207-288-3605 Ext. 127
mcmorran at mdibl.org




More information about the rt-users mailing list