Rt3 Error while initialise-database

Hi!

When I try to initialize the database via “make initialize-database” i get
the following message:

Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema successfully 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…Can’t locate object method “begin_work” via package
"DBI::db" (perhaps you forgot to load “DBI::db”?) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 497, line 416.

Can anyone here help me out?

Thanks
Sven Henze

You did run:
rt-3-0-0/sbin/rt-test-dependencies

right?On Sat, 29 Mar 2003, Sven Henze wrote:

Hi!

When I try to initialize the database via “make initialize-database” i get
the following message:

Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema successfully 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…Can’t locate object method “begin_work” via package
“DBI::db” (perhaps you forgot to load “DBI::db”?) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 497, line 416.

Can anyone here help me out?

Thanks
Sven Henze


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Best regards,
Shimi

“Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader.”

“Sure UNIX is user friendly; it’s just picky about who its friends are.”

You did run:
rt-3-0-0/sbin/rt-test-dependencies

right?

Sure. It said “found” to everything. After that i did run “make install” and
i edited the config file. I also can see the Loging-Page without any error.

I’m running SuSE Linux 7.3 with modperl and mysql.

i don’t know then, sorry :frowning:

i thought it could be related for it not to have a current DB access
module, so that’s why it can’t find “the method” (that’s what the perl DBI
module does…)… it looks like you do have the DBI module indeed,
otherwise it won’t be able to access MySQL at all since the begining, and
it did…

just to be sure - you have to run rt-test-dependecies with --with-modperl1
and --with-mysql … if you did all that, sorry, i can’t help :(On Sat, 29 Mar 2003, Sven Henze wrote:

You did run:
rt-3-0-0/sbin/rt-test-dependencies

right?

Sure. It said “found” to everything. After that i did run “make install” and
i edited the config file. I also can see the Loging-Page without any error.

I’m running SuSE Linux 7.3 with modperl and mysql.

On Sat, 29 Mar 2003, Sven Henze wrote:

Hi!

When I try to initialize the database via “make initialize-database” i
get
the following message:

Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema successfully 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…Can’t locate object method “begin_work” via
package
“DBI::db” (perhaps you forgot to load “DBI::db”?) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 497,
line 416.

Can anyone here help me out?

Thanks
Sven Henze


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Best regards,
Shimi

“Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader.”

“Sure UNIX is user friendly; it’s just picky about who its friends are.”

Checking for existing system user…not found. This appears to be a new
installation.
Creating system user…Can’t locate object method “begin_work” via package
"DBI::db" (perhaps you forgot to load “DBI::db”?) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 497, line 416.

This is a bit old but just for the archives.
I ran into similar problems and basically had to update to
the newest DBI. The script located my old DBI that worked
with RT2 but the DBI is not compatible with the
database-initlization.

Remember to also reinstall DBD::MySQL after you install
DBI.

Dean

Checking for existing system user…not found. This appears to be a new
installation.
Creating system user…Can’t locate object method “begin_work” via package
"DBI::db" (perhaps you forgot to load “DBI::db”?) at
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 497, line 416.

This is a bit old but just for the archives.
I ran into similar problems and basically had to update to
the newest DBI. The script located my old DBI that worked
with RT2 but the DBI is not compatible with the
database-initlization.

Remember to also reinstall DBD::MySQL after you install
DBI.

Dean

Thanks! That helped me get past the same problem on Red Hat EL ES 2.1.

-Graham