Sponsored Content
Full Discussion: Request Tracker
Operating Systems Solaris Request Tracker Post 302102379 by sparcguy on Wednesday 10th of January 2007 04:59:26 AM
Old 01-10-2007
ok I managed to config cpan, then did a rt-test-dependencies to get a list of all the missing perl modules, put it into a list then did a perl -MCPAN -e 'install "<module>"' for each missing module, it hours to download and install

finally when I make initialize-database

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 instal
ation.
Creating system user...*** Signal 11 - core dumped
make: Fatal error: Command failed for target `initialize-database'
root:aquila:/tmp/rt-3.6.3 >


hmm ... is there any patches I need to install for mysql?
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

event scheduler/tracker script

Dear All, I am writing an event tracker shell script as part of a personal project. I am trying 2 write a sort of date math function using the GNU date command. This function would allow 2 search 4 future events, like looking 4 events 1 or 2 days ahead 4 instance. I've used the date command b4... (1 Reply)
Discussion started by: theangrybeaver
1 Replies

2. Shell Programming and Scripting

GPS-Tracker script [Android]

Hi UNIX-Forum! I don't know if this is the right Forum for my question, but since Android technically is a UNIX-based system... I have a rooted Android and a Terminal emulator and bash installed. I wanted to write a little script for my android that activates GPS, gets the location and sends... (3 Replies)
Discussion started by: al0x
3 Replies
DBICx::TestDatabase::Subclass(3pm)			User Contributed Perl Documentation			DBICx::TestDatabase::Subclass(3pm)

NAME
DBICx::TestDatabase::Subclass - a DBICx::TestDatabase you can add your own methods to SYNOPSIS
Your test database subclass: package MyApp::TestDatabase use base qw(DBICx::TestDatabase::Subclass MyApp::Schema); sub foo { my $self = shift; return $self->resultset('Foo')->create({ foo => 'bar' }); } Later: use MyApp::TestDatabase; my $schema = MyApp::TestDatabase->connect; my $foo_row = $schema->foo; # MyApp::TestDatabase::foo my $bars = $schema->resultset('Bar'); # MyApp::Schema::resultset DESCRIPTION
Sometimes DBICx::TestDatabase doesn't give you enough control over the object returned. This module lets you create a custom test database class. METHODS
connect This method creates the temporary database and returns the connection. If your subclass needs to change the way connect works, do something like this: sub connect { my ($class) = @_; say 'This happens before we create the test database.'; my $schema = $class->next::method; say '$schema is the temporary test database'; return $schema; } SEE ALSO
If you want a simple test database based on a DBIC schema, just use DBICx::TestDatabase. AUTHOR
Jonathan Rockway "<jrockway@cpan.org>" LICENSE
Copyright (c) 2007 Jonathan Rockway. This program is free software. You may use, modify, and redistribute it under the same terms as Perl itself. perl v5.10.1 2007-10-07 DBICx::TestDatabase::Subclass(3pm)
All times are GMT -4. The time now is 02:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy