Installin RT on Ubuntu

Hi,

I’m trying to install RT on Ubuntu 5.10, but i’m gettint the following
error while populating the DB:

rt-setup-database-3.4 --action init -dba rtuser

–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

Password:
install_driver(Pg) failed: Can’t locate DBD/Pg.pm in @INC (@INC
contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, line 1.
Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root@SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

Any ideas?
I’ve dorped the DB, a re-created it, but always get the same error

Thanks in advance
Gilberto Ribeiro

Hi,

I’m trying to install RT on Ubuntu 5.10, but i’m gettint the following
error while populating the DB:

rt-setup-database-3.4 --action init -dba rtuser

–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

install_driver(Pg) failed: Can’t locate DBD/Pg.pm in @INC (@INC
contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, line 1.
Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root@SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

cpan DBD::Pg

Hi again,

I’m new to linux, and extremely new to RT (i love RT as a user, but i’d
like to install it myself and use it elsewhere).
I’m following the step by step guide on the bestpractical web sibe, but
it’s not clear enouh, and has missing pois.
You’ve told me to run this command (cpan DBD::Pg), witch asks me a lot
of questions that i cannot answer.

I’ve been to cpan’s web site where i’ve seen that this is a POSTgreSQL
driver for the DBI module, but i’ve got mysql installed no postgresql.
Can you (or anybody) help?
I’d like a guide for dummies.

Thanks
Gilberto RibeiroOn Wed, 2005-11-30 at 17:10 -0500, Jesse Vincent wrote:

On Wed, Nov 30, 2005 at 09:58:07PM +0000, Gilberto Ribeiro wrote:

Hi,

I’m trying to install RT on Ubuntu 5.10, but i’m gettint the following
error while populating the DB:

rt-setup-database-3.4 --action init -dba rtuser

–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

install_driver(Pg) failed: Can’t locate DBD/Pg.pm in @INC (@INC
contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, line 1.
Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root@SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

cpan DBD::Pg

Cumprimentos
Gilberto Ribeiro

Jesse Vincent jesse@bestpractical.com writes:> On Wed, Nov 30, 2005 at 09:58:07PM +0000, Gilberto Ribeiro wrote:

Hi,

I’m trying to install RT on Ubuntu 5.10, but i’m gettint the following
error while populating the DB:

rt-setup-database-3.4 --action init -dba rtuser

–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

install_driver(Pg) failed: Can’t locate DBD/Pg.pm in @INC (@INC
contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, line 1.
Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root@SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

cpan DBD::Pg

Better, for Ubuntu or Debian, to use the distribution package:

] apt-get install libdbd-pg-perl

Regards,
Daniel

I’ve made progress so far, but still can’t populate the db. I get the
following error:

root@SCSI:/home/gr # rt-setup-database-3.4 --action init -dba rtuser
–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

Password:
DBI connect(‘dbname=template1;host=localhost’,‘rtuser’,…) failed:
received invalid response to SSL negotiation: <
at /usr/sbin/rt-setup-database-3.4 line 132
Failed to connect to dbi:Pg:dbname=template1;host=localhost as rtuser:
received invalid response to SSL negotiation: <

What am i doing wrong?
Thank You
Gilberto RibeiroOn Thu, 2005-12-01 at 11:14 +1100, Daniel Pittman wrote:

Jesse Vincent jesse@bestpractical.com writes:

On Wed, Nov 30, 2005 at 09:58:07PM +0000, Gilberto Ribeiro wrote:

Hi,

I’m trying to install RT on Ubuntu 5.10, but i’m gettint the following
error while populating the DB:

rt-setup-database-3.4 --action init -dba rtuser

–prompt-for-dba-password
In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.

install_driver(Pg) failed: Can’t locate DBD/Pg.pm in @INC (@INC
contains: /usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 190) line 3, line 1.
Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root@SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

cpan DBD::Pg

Better, for Ubuntu or Debian, to use the distribution package:

] apt-get install libdbd-pg-perl

Regards,
Daniel


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

In order to create or update your RT database,this script needs to
connect to your Pg instance on localhost as rtuser.
Please specify that user’s database password below. If the user has no
database
password, just press return.
install_driver(Pg) failed: Can’t locate DBD/Pg.pm in INC ( INC

Perhaps the DBD::Pg perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘Pg’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /usr/sbin/rt-setup-database-3.4 line 132
root SCSI:/home/gr # locate Pg.pm
/usr/share/perl5/DBIx/SearchBuilder/Handle/Pg.pm

Hi Gilberto,

Check you RT config file, make sure your database type is
mysql. I had this error message as well.

cheers,
andy