[rt-users] Re: Installin RT on Ubuntu

Gilberto Ribeiro gilbertoribeiro at netcabo.pt
Wed Nov 30 21:15:11 EST 2005


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

root at 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 Ribeiro

On Thu, 2005-12-01 at 11:14 +1100, Daniel Pittman wrote:

> Jesse Vincent <jesse at 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, <STDIN> 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 at 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
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051201/b358895b/attachment.htm>


More information about the rt-users mailing list