Hi Folks!
Johann was going to be our "Bugzilla-Boy", but at the moment Johann is
tied up with "real life" issues. I decided to set up Bugzilla
here... easier said than done, unfortunately. :-(
I'm having some troubles getting it running and I need some help.
If you are familiar with Bugzilla _and_ PostgreSQL _and_ Perl, please
let me know. SXEmacs needs you!
We are using RedCrap's Bugzilla that has been modified to work with
PostgreSQL. There is a perl script "pgsetup.pl" that is supposed to
set everything up. I can't get this script to do its thing
correctly.
I'm getting a "connection refused" error when it tries to set up the
db stuff...
Here is the output I'm getting from that script:
------------------------------------------------------
Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.56
Checking for CGI::Carp (any) ok: found v1.28
Checking for Data::Dumper (any) ok: found v2.121
Checking for Date::Parse (any) ok: found v2.27
Checking for DBI (v1.13) ok: found v1.46
Checking for DBD::Pg (v1.01) ok: found v1.32
Checking for File::Spec (v0.82) ok: found v3.01
Checking for Template (v2.07) ok: found v2.14
Checking for Text::Wrap (v2001.0131) ok: found v2001.0929
The following Perl modules are optional:
Checking for GD (v1.19) ok: found v2.19
Checking for Chart::Base (v0.99) ok: found v2.3
Checking for XML::Parser (any) ok: found v2.34
Checking user setup ...
Precompiling templates ...
DBI connect('dbname=sxe_issues;host=localhost','steve',...) failed: could not
connect to server: Connection refused at pgsetup.pl line 1232
[Wed Jan 5 16:15:48 2005] pgsetup.pl: Can't connect to the Pg database. Is the
database installed and
[Wed Jan 5 16:15:48 2005] pgsetup.pl: up and running? Do you have the correct
username and password selected in
[Wed Jan 5 16:15:48 2005] pgsetup.pl: localconfig?
[Wed Jan 5 16:15:48 2005] pgsetup.pl:
Content-type: text/html
<h1>Software error:</h1>
<pre>Can't connect to the Pg database. Is the database installed and
up and running? Do you have the correct username and password selected in
localconfig?
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
</p>
-----------------------------------------------------
,----[ pgsetup.pl (line 1232 is the 2nd line here)]
| my $dsn = "DBI:$db_base:dbname=$my_db_name;host=$my_db_host";
| my $dbh = DBI->connect($dsn, $my_db_user, $my_db_pass)
| or die "Can't connect to the $db_base database. Is the database " .
| "installed and\nup and running? Do you have the correct username " .
| "and password selected in\nlocalconfig?\n\n";
`----
And yes, I do have the correct values in localconfig.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| In space, |
| No one can hear you rip a stinky |
|------------------------------------<steve@xxxxxxxxxxx>---|
pgpwa71MOxnbZ.pgp
Description: PGP signature
|