[rt-users] rt206 make install fails to connect to Pg

Jesse Vincent jesse at bestpractical.com
Wed Sep 12 17:03:13 EDT 2001


I seem to recall that DBD::Pg doesn't work with Unix Domain sockets and that you _must_ use TCP.  But I could be out of date or just plain wrong.
(Note that I'd be happy to be proven wrong ;)
	-j

On Wed, Sep 12, 2001 at 08:44:28PM +0000, hsinclai at speakeasy.net wrote:
> On Wed, 12 Sep 2001 16:16:41 -0400, Vivek Khera <khera at kcilink.com> wrote:
> > >>>>> "HS" == Harold Sinclair <hsinclai at andalus.speakeasy.net> writes:
> > HS> Creating Pg database rt2.  DBI-> connect(dbname=template1;host=localhost) failed: PQconnectPoll() -- connect() failed: Connection refused at /usr/lib/perl5/site_perl/5.6.0/DBIx/DataSource/Driver.pm line 74
> > HS> PQconnectPoll() -- connect() failed: Connection refused at /usr/lib/perl5/site_perl/5.6.0/DBIx/DataSource/Driver.pm line 74, <STDIN> line 1.
> > 
> > What does your Pg error log say after you run this?
> 
> Unfortunately, nothing. It's empty leading me to believe that I am not even touching Pg with the DBI connect. Pg is local (Unix domain sockets) and not TCP/IP. Could this have something to do with hostname resolution?
> I have duplicated the error exactly on 2 separate Linux test systems. One is "properly" in DNS, and the other is not in DNS so the hostname returned varies depending on the asking mechanism. I don't think it's a DNS problem but I can't fully rule it out. Again, thanks for your further help.
> 
> PS- I tried changing the initdb code so that 'host=' is not included in the connect string, to no avail.
> 
> 
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list